Searched refs:assoc_cmd (Results 1 – 3 of 3) sorted by relevance
352 struct fcnvme_lsdesc_cr_assoc_cmd assoc_cmd; member356 (offsetof(struct fcnvme_ls_cr_assoc_rqst, assoc_cmd) + \
1668 else if (rqst->assoc_cmd.desc_tag != in nvmet_fc_ls_create_association()1671 else if (be32_to_cpu(rqst->assoc_cmd.desc_len) < in nvmet_fc_ls_create_association()1674 else if (!rqst->assoc_cmd.ersp_ratio || in nvmet_fc_ls_create_association()1675 (be16_to_cpu(rqst->assoc_cmd.ersp_ratio) >= in nvmet_fc_ls_create_association()1676 be16_to_cpu(rqst->assoc_cmd.sqsize))) in nvmet_fc_ls_create_association()1687 be16_to_cpu(rqst->assoc_cmd.sqsize)); in nvmet_fc_ls_create_association()1704 queue->ersp_ratio = be16_to_cpu(rqst->assoc_cmd.ersp_ratio); in nvmet_fc_ls_create_association()
1210 assoc_rqst->assoc_cmd.desc_tag = in nvme_fc_connect_admin_queue()1212 assoc_rqst->assoc_cmd.desc_len = in nvme_fc_connect_admin_queue()1216 assoc_rqst->assoc_cmd.ersp_ratio = cpu_to_be16(ersp_ratio); in nvme_fc_connect_admin_queue()1217 assoc_rqst->assoc_cmd.sqsize = cpu_to_be16(qsize - 1); in nvme_fc_connect_admin_queue()1219 assoc_rqst->assoc_cmd.cntlid = cpu_to_be16(0xffff); in nvme_fc_connect_admin_queue()1220 uuid_copy(&assoc_rqst->assoc_cmd.hostid, &ctrl->ctrl.opts->host->id); in nvme_fc_connect_admin_queue()1221 strncpy(assoc_rqst->assoc_cmd.hostnqn, ctrl->ctrl.opts->host->nqn, in nvme_fc_connect_admin_queue()1223 strncpy(assoc_rqst->assoc_cmd.subnqn, ctrl->ctrl.opts->subsysnqn, in nvme_fc_connect_admin_queue()