Searched refs:tag_num (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/target/ |
D | target_core_transport.c | 296 unsigned int tag_num, unsigned int tag_size) in transport_alloc_session_tags() argument 300 se_sess->sess_cmd_map = kvcalloc(tag_size, tag_num, in transport_alloc_session_tags() 307 rc = sbitmap_queue_init_node(&se_sess->sess_tag_pool, tag_num, -1, in transport_alloc_session_tags() 311 " tag_num: %u\n", tag_num); in transport_alloc_session_tags() 329 transport_init_session_tags(unsigned int tag_num, unsigned int tag_size, in transport_init_session_tags() argument 335 if (tag_num != 0 && !tag_size) { in transport_init_session_tags() 337 " %u, but zero tag_size\n", tag_num); in transport_init_session_tags() 340 if (!tag_num && tag_size) { in transport_init_session_tags() 350 rc = transport_alloc_session_tags(se_sess, tag_num, tag_size); in transport_init_session_tags() 441 unsigned int tag_num, unsigned int tag_size, in target_setup_session() argument [all …]
|
/Linux-v6.1/drivers/target/iscsi/ |
D | iscsi_target_nego.c | 1118 int sessiontype = 0, ret = 0, tag_num, tag_size; in iscsi_target_locate_portal() local 1323 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal() 1324 tag_num = (tag_num * 2) + ISCSIT_EXTRA_TAGS; in iscsi_target_locate_portal() 1327 ret = transport_alloc_session_tags(sess->se_sess, tag_num, tag_size); in iscsi_target_locate_portal()
|
/Linux-v6.1/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 2157 int i, tag_num, tag_size, ret; in srpt_cm_req_recv() local 2311 tag_num = ch->rq_size; in srpt_cm_req_recv() 2319 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv() 2331 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv() 2337 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv()
|