Home
last modified time | relevance | path

Searched refs:wrk (Results 1 – 25 of 27) sorted by relevance

12

/OK3568_Linux_fs/kernel/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->event.type) { in smc_ism_event_work()
273 smc_smcd_terminate(wrk->smcd, wrk->event.tok, VLAN_VID_MASK); in smc_ism_event_work()
278 smcd_handle_sw_event(wrk); in smc_ism_event_work()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dfastmap-wl.c15 static void update_fastmap_work_fn(struct work_struct *wrk) in update_fastmap_work_fn() argument
21 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn()
292 struct ubi_work *wrk; in ubi_ensure_anchor_pebs() local
302 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
303 if (!wrk) { in ubi_ensure_anchor_pebs()
310 wrk->anchor = 1; in ubi_ensure_anchor_pebs()
311 wrk->func = &wear_leveling_worker; in ubi_ensure_anchor_pebs()
312 schedule_ubi_work(ubi, wrk); in ubi_ensure_anchor_pebs()
360 int ubi_is_erase_work(struct ubi_work *wrk) in ubi_is_erase_work() argument
362 return wrk->func == erase_worker; in ubi_is_erase_work()
H A Dwl.c197 struct ubi_work *wrk; in do_work() local
215 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
216 list_del(&wrk->list); in do_work()
226 err = wrk->func(ubi, wrk, 0); in do_work()
562 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work() argument
565 list_add_tail(&wrk->list, &ubi->works); in __schedule_ubi_work()
583 static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in schedule_ubi_work() argument
586 __schedule_ubi_work(ubi, wrk); in schedule_ubi_work()
671 static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk, argument
677 int anchor = wrk->anchor;
[all …]
H A Dwl.h6 static void update_fastmap_work_fn(struct work_struct *wrk);
H A Dubi.h766 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown);
878 int ubi_is_erase_work(struct ubi_work *wrk);
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dfastmap-wl.c12 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()
310 struct ubi_work *wrk; in ubi_ensure_anchor_pebs() local
338 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
339 if (!wrk) { in ubi_ensure_anchor_pebs()
346 wrk->func = &wear_leveling_worker; in ubi_ensure_anchor_pebs()
347 __schedule_ubi_work(ubi, wrk); in ubi_ensure_anchor_pebs()
395 int ubi_is_erase_work(struct ubi_work *wrk) in ubi_is_erase_work() argument
397 return wrk->func == erase_worker; in ubi_is_erase_work()
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()
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()
561 static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in schedule_ubi_work() argument
564 __schedule_ubi_work(ubi, wrk); in schedule_ubi_work()
646 static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk, argument
656 kfree(wrk);
[all …]
H A Dwl.h5 static void update_fastmap_work_fn(struct work_struct *wrk);
H A Dubi.h805 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown);
918 int ubi_is_erase_work(struct ubi_work *wrk);
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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->host, 0, wrk->tgt_id, wrk->lun); in storvsc_remove_lun()
566 scsi_host_put(wrk->host); in storvsc_remove_lun()
569 kfree(wrk); in storvsc_remove_lun()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
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()
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_sw_fence.c454 static void irq_i915_sw_fence_work(struct irq_work *wrk) in irq_i915_sw_fence_work() argument
457 container_of(wrk, typeof(*cb), work); in irq_i915_sw_fence_work()
H A Di915_active.c183 active_work(struct work_struct *wrk) in active_work() argument
185 struct i915_active *ref = container_of(wrk, typeof(*ref), work); in active_work()
/OK3568_Linux_fs/kernel/arch/m68k/ifpsp060/
H A DMISC194 wrk/fskeleton.s: 2.2
195 wrk/iskeleton.s: 2.2
196 wrk/os.s : 2.1
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 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()
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()
/OK3568_Linux_fs/kernel/drivers/pci/controller/
H A Dpci-hyperv.c499 struct work_struct wrk; member
540 struct work_struct wrk; member
2123 dr_wrk = container_of(work, struct hv_dr_work, wrk); in pci_devices_present_work()
2258 INIT_WORK(&dr_wrk->wrk, pci_devices_present_work); in hv_pci_start_relations_work()
2275 queue_work(hbus->wq, &dr_wrk->wrk); in hv_pci_start_relations_work()
2378 hpdev = container_of(work, struct hv_pci_dev, wrk); in hv_eject_device_work()
2443 INIT_WORK(&hpdev->wrk, hv_eject_device_work); in hv_pci_eject_device()
2445 queue_work(hbus->wq, &hpdev->wrk); in hv_pci_eject_device()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c887 struct refill_work *wrk; in otx2_pool_refill_task() local
892 wrk = container_of(work, struct refill_work, pool_refill_work.work); in otx2_pool_refill_task()
893 pfvf = wrk->pf; in otx2_pool_refill_task()
894 qidx = wrk - pfvf->refill_wrk; in otx2_pool_refill_task()
908 dwork = &wrk->pool_refill_work; in otx2_pool_refill_task()
H A Dotx2_pf.c1626 int qidx, vec, wrk; in otx2_stop() local
1675 for (wrk = 0; wrk < pf->qset.cq_cnt; wrk++) in otx2_stop()
1676 cancel_delayed_work_sync(&pf->refill_wrk[wrk].pool_refill_work); in otx2_stop()
/OK3568_Linux_fs/kernel/kernel/power/
H A Dswap.c638 unsigned char wrk[LZO1X_1_MEM_COMPRESS]; /* compression workspace */ member
662 d->wrk); in lzo_compress_threadfn()

12