Lines Matching refs:work
400 struct work_struct work; member
405 static void storvsc_device_scan(struct work_struct *work) in storvsc_device_scan() argument
411 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan()
424 static void storvsc_host_scan(struct work_struct *work) in storvsc_host_scan() argument
431 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_host_scan()
463 static void storvsc_remove_lun(struct work_struct *work) in storvsc_remove_lun() argument
468 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun()
1038 void (*process_err_fn)(struct work_struct *work); in storvsc_handle_error()
1095 INIT_WORK(&wrk->work, process_err_fn); in storvsc_handle_error()
1096 schedule_work(&wrk->work); in storvsc_handle_error()
1214 struct storvsc_scan_work *work; in storvsc_on_receive() local
1225 work = kmalloc(sizeof(struct storvsc_scan_work), GFP_ATOMIC); in storvsc_on_receive()
1226 if (!work) in storvsc_on_receive()
1229 INIT_WORK(&work->work, storvsc_host_scan); in storvsc_on_receive()
1230 work->host = stor_device->host; in storvsc_on_receive()
1231 schedule_work(&work->work); in storvsc_on_receive()