Lines Matching refs:na
190 struct nvmf_association *na; in connect_discovery_adminq() local
217 na = nvmf_allocate_association(trtype, false, &aparams); in connect_discovery_adminq()
218 if (na == NULL) in connect_discovery_adminq()
224 qp = nvmf_connect(na, &qparams, 0, NVME_MIN_ADMIN_ENTRIES, hostid, in connect_discovery_adminq()
228 nvmf_association_error(na)); in connect_discovery_adminq()
229 nvmf_free_association(na); in connect_discovery_adminq()
277 connect_nvm_adminq(struct nvmf_association *na, in connect_nvm_adminq() argument
287 qp = nvmf_connect(na, params, 0, NVMF_MIN_ADMIN_MAX_SQ_SIZE, hostid, in connect_nvm_adminq()
291 nvmf_association_error(na)); in connect_nvm_adminq()
410 struct nvmf_association *na; in connect_nvm_queues() local
434 na = nvmf_allocate_association(trtype, false, aparams); in connect_nvm_queues()
435 if (na == NULL) { in connect_nvm_queues()
444 nvmf_free_association(na); in connect_nvm_queues()
447 error = connect_nvm_adminq(na, &qparams, admin, cntlid, subnqn, hostnqn, in connect_nvm_queues()
450 nvmf_free_association(na); in connect_nvm_queues()
459 nvmf_free_association(na); in connect_nvm_queues()
469 nvmf_free_association(na); in connect_nvm_queues()
474 nvmf_update_assocation(na, cdata); in connect_nvm_queues()
479 nvmf_free_association(na); in connect_nvm_queues()
485 nvmf_free_association(na); in connect_nvm_queues()
500 io[i] = nvmf_connect(na, &qparams, i + 1, queue_size, hostid, in connect_nvm_queues()
504 nvmf_association_error(na)); in connect_nvm_queues()
509 nvmf_free_association(na); in connect_nvm_queues()
519 nvmf_free_association(na); in connect_nvm_queues()