Home
last modified time | relevance | path

Searched refs:assoc_cmd (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/linux/
Dnvme-fc.h352 struct fcnvme_lsdesc_cr_assoc_cmd assoc_cmd; member
356 (offsetof(struct fcnvme_ls_cr_assoc_rqst, assoc_cmd) + \
/Linux-v5.10/drivers/nvme/target/
Dfc.c1658 else if (rqst->assoc_cmd.desc_tag != in nvmet_fc_ls_create_association()
1661 else if (be32_to_cpu(rqst->assoc_cmd.desc_len) < in nvmet_fc_ls_create_association()
1664 else if (!rqst->assoc_cmd.ersp_ratio || in nvmet_fc_ls_create_association()
1665 (be16_to_cpu(rqst->assoc_cmd.ersp_ratio) >= in nvmet_fc_ls_create_association()
1666 be16_to_cpu(rqst->assoc_cmd.sqsize))) in nvmet_fc_ls_create_association()
1677 be16_to_cpu(rqst->assoc_cmd.sqsize)); in nvmet_fc_ls_create_association()
1694 queue->ersp_ratio = be16_to_cpu(rqst->assoc_cmd.ersp_ratio); in nvmet_fc_ls_create_association()
/Linux-v5.10/drivers/nvme/host/
Dfc.c1208 assoc_rqst->assoc_cmd.desc_tag = in nvme_fc_connect_admin_queue()
1210 assoc_rqst->assoc_cmd.desc_len = in nvme_fc_connect_admin_queue()
1214 assoc_rqst->assoc_cmd.ersp_ratio = cpu_to_be16(ersp_ratio); in nvme_fc_connect_admin_queue()
1215 assoc_rqst->assoc_cmd.sqsize = cpu_to_be16(qsize - 1); in nvme_fc_connect_admin_queue()
1217 assoc_rqst->assoc_cmd.cntlid = cpu_to_be16(0xffff); in nvme_fc_connect_admin_queue()
1218 uuid_copy(&assoc_rqst->assoc_cmd.hostid, &ctrl->ctrl.opts->host->id); in nvme_fc_connect_admin_queue()
1219 strncpy(assoc_rqst->assoc_cmd.hostnqn, ctrl->ctrl.opts->host->nqn, in nvme_fc_connect_admin_queue()
1221 strncpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue()