Lines Matching refs:work
450 struct work_struct work; member
455 static void storvsc_device_scan(struct work_struct *work) in storvsc_device_scan() argument
461 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan()
474 static void storvsc_host_scan(struct work_struct *work) in storvsc_host_scan() argument
480 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_host_scan()
506 static void storvsc_remove_lun(struct work_struct *work) in storvsc_remove_lun() argument
511 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun()
861 void (*process_err_fn)(struct work_struct *work); in storvsc_handle_error()
919 INIT_WORK(&wrk->work, process_err_fn); in storvsc_handle_error()
920 schedule_work(&wrk->work); in storvsc_handle_error()
1029 struct storvsc_scan_work *work; in storvsc_on_receive() local
1040 work = kmalloc(sizeof(struct storvsc_scan_work), GFP_ATOMIC); in storvsc_on_receive()
1041 if (!work) in storvsc_on_receive()
1044 INIT_WORK(&work->work, storvsc_host_scan); in storvsc_on_receive()
1045 work->host = stor_device->host; in storvsc_on_receive()
1046 schedule_work(&work->work); in storvsc_on_receive()