Lines Matching refs:wrk
507 struct storvsc_scan_work *wrk;
510 wrk = container_of(work, struct storvsc_scan_work, work);
512 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun);
519 kfree(wrk);
553 struct storvsc_scan_work *wrk;
556 wrk = container_of(work, struct storvsc_scan_work, work);
557 if (!scsi_host_get(wrk->host))
560 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun);
566 scsi_host_put(wrk->host);
569 kfree(wrk);
999 struct storvsc_scan_work *wrk;
1074 wrk = kmalloc(sizeof(struct storvsc_scan_work), GFP_ATOMIC);
1075 if (!wrk) {
1080 wrk->host = host;
1081 wrk->lun = vm_srb->lun;
1082 wrk->tgt_id = vm_srb->target_id;
1083 INIT_WORK(&wrk->work, process_err_fn);
1084 queue_work(host_dev->handle_error_wq, &wrk->work);