Lines Matching defs:work
24 * a desired level of parallelization and a work function. Next, they embed
25 * struct xfs_pwork in whatever structure they use to pass work context to a
26 * worker thread and queue that pwork. The work function will be passed the
39 struct work_struct *work)
45 pwork = container_of(work, struct xfs_pwork, work);
55 * Set up control data for parallel work. @work_fn is the function that will
86 /* Queue some parallel work. */
92 INIT_WORK(&pwork->work, xfs_pwork_work);
95 queue_work(pctl->wq, &pwork->work);
98 /* Wait for the work to finish and tear down the control structure. */
109 * Wait for the work to finish by polling completion status and touch the soft