Home
last modified time | relevance | path

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

/linux/drivers/target/
H A Dtarget_core_transport.c314 unsigned int tag_num, unsigned int tag_size) in transport_alloc_session_tags() argument
318 se_sess->sess_cmd_map = kvcalloc(tag_size, tag_num, in transport_alloc_session_tags()
325 rc = sbitmap_queue_init_node(&se_sess->sess_tag_pool, tag_num, -1, in transport_alloc_session_tags()
329 " tag_num: %u\n", tag_num); in transport_alloc_session_tags()
347 transport_init_session_tags(unsigned int tag_num, unsigned int tag_size, in transport_init_session_tags() argument
353 if (tag_num != 0 && !tag_size) { in transport_init_session_tags()
355 " %u, but zero tag_size\n", tag_num); in transport_init_session_tags()
358 if (!tag_num && tag_size) { in transport_init_session_tags()
368 rc = transport_alloc_session_tags(se_sess, tag_num, tag_size); in transport_init_session_tags()
459 unsigned int tag_num, unsigned int tag_size, in target_setup_session() argument
[all …]
/linux/drivers/target/iscsi/
H A Discsi_target_nego.c1119 int sessiontype = 0, ret = 0, tag_num, tag_size; in iscsi_target_locate_portal() local
1326 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
1327 tag_num = (tag_num * 2) + ISCSIT_EXTRA_TAGS; in iscsi_target_locate_portal()
1330 ret = transport_alloc_session_tags(sess->se_sess, tag_num, tag_size); in iscsi_target_locate_portal()
/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c2224 int i, tag_num, tag_size, ret; in srpt_cm_req_recv() local
2376 tag_num = ch->rq_size; in srpt_cm_req_recv()
2384 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv()
2396 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv()
2402 ch->sess = target_setup_session(&stpg->tpg, tag_num, in srpt_cm_req_recv()