Home
last modified time | relevance | path

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

/drivers/hv/
Dhv_util.c153 struct adj_time_work *wrk; in hv_set_host_time() local
155 wrk = container_of(work, struct adj_time_work, work); in hv_set_host_time()
156 do_adj_guesttime(wrk->host_time); in hv_set_host_time()
157 kfree(wrk); in hv_set_host_time()
173 struct adj_time_work *wrk; in adj_guesttime() local
176 wrk = kmalloc(sizeof(struct adj_time_work), GFP_ATOMIC); in adj_guesttime()
177 if (wrk == NULL) in adj_guesttime()
180 wrk->host_time = hosttime; in adj_guesttime()
182 INIT_WORK(&wrk->work, hv_set_host_time); in adj_guesttime()
183 schedule_work(&wrk->work); in adj_guesttime()
[all …]
Dhv_balloon.c445 struct work_struct wrk; member
451 struct work_struct wrk; member
1280 schedule_work(&dm_device.balloon_wrk.wrk); in balloon_onchannelcallback()
1314 schedule_work(&dm_device.ha_wrk.wrk); in balloon_onchannelcallback()
1358 INIT_WORK(&dm_device.balloon_wrk.wrk, balloon_up); in balloon_probe()
1359 INIT_WORK(&dm_device.ha_wrk.wrk, hot_add_req); in balloon_probe()
1481 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_remove()
1482 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_remove()
/drivers/mtd/ubi/
Dwl.c148 static void update_fastmap_work_fn(struct work_struct *wrk) in update_fastmap_work_fn() argument
150 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn()
225 struct ubi_work *wrk; in do_work() local
243 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
244 list_del(&wrk->list); in do_work()
254 err = wrk->func(ubi, wrk, 0); in do_work()
839 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work() argument
842 list_add_tail(&wrk->list, &ubi->works); in __schedule_ubi_work()
858 static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in schedule_ubi_work() argument
861 __schedule_ubi_work(ubi, wrk); in schedule_ubi_work()
[all …]
Dubi.h724 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int cancel);
817 int ubi_is_erase_work(struct ubi_work *wrk);
/drivers/scsi/
Dstorvsc_drv.c301 struct storvsc_scan_work *wrk; in storvsc_device_scan() local
305 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan()
306 lun = wrk->lun; in storvsc_device_scan()
308 sdev = scsi_device_lookup(wrk->host, 0, 0, lun); in storvsc_device_scan()
315 kfree(wrk); in storvsc_device_scan()
320 struct storvsc_scan_work *wrk; in storvsc_bus_scan() local
323 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_bus_scan()
324 for (id = 0; id < wrk->host->max_id; ++id) { in storvsc_bus_scan()
325 if (wrk->host->reverse_ordering) in storvsc_bus_scan()
326 order_id = wrk->host->max_id - id - 1; in storvsc_bus_scan()
[all …]