Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
90 struct xfs_pwork *pwork) in xfs_pwork_queue() argument
92 INIT_WORK(&pwork->work, xfs_pwork_work); in xfs_pwork_queue()
93 pwork->pctl = pctl; in xfs_pwork_queue()
95 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()
56 void xfs_pwork_queue(struct xfs_pwork_ctl *pctl, struct xfs_pwork *pwork);
Dxfs_iwalk.c50 struct xfs_pwork pwork; member
192 if (xfs_pwork_want_abort(&iwag->pwork)) in xfs_iwalk_ag_recs()
206 if (xfs_pwork_want_abort(&iwag->pwork)) in xfs_iwalk_ag_recs()
410 if (xfs_pwork_want_abort(&iwag->pwork)) in xfs_iwalk_ag()
555 .pwork = XFS_PWORK_SINGLE_THREADED, in xfs_iwalk()
585 struct xfs_pwork *pwork) in xfs_iwalk_ag_work() argument
590 iwag = container_of(pwork, struct xfs_iwalk_ag, pwork); in xfs_iwalk_ag_work()
591 if (xfs_pwork_want_abort(pwork)) in xfs_iwalk_ag_work()
646 xfs_pwork_queue(&pctl, &iwag->pwork); in xfs_iwalk_threaded()
718 .pwork = XFS_PWORK_SINGLE_THREADED, in xfs_inobt_walk()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dosdep_service_linux.h86 static inline void _init_workitem(_workitem *pwork, void *pfunc, void *cntx) in _init_workitem() argument
88 INIT_WORK(pwork, pfunc); in _init_workitem()
91 static inline void _set_workitem(_workitem *pwork) in _set_workitem() argument
93 schedule_work(pwork); in _set_workitem()
96 static inline void _cancel_workitem_sync(_workitem *pwork) in _cancel_workitem_sync() argument
98 cancel_work_sync(pwork); in _cancel_workitem_sync()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c723 struct delayed_work *pwork; in il3945_hdl_alive() local
734 pwork = &il->init_alive_start; in il3945_hdl_alive()
739 pwork = &il->alive_start; in il3945_hdl_alive()
746 queue_delayed_work(il->workqueue, pwork, msecs_to_jiffies(5)); in il3945_hdl_alive()
D4965-mac.c4015 struct delayed_work *pwork; in il4965_hdl_alive() local
4026 pwork = &il->init_alive_start; in il4965_hdl_alive()
4031 pwork = &il->alive_start; in il4965_hdl_alive()
4037 queue_delayed_work(il->workqueue, pwork, msecs_to_jiffies(5)); in il4965_hdl_alive()
/kernel/linux/linux-5.10/drivers/spi/
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()