Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H 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()
H 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);
H 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()
679 xfs_pwork_queue(&pctl, &iwag->pwork); in xfs_iwalk_threaded()
752 .pwork = XFS_PWORK_SINGLE_THREADED, in xfs_inobt_walk()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H 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()
/openbmc/linux/drivers/md/
H A Ddm-cache-background-tracker.c188 struct policy_work **pwork) in btracker_queue() argument
192 if (pwork) in btracker_queue()
193 *pwork = NULL; in btracker_queue()
210 if (pwork) { in btracker_queue()
211 *pwork = &w->work; in btracker_queue()
H A Ddm-cache-background-tracker.h59 struct policy_work **pwork);
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c231 struct ipoib_vlan_delete_work *pwork = in ipoib_vlan_delete_task() local
233 struct net_device *dev = pwork->dev; in ipoib_vlan_delete_task()
248 kfree(pwork); in ipoib_vlan_delete_task()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H 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()
H 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()
/openbmc/linux/drivers/spi/
H A 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()