/Linux-v4.19/net/smc/ |
D | smc_ism.c | 192 static void smcd_handle_sw_event(struct smc_ism_event_work *wrk) in smcd_handle_sw_event() argument 203 switch (wrk->event.code) { in smcd_handle_sw_event() 205 ev_info.info = wrk->event.info; in smcd_handle_sw_event() 208 wrk->smcd->ops->signal_event(wrk->smcd, in smcd_handle_sw_event() 209 wrk->event.tok, in smcd_handle_sw_event() 221 struct smc_ism_event_work *wrk = in smc_ism_event_work() local 224 switch (wrk->event.type) { in smc_ism_event_work() 226 smc_smcd_terminate(wrk->smcd, wrk->event.tok); in smc_ism_event_work() 231 smcd_handle_sw_event(wrk); in smc_ism_event_work() 234 kfree(wrk); in smc_ism_event_work() [all …]
|
D | smc_llc.c | 365 struct smc_llc_send_work *wrk = kmalloc(sizeof(*wrk), GFP_ATOMIC); in smc_llc_send_message() local 367 if (!wrk) in smc_llc_send_message() 369 INIT_WORK(&wrk->work, smc_llc_send_message_work); in smc_llc_send_message() 370 wrk->link = link; in smc_llc_send_message() 371 wrk->llclen = llclen; in smc_llc_send_message() 372 memcpy(&wrk->llcbuf, llcbuf, llclen); in smc_llc_send_message() 373 queue_work(link->llc_wq, &wrk->work); in smc_llc_send_message()
|
/Linux-v4.19/drivers/mtd/ubi/ |
D | fastmap-wl.c | 21 static void update_fastmap_work_fn(struct work_struct *wrk) in update_fastmap_work_fn() argument 23 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn() 288 struct ubi_work *wrk; in ubi_ensure_anchor_pebs() local 298 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs() 299 if (!wrk) { in ubi_ensure_anchor_pebs() 306 wrk->anchor = 1; in ubi_ensure_anchor_pebs() 307 wrk->func = &wear_leveling_worker; in ubi_ensure_anchor_pebs() 308 __schedule_ubi_work(ubi, wrk); in ubi_ensure_anchor_pebs() 356 int ubi_is_erase_work(struct ubi_work *wrk) in ubi_is_erase_work() argument 358 return wrk->func == erase_worker; in ubi_is_erase_work()
|
D | wl.c | 204 struct ubi_work *wrk; in do_work() local 222 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work() 223 list_del(&wrk->list); in do_work() 233 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 652 int anchor = wrk->anchor; [all …]
|
D | wl.h | 6 static void update_fastmap_work_fn(struct work_struct *wrk);
|
D | ubi.h | 815 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown); 929 int ubi_is_erase_work(struct ubi_work *wrk);
|
/Linux-v4.19/drivers/scsi/ |
D | storvsc_drv.c | 509 struct storvsc_scan_work *wrk; in storvsc_device_scan() local 512 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan() 514 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); in storvsc_device_scan() 521 kfree(wrk); in storvsc_device_scan() 555 struct storvsc_scan_work *wrk; in storvsc_remove_lun() local 558 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun() 559 if (!scsi_host_get(wrk->host)) in storvsc_remove_lun() 562 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); in storvsc_remove_lun() 568 scsi_host_put(wrk->host); in storvsc_remove_lun() 571 kfree(wrk); in storvsc_remove_lun() [all …]
|
/Linux-v4.19/net/core/ |
D | link_watch.c | 172 LIST_HEAD(wrk); in __linkwatch_run_queue() 190 list_splice_init(&lweventlist, &wrk); in __linkwatch_run_queue() 192 while (!list_empty(&wrk)) { in __linkwatch_run_queue() 194 dev = list_first_entry(&wrk, struct net_device, link_watch_list); in __linkwatch_run_queue()
|
/Linux-v4.19/drivers/dma-buf/ |
D | dma-fence-array.c | 34 static void irq_dma_fence_array_work(struct irq_work *wrk) in irq_dma_fence_array_work() argument 36 struct dma_fence_array *array = container_of(wrk, typeof(*array), work); in irq_dma_fence_array_work()
|
/Linux-v4.19/drivers/staging/erofs/ |
D | unzip_vle.h | 116 #define z_erofs_vle_work_workgroup(wrk, primary) \ argument 117 ((primary) ? container_of(wrk, \
|
/Linux-v4.19/arch/m68k/ifpsp060/ |
D | MISC | 194 wrk/fskeleton.s: 2.2 195 wrk/iskeleton.s: 2.2 196 wrk/os.s : 2.1
|
/Linux-v4.19/drivers/hv/ |
D | hv_balloon.c | 461 struct work_struct wrk; member 467 struct work_struct wrk; member 1513 schedule_work(&dm_device.balloon_wrk.wrk); in balloon_onchannelcallback() 1548 schedule_work(&dm_device.ha_wrk.wrk); in balloon_onchannelcallback() 1598 INIT_WORK(&dm_device.balloon_wrk.wrk, balloon_up); in balloon_probe() 1599 INIT_WORK(&dm_device.ha_wrk.wrk, hot_add_req); in balloon_probe() 1730 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_remove() 1731 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_remove()
|
/Linux-v4.19/drivers/pci/controller/ |
D | pci-hyperv.c | 477 struct work_struct wrk; member 504 struct work_struct wrk; member 1691 dr_wrk = container_of(work, struct hv_dr_work, wrk); in pci_devices_present_work() 1825 INIT_WORK(&dr_wrk->wrk, pci_devices_present_work); in hv_pci_devices_present() 1848 queue_work(hbus->wq, &dr_wrk->wrk); in hv_pci_devices_present() 1873 hpdev = container_of(work, struct hv_pci_dev, wrk); in hv_eject_device_work() 1925 INIT_WORK(&hpdev->wrk, hv_eject_device_work); in hv_pci_eject_device() 1927 queue_work(hpdev->hbus->wq, &hpdev->wrk); in hv_pci_eject_device()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_sw_fence.c | 418 static void irq_i915_sw_fence_work(struct irq_work *wrk) in irq_i915_sw_fence_work() argument 421 container_of(wrk, typeof(*cb), work); in irq_i915_sw_fence_work()
|
/Linux-v4.19/kernel/power/ |
D | swap.c | 631 unsigned char wrk[LZO1X_1_MEM_COMPRESS]; /* compression workspace */ member 655 d->wrk); in lzo_compress_threadfn()
|