Lines Matching defs:tsk_mgmt
886 if (!req->tsk_mgmt) {
1082 req->tsk_mgmt = NULL;
1352 struct srp_tsk_mgmt *tsk_mgmt;
1368 tsk_mgmt = iu->buf;
1369 memset(tsk_mgmt, 0, sizeof *tsk_mgmt);
1371 tsk_mgmt->opcode = SRP_TSK_MGMT;
1372 tsk_mgmt->lun = cpu_to_be64((u64) req->scmnd->device->lun << 48);
1373 tsk_mgmt->tag = req->index | SRP_TAG_TSK_MGMT;
1374 tsk_mgmt->tsk_mgmt_func = func;
1375 tsk_mgmt->task_tag = req->index;
1377 if (__srp_post_send(target, iu, sizeof *tsk_mgmt))
1380 req->tsk_mgmt = iu;