Searched refs:wrk (Results 1 – 8 of 8) sorted by relevance
/drivers/hv/ |
D | hv_util.c | 184 struct adj_time_work *wrk; in hv_set_host_time() local 189 wrk = container_of(work, struct adj_time_work, work); in hv_set_host_time() 191 newtime = wrk->host_time; in hv_set_host_time() 203 newtime += (current_tick - wrk->ref_time); in hv_set_host_time() 224 static struct adj_time_work wrk; variable 233 if (work_pending(&wrk.work)) in adj_guesttime() 236 wrk.host_time = hosttime; in adj_guesttime() 237 wrk.ref_time = reftime; in adj_guesttime() 238 wrk.flags = flags; in adj_guesttime() 240 schedule_work(&wrk.work); in adj_guesttime() [all …]
|
D | hv_balloon.c | 458 struct work_struct wrk; member 464 struct work_struct wrk; member 1446 schedule_work(&dm_device.balloon_wrk.wrk); in balloon_onchannelcallback() 1481 schedule_work(&dm_device.ha_wrk.wrk); in balloon_onchannelcallback() 1527 INIT_WORK(&dm_device.balloon_wrk.wrk, balloon_up); in balloon_probe() 1528 INIT_WORK(&dm_device.ha_wrk.wrk, hot_add_req); in balloon_probe() 1652 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_remove() 1653 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_remove()
|
/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 | 5 static void update_fastmap_work_fn(struct work_struct *wrk);
|
D | ubi.h | 805 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown); 919 int ubi_is_erase_work(struct ubi_work *wrk);
|
/drivers/scsi/ |
D | storvsc_drv.c | 488 struct storvsc_scan_work *wrk; in storvsc_device_scan() local 491 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan() 493 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); in storvsc_device_scan() 500 kfree(wrk); in storvsc_device_scan() 505 struct storvsc_scan_work *wrk; in storvsc_host_scan() local 509 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_host_scan() 510 host = wrk->host; in storvsc_host_scan() 532 kfree(wrk); in storvsc_host_scan() 537 struct storvsc_scan_work *wrk; in storvsc_remove_lun() local 540 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun() [all …]
|
/drivers/pci/host/ |
D | pci-hyperv.c | 392 struct work_struct wrk; member 429 struct work_struct wrk; member 1401 dr_wrk = container_of(work, struct hv_dr_work, wrk); in pci_devices_present_work() 1547 INIT_WORK(&dr_wrk->wrk, pci_devices_present_work); in hv_pci_devices_present() 1561 schedule_work(&dr_wrk->wrk); in hv_pci_devices_present() 1585 hpdev = container_of(work, struct hv_pci_dev, wrk); in hv_eject_device_work() 1637 INIT_WORK(&hpdev->wrk, hv_eject_device_work); in hv_pci_eject_device() 1639 schedule_work(&hpdev->wrk); in hv_pci_eject_device()
|