Home
last modified time | relevance | path

Searched refs:pwork (Results 1 – 11 of 11) sorted by relevance

/linux/fs/xfs/
A Dxfs_pwork.c41 struct xfs_pwork *pwork; in xfs_pwork_work() local
45 pwork = container_of(work, struct xfs_pwork, work); in xfs_pwork_work()
46 pctl = pwork->pctl; in xfs_pwork_work()
47 error = pctl->work_fn(pctl->mp, pwork); in xfs_pwork_work()
92 struct xfs_pwork *pwork) in xfs_pwork_queue() argument
94 INIT_WORK(&pwork->work, xfs_pwork_work); in xfs_pwork_queue()
95 pwork->pctl = pctl; in xfs_pwork_queue()
97 queue_work(pctl->wq, &pwork->work); in xfs_pwork_queue()
A Dxfs_pwork.h12 typedef int (*xfs_pwork_work_fn)(struct xfs_mount *mp, struct xfs_pwork *pwork);
48 struct xfs_pwork *pwork) in xfs_pwork_want_abort() argument
50 return xfs_pwork_ctl_want_abort(pwork->pctl); in xfs_pwork_want_abort()
55 void xfs_pwork_queue(struct xfs_pwork_ctl *pctl, struct xfs_pwork *pwork);
A Dxfs_iwalk.c51 struct xfs_pwork pwork; member
196 if (xfs_pwork_want_abort(&iwag->pwork)) in xfs_iwalk_ag_recs()
210 if (xfs_pwork_want_abort(&iwag->pwork)) in xfs_iwalk_ag_recs()
424 if (xfs_pwork_want_abort(&iwag->pwork)) in xfs_iwalk_ag()
568 .pwork = XFS_PWORK_SINGLE_THREADED, in xfs_iwalk()
603 struct xfs_pwork *pwork) in xfs_iwalk_ag_work() argument
608 iwag = container_of(pwork, struct xfs_iwalk_ag, pwork); in xfs_iwalk_ag_work()
609 if (xfs_pwork_want_abort(pwork)) in xfs_iwalk_ag_work()
680 xfs_pwork_queue(&pctl, &iwag->pwork); in xfs_iwalk_threaded()
753 .pwork = XFS_PWORK_SINGLE_THREADED, in xfs_inobt_walk()
/linux/drivers/staging/rtl8723bs/include/
A Dosdep_service_linux.h63 static inline void _init_workitem(struct work_struct *pwork, void *pfunc, void *cntx) in _init_workitem() argument
65 INIT_WORK(pwork, pfunc); in _init_workitem()
68 static inline void _set_workitem(struct work_struct *pwork) in _set_workitem() argument
70 schedule_work(pwork); in _set_workitem()
73 static inline void _cancel_workitem_sync(struct work_struct *pwork) in _cancel_workitem_sync() argument
75 cancel_work_sync(pwork); in _cancel_workitem_sync()
/linux/drivers/staging/r8188eu/include/
A Dosdep_service.h77 static inline void _init_workitem(struct work_struct *pwork, void *pfunc, void * cntx) in _init_workitem() argument
79 INIT_WORK(pwork, pfunc); in _init_workitem()
82 static inline void _set_workitem(struct work_struct *pwork) in _set_workitem() argument
84 schedule_work(pwork); in _set_workitem()
87 static inline void _cancel_workitem_sync(struct work_struct *pwork) in _cancel_workitem_sync() argument
89 cancel_work_sync(pwork); in _cancel_workitem_sync()
/linux/drivers/md/
A Ddm-cache-background-tracker.c179 struct policy_work **pwork) in btracker_queue() argument
183 if (pwork) in btracker_queue()
184 *pwork = NULL; in btracker_queue()
201 if (pwork) { in btracker_queue()
202 *pwork = &w->work; in btracker_queue()
A Ddm-cache-background-tracker.h33 struct policy_work **pwork);
/linux/drivers/infiniband/ulp/ipoib/
A Dipoib_vlan.c228 struct ipoib_vlan_delete_work *pwork = in ipoib_vlan_delete_task() local
230 struct net_device *dev = pwork->dev; in ipoib_vlan_delete_task()
245 kfree(pwork); in ipoib_vlan_delete_task()
/linux/drivers/net/wireless/intel/iwlegacy/
A D3945-mac.c721 struct delayed_work *pwork; in il3945_hdl_alive() local
732 pwork = &il->init_alive_start; in il3945_hdl_alive()
737 pwork = &il->alive_start; in il3945_hdl_alive()
744 queue_delayed_work(il->workqueue, pwork, msecs_to_jiffies(5)); in il3945_hdl_alive()
A D4965-mac.c4014 struct delayed_work *pwork; in il4965_hdl_alive() local
4025 pwork = &il->init_alive_start; in il4965_hdl_alive()
4030 pwork = &il->alive_start; in il4965_hdl_alive()
4036 queue_delayed_work(il->workqueue, pwork, msecs_to_jiffies(5)); in il4965_hdl_alive()
/linux/drivers/spi/
A Dspi-topcliff-pch.c1125 static void pch_spi_process_messages(struct work_struct *pwork) in pch_spi_process_messages() argument
1131 data = container_of(pwork, struct pch_spi_data, work); in pch_spi_process_messages()

Completed in 30 milliseconds