Searched refs:tag_num (Results 1 – 3 of 3) sorted by relevance
/drivers/target/iscsi/ |
D | iscsi_target_nego.c | 1083 int sessiontype = 0, ret = 0, tag_num, tag_size; in iscsi_target_locate_portal() local 1291 tag_num = max_t(u32, ISCSIT_MIN_TAGS, queue_depth); in iscsi_target_locate_portal() 1292 tag_num = (tag_num * 2) + ISCSIT_EXTRA_TAGS; in iscsi_target_locate_portal() 1295 ret = transport_alloc_session_tags(sess->se_sess, tag_num, tag_size); in iscsi_target_locate_portal()
|
/drivers/target/ |
D | target_core_transport.c | 265 unsigned int tag_num, unsigned int tag_size) in transport_alloc_session_tags() argument 269 se_sess->sess_cmd_map = kzalloc(tag_num * tag_size, in transport_alloc_session_tags() 272 se_sess->sess_cmd_map = vzalloc(tag_num * tag_size); in transport_alloc_session_tags() 279 rc = percpu_ida_init(&se_sess->sess_tag_pool, tag_num); in transport_alloc_session_tags() 282 " tag_num: %u\n", tag_num); in transport_alloc_session_tags() 295 struct se_session *transport_init_session_tags(unsigned int tag_num, in transport_init_session_tags() argument 306 rc = transport_alloc_session_tags(se_sess, tag_num, tag_size); in transport_init_session_tags()
|
/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 553 int i, ret, tag_num; in isert_conn_create_fastreg_pool() local 558 tag_num = max_t(u32, ISCSIT_MIN_TAGS, se_nacl->queue_depth); in isert_conn_create_fastreg_pool() 559 tag_num = (tag_num * 2) + ISCSIT_EXTRA_TAGS; in isert_conn_create_fastreg_pool() 562 for (i = 0; i < tag_num; i++) { in isert_conn_create_fastreg_pool()
|