cregit-Linux how code gets into the kernel

Release 4.11 drivers/edac/wq.c

Directory: drivers/edac
#include "edac_module.h"


static struct workqueue_struct *wq;


bool edac_queue_work(struct delayed_work *work, unsigned long delay) { return queue_delayed_work(wq, work, delay); }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov24100.00%1100.00%
Total24100.00%1100.00%

EXPORT_SYMBOL_GPL(edac_queue_work);
bool edac_mod_work(struct delayed_work *work, unsigned long delay) { return mod_delayed_work(wq, work, delay); }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov24100.00%1100.00%
Total24100.00%1100.00%

EXPORT_SYMBOL_GPL(edac_mod_work);
bool edac_stop_work(struct delayed_work *work) { bool ret; ret = cancel_delayed_work_sync(work); flush_workqueue(wq); return ret; }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov28100.00%1100.00%
Total28100.00%1100.00%

EXPORT_SYMBOL_GPL(edac_stop_work);
int edac_workqueue_setup(void) { wq = alloc_ordered_workqueue("edac-poller", WQ_MEM_RECLAIM); if (!wq) return -ENODEV; else return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov2689.66%150.00%
Bhaktipriya Shridhar310.34%150.00%
Total29100.00%2100.00%


void edac_workqueue_teardown(void) { flush_workqueue(wq); destroy_workqueue(wq); wq = NULL; }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov21100.00%1100.00%
Total21100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov14798.00%150.00%
Bhaktipriya Shridhar32.00%150.00%
Total150100.00%2100.00%
Directory: drivers/edac
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.