Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/ !
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()
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);
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-6.1.9/drivers/staging/rtl8723bs/include/ !
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-6.1.9/drivers/md/ !
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()
Ddm-cache-background-tracker.h33 struct policy_work **pwork);
/linux-6.1.9/drivers/infiniband/ulp/ipoib/ !
Dipoib_vlan.c227 struct ipoib_vlan_delete_work *pwork = in ipoib_vlan_delete_task() local
229 struct net_device *dev = pwork->dev; in ipoib_vlan_delete_task()
244 kfree(pwork); in ipoib_vlan_delete_task()
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/ !
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()
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-6.1.9/drivers/spi/ !
Dspi-topcliff-pch.c1103 static void pch_spi_process_messages(struct work_struct *pwork) in pch_spi_process_messages() argument
1109 data = container_of(pwork, struct pch_spi_data, work); in pch_spi_process_messages()