Lines Matching refs:wrk
471 struct storvsc_scan_work *wrk;
474 wrk = container_of(work, struct storvsc_scan_work, work);
476 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun);
483 kfree(wrk);
517 struct storvsc_scan_work *wrk;
520 wrk = container_of(work, struct storvsc_scan_work, work);
521 if (!scsi_host_get(wrk->host))
524 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun);
530 scsi_host_put(wrk->host);
533 kfree(wrk);
979 struct storvsc_scan_work *wrk;
1059 wrk = kmalloc(sizeof(struct storvsc_scan_work), GFP_ATOMIC);
1060 if (!wrk) {
1065 wrk->host = host;
1066 wrk->lun = vm_srb->lun;
1067 wrk->tgt_id = vm_srb->target_id;
1068 INIT_WORK(&wrk->work, process_err_fn);
1069 queue_work(host_dev->handle_error_wq, &wrk->work);