Lines Matching refs:pwork
23 * task across multiple CPUs. Callers initialize the pwork control object with
26 * worker thread and queue that pwork. The work function will be passed the
27 * pwork item when it is run (from process context) and any returned error will
41 struct xfs_pwork *pwork;
45 pwork = container_of(work, struct xfs_pwork, work);
46 pctl = pwork->pctl;
47 error = pctl->work_fn(pctl->mp, pwork);
92 struct xfs_pwork *pwork)
94 INIT_WORK(&pwork->work, xfs_pwork_work);
95 pwork->pctl = pctl;
97 queue_work(pctl->wq, &pwork->work);