Searched refs:pwork (Results 1 - 10 of 10) sorted by relevance

/linux-master/fs/xfs/
H A Dxfs_pwork.c23 * 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; local
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
90 xfs_pwork_queue( struct xfs_pwork_ctl *pctl, struct xfs_pwork *pwork) argument
[all...]
H A Dxfs_pwork.h12 typedef int (*xfs_pwork_work_fn)(struct xfs_mount *mp, struct xfs_pwork *pwork);
48 struct xfs_pwork *pwork)
50 return xfs_pwork_ctl_want_abort(pwork->pctl);
55 void xfs_pwork_queue(struct xfs_pwork_ctl *pctl, struct xfs_pwork *pwork);
47 xfs_pwork_want_abort( struct xfs_pwork *pwork) argument
H A Dxfs_iwalk.c52 struct xfs_pwork pwork; member in struct:xfs_iwalk_ag
189 if (xfs_pwork_want_abort(&iwag->pwork))
203 if (xfs_pwork_want_abort(&iwag->pwork))
419 if (xfs_pwork_want_abort(&iwag->pwork))
564 .pwork = XFS_PWORK_SINGLE_THREADED,
599 struct xfs_pwork *pwork)
604 iwag = container_of(pwork, struct xfs_iwalk_ag, pwork);
605 if (xfs_pwork_want_abort(pwork))
676 xfs_pwork_queue(&pctl, &iwag->pwork);
597 xfs_iwalk_ag_work( struct xfs_mount *mp, struct xfs_pwork *pwork) argument
[all...]
/linux-master/drivers/staging/rtl8723bs/include/
H A Dosdep_service_linux.h63 static inline void _init_workitem(struct work_struct *pwork, void *pfunc, void *cntx) argument
65 INIT_WORK(pwork, pfunc);
68 static inline void _set_workitem(struct work_struct *pwork) argument
70 schedule_work(pwork);
73 static inline void _cancel_workitem_sync(struct work_struct *pwork) argument
75 cancel_work_sync(pwork);
/linux-master/drivers/md/
H A Ddm-cache-background-tracker.h50 * to queue, this will be copied (ownership doesn't pass). If pwork
59 struct policy_work **pwork);
H A Ddm-cache-background-tracker.c188 struct policy_work **pwork)
192 if (pwork)
193 *pwork = NULL;
210 if (pwork) {
211 *pwork = &w->work;
186 btracker_queue(struct background_tracker *b, struct policy_work *work, struct policy_work **pwork) argument
/linux-master/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c227 struct ipoib_vlan_delete_work *pwork = local
229 struct net_device *dev = pwork->dev;
244 kfree(pwork);
/linux-master/drivers/spi/
H A Dspi-topcliff-pch.c1103 static void pch_spi_process_messages(struct work_struct *pwork) argument
1109 data = container_of(pwork, struct pch_spi_data, work);
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A D3945-mac.c721 struct delayed_work *pwork; local
732 pwork = &il->init_alive_start;
737 pwork = &il->alive_start;
744 queue_delayed_work(il->workqueue, pwork, msecs_to_jiffies(5));
H A D4965-mac.c4014 struct delayed_work *pwork; local
4025 pwork = &il->init_alive_start;
4030 pwork = &il->alive_start;
4036 queue_delayed_work(il->workqueue, pwork, msecs_to_jiffies(5));

Completed in 221 milliseconds