Home
last modified time | relevance | path

Searched refs:wrk (Results 1 - 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/net/smc/
H A Dsmc_ism.c225 static void smcd_handle_sw_event(struct smc_ism_event_work *wrk) in smcd_handle_sw_event() argument
229 ev_info.info = wrk->event.info; in smcd_handle_sw_event()
230 switch (wrk->event.code) { in smcd_handle_sw_event()
232 smc_smcd_terminate(wrk->smcd, wrk->event.tok, ev_info.vlan_id); in smcd_handle_sw_event()
237 wrk->smcd->ops->signal_event(wrk->smcd, in smcd_handle_sw_event()
238 wrk->event.tok, in smcd_handle_sw_event()
268 struct smc_ism_event_work *wrk = in smc_ism_event_work() local
271 switch (wrk in smc_ism_event_work()
401 struct smc_ism_event_work *wrk; smcd_handle_event() local
[all...]
/kernel/linux/linux-6.6/net/smc/
H A Dsmc_ism.c341 static void smcd_handle_sw_event(struct smc_ism_event_work *wrk) in smcd_handle_sw_event() argument
345 ev_info.info = wrk->event.info; in smcd_handle_sw_event()
346 switch (wrk->event.code) { in smcd_handle_sw_event()
348 smc_smcd_terminate(wrk->smcd, wrk->event.tok, ev_info.vlan_id); in smcd_handle_sw_event()
353 wrk->smcd->ops->signal_event(wrk->smcd, in smcd_handle_sw_event()
354 wrk->event.tok, in smcd_handle_sw_event()
366 struct smc_ism_event_work *wrk = in smc_ism_event_work() local
369 switch (wrk in smc_ism_event_work()
480 struct smc_ism_event_work *wrk; smcd_handle_event() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dfastmap-wl.c10 * @wrk: the work description object
12 static void update_fastmap_work_fn(struct work_struct *wrk) in update_fastmap_work_fn() argument
14 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn()
312 struct ubi_work *wrk; in ubi_ensure_anchor_pebs() local
340 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
341 if (!wrk) { in ubi_ensure_anchor_pebs()
348 wrk->func = &wear_leveling_worker; in ubi_ensure_anchor_pebs()
349 __schedule_ubi_work(ubi, wrk); in ubi_ensure_anchor_pebs()
395 * @wrk: The work object to be checked
397 int ubi_is_erase_work(struct ubi_work *wrk) in ubi_is_erase_work() argument
[all...]
H A Dwl.c191 struct ubi_work *wrk; in do_work() local
209 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
210 list_del(&wrk->list); in do_work()
220 err = wrk->func(ubi, wrk, 0); in do_work()
537 * @wrk: the work to schedule
539 * This function adds a work defined by @wrk to the tail of the pending works
542 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work() argument
545 list_add_tail(&wrk->list, &ubi->works); in __schedule_ubi_work()
556 * @wrk
561 schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) schedule_ubi_work() argument
647 wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown) global() argument
1011 struct ubi_work *wrk; global() local
1420 struct ubi_work *wrk, *tmp; global() local
1712 struct ubi_work *wrk; global() local
[all...]
H A Dwl.h5 static void update_fastmap_work_fn(struct work_struct *wrk);
/kernel/linux/linux-5.10/net/core/
H A Dlink_watch.c178 LIST_HEAD(wrk); in __linkwatch_run_queue()
200 list_splice_init(&lweventlist, &wrk); in __linkwatch_run_queue()
202 while (!list_empty(&wrk) && do_dev > 0) { in __linkwatch_run_queue()
204 dev = list_first_entry(&wrk, struct net_device, link_watch_list); in __linkwatch_run_queue()
219 list_splice_init(&wrk, &lweventlist); in __linkwatch_run_queue()
/kernel/linux/linux-6.6/net/core/
H A Dlink_watch.c196 LIST_HEAD(wrk); in __linkwatch_run_queue()
218 list_splice_init(&lweventlist, &wrk); in __linkwatch_run_queue()
220 while (!list_empty(&wrk) && do_dev > 0) { in __linkwatch_run_queue()
222 dev = list_first_entry(&wrk, struct net_device, link_watch_list); in __linkwatch_run_queue()
241 list_splice_init(&wrk, &lweventlist); in __linkwatch_run_queue()
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dfastmap-wl.c10 * @wrk: the work description object
12 static void update_fastmap_work_fn(struct work_struct *wrk) in update_fastmap_work_fn() argument
14 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn()
364 struct ubi_work *wrk; in ubi_ensure_anchor_pebs() local
392 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
393 if (!wrk) { in ubi_ensure_anchor_pebs()
400 wrk->func = &wear_leveling_worker; in ubi_ensure_anchor_pebs()
401 __schedule_ubi_work(ubi, wrk); in ubi_ensure_anchor_pebs()
447 * @wrk: The work object to be checked
449 int ubi_is_erase_work(struct ubi_work *wrk) in ubi_is_erase_work() argument
[all...]
H A Dwl.c191 struct ubi_work *wrk; in do_work() local
209 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
210 list_del(&wrk->list); in do_work()
220 err = wrk->func(ubi, wrk, 0); in do_work()
537 * @wrk: the work to schedule
539 * This function adds a work defined by @wrk to the tail of the pending works
542 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work() argument
545 list_add_tail(&wrk->list, &ubi->works); in __schedule_ubi_work()
556 * @wrk
561 schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) schedule_ubi_work() argument
647 wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown) global() argument
[all...]
H A Dwl.h5 static void update_fastmap_work_fn(struct work_struct *wrk);
/kernel/linux/linux-5.10/drivers/scsi/
H A Dstorvsc_drv.c507 struct storvsc_scan_work *wrk; in storvsc_device_scan() local
510 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan()
512 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); in storvsc_device_scan()
519 kfree(wrk); in storvsc_device_scan()
553 struct storvsc_scan_work *wrk; in storvsc_remove_lun() local
556 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun()
557 if (!scsi_host_get(wrk->host)) in storvsc_remove_lun()
560 sdev = scsi_device_lookup(wrk in storvsc_remove_lun()
999 struct storvsc_scan_work *wrk; storvsc_handle_error() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dstorvsc_drv.c471 struct storvsc_scan_work *wrk; in storvsc_device_scan() local
474 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan()
476 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); in storvsc_device_scan()
483 kfree(wrk); in storvsc_device_scan()
517 struct storvsc_scan_work *wrk; in storvsc_remove_lun() local
520 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun()
521 if (!scsi_host_get(wrk->host)) in storvsc_remove_lun()
524 sdev = scsi_device_lookup(wrk in storvsc_remove_lun()
979 struct storvsc_scan_work *wrk; storvsc_handle_error() local
[all...]
/kernel/linux/linux-5.10/drivers/hv/
H A Dhv_balloon.c452 struct work_struct wrk; member
458 struct work_struct wrk; member
1513 schedule_work(&dm_device.balloon_wrk.wrk); in balloon_onchannelcallback()
1553 schedule_work(&dm_device.ha_wrk.wrk); in balloon_onchannelcallback()
1697 INIT_WORK(&dm_device.balloon_wrk.wrk, balloon_up); in balloon_probe()
1698 INIT_WORK(&dm_device.ha_wrk.wrk, hot_add_req); in balloon_probe()
1745 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_remove()
1746 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_remove()
1774 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_suspend()
1775 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_suspend()
[all...]
/kernel/linux/linux-6.6/drivers/hv/
H A Dhv_balloon.c456 struct work_struct wrk; member
462 struct work_struct wrk; member
1557 schedule_work(&dm_device.balloon_wrk.wrk); in balloon_onchannelcallback()
1597 schedule_work(&dm_device.ha_wrk.wrk); in balloon_onchannelcallback()
1998 INIT_WORK(&dm_device.balloon_wrk.wrk, balloon_up); in balloon_probe()
1999 INIT_WORK(&dm_device.ha_wrk.wrk, hot_add_req); in balloon_probe()
2052 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_remove()
2053 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_remove()
2088 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_suspend()
2089 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_suspend()
[all...]
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-fence-array.c45 static void irq_dma_fence_array_work(struct irq_work *wrk) in irq_dma_fence_array_work() argument
47 struct dma_fence_array *array = container_of(wrk, typeof(*array), work); in irq_dma_fence_array_work()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Dintel_wakeref.c85 static void __intel_wakeref_put_work(struct work_struct *wrk) in __intel_wakeref_put_work() argument
87 struct intel_wakeref *wf = container_of(wrk, typeof(*wf), work.work); in __intel_wakeref_put_work()
H A Di915_request.c171 static void irq_execute_cb(struct irq_work *wrk) in irq_execute_cb() argument
173 struct execute_cb *cb = container_of(wrk, typeof(*cb), work); in irq_execute_cb()
179 static void irq_execute_cb_hook(struct irq_work *wrk) in irq_execute_cb_hook() argument
181 struct execute_cb *cb = container_of(wrk, typeof(*cb), work); in irq_execute_cb_hook()
187 irq_execute_cb(wrk); in irq_execute_cb_hook()
191 __notify_execute_cb(struct i915_request *rq, bool (*fn)(struct irq_work *wrk)) in __notify_execute_cb() argument
209 static bool irq_work_imm(struct irq_work *wrk) in irq_work_imm() argument
211 wrk->func(wrk); in irq_work_imm()
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Ddma-fence-array.c45 static void irq_dma_fence_array_work(struct irq_work *wrk) in irq_dma_fence_array_work() argument
47 struct dma_fence_array *array = container_of(wrk, typeof(*array), work); in irq_dma_fence_array_work()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Dintel_wakeref.c86 static void __intel_wakeref_put_work(struct work_struct *wrk) in __intel_wakeref_put_work() argument
88 struct intel_wakeref *wf = container_of(wrk, typeof(*wf), work.work); in __intel_wakeref_put_work()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c91 static void pool_free_work(struct work_struct *wrk) in pool_free_work() argument
94 container_of(wrk, typeof(*pool), work.work); in pool_free_work()
H A Dintel_engine_heartbeat.c59 static void heartbeat(struct work_struct *wrk) in heartbeat() argument
65 container_of(wrk, typeof(*engine), heartbeat.work.work); in heartbeat()
H A Dselftest_rps.c24 static void dummy_rps_work(struct work_struct *wrk) in dummy_rps_work() argument
216 void (*saved_work)(struct work_struct *wrk); in live_rps_clock_interval()
368 void (*saved_work)(struct work_struct *wrk); in live_rps_control()
597 void (*saved_work)(struct work_struct *wrk); in live_rps_frequency_cs()
738 void (*saved_work)(struct work_struct *wrk); in live_rps_frequency_srm()
1020 void (*saved_work)(struct work_struct *wrk); in live_rps_interrupt()
1124 void (*saved_work)(struct work_struct *wrk); in live_rps_power()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c87 static void pool_free_work(struct work_struct *wrk) in pool_free_work() argument
90 container_of(wrk, typeof(*pool), work.work); in pool_free_work()
H A Dselftest_rps.c28 static void dummy_rps_work(struct work_struct *wrk) in dummy_rps_work() argument
223 void (*saved_work)(struct work_struct *wrk); in live_rps_clock_interval()
375 void (*saved_work)(struct work_struct *wrk); in live_rps_control()
603 void (*saved_work)(struct work_struct *wrk); in live_rps_frequency_cs()
742 void (*saved_work)(struct work_struct *wrk); in live_rps_frequency_srm()
1022 void (*saved_work)(struct work_struct *wrk); in live_rps_interrupt()
1132 void (*saved_work)(struct work_struct *wrk); in live_rps_power()
H A Dintel_engine_heartbeat.c135 static void heartbeat(struct work_struct *wrk) in heartbeat() argument
139 container_of(wrk, typeof(*engine), heartbeat.work.work); in heartbeat()

Completed in 23 milliseconds

12