Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/target/
Dtarget_core_transport.c296 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-5.19.10/drivers/target/iscsi/
Discsi_target_nego.c1068 int sessiontype = 0, ret = 0, tag_num, tag_size; in iscsi_target_locate_portal() local
1273 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal()
1274 tag_num = (tag_num * 2) + ISCSIT_EXTRA_TAGS; in iscsi_target_locate_portal()
1277 ret = transport_alloc_session_tags(sess->se_sess, tag_num, tag_size); in iscsi_target_locate_portal()
/linux-5.19.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c2157 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()