Home
last modified time | relevance | path

Searched refs:cmds_max (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/scsi/be2iscsi/
Dbe_iscsi.h37 uint16_t cmds_max,
Dbe_iscsi.c36 u16 cmds_max, in beiscsi_session_create() argument
64 if (cmds_max > beiscsi_ep->phba->params.wrbs_per_cxn) { in beiscsi_session_create()
68 "\n", cmds_max, in beiscsi_session_create()
72 cmds_max = beiscsi_ep->phba->params.wrbs_per_cxn; in beiscsi_session_create()
77 shost, cmds_max, in beiscsi_session_create()
Dbe_main.c316 for (i = 0; i < conn->session->cmds_max; i++) { in beiscsi_eh_device_reset()
/linux-6.6.21/drivers/scsi/qedi/
Dqedi_iscsi.c169 for (i = 0; i < session->cmds_max; i++) { in qedi_destroy_cmd_pool()
213 for (i = 0; i < session->cmds_max; i++) { in qedi_setup_cmd_pool()
239 qedi_session_create(struct iscsi_endpoint *ep, u16 cmds_max, in qedi_session_create() argument
254 if (cmds_max > qedi->max_sqes) in qedi_session_create()
255 cmds_max = qedi->max_sqes; in qedi_session_create()
256 else if (cmds_max < QEDI_SQ_WQES_MIN) in qedi_session_create()
257 cmds_max = QEDI_SQ_WQES_MIN; in qedi_session_create()
260 cmds_max, 0, sizeof(struct qedi_cmd), in qedi_session_create()
/linux-6.6.21/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c472 for (i = 0; i < session->cmds_max; i++) { in bnx2i_destroy_cmd_pool()
497 for (i = 0; i < session->cmds_max; i++) { in bnx2i_setup_cmd_pool()
1285 uint16_t cmds_max, uint16_t qdepth, in bnx2i_session_create() argument
1308 if (cmds_max > hba->max_sqes) in bnx2i_session_create()
1309 cmds_max = hba->max_sqes; in bnx2i_session_create()
1310 else if (cmds_max < BNX2I_SQ_WQES_MIN) in bnx2i_session_create()
1311 cmds_max = BNX2I_SQ_WQES_MIN; in bnx2i_session_create()
1314 cmds_max, 0, sizeof(struct bnx2i_cmd), in bnx2i_session_create()
/linux-6.6.21/drivers/infiniband/ulp/iser/
Discsi_iser.c605 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument
632 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
662 shost->can_queue = min_t(u16, cmds_max, ISER_DEF_XMIT_CMDS_MAX); in iscsi_iser_session_create()
Discsi_iser.h544 unsigned cmds_max,
Diser_verbs.c165 unsigned cmds_max, in iser_alloc_fastreg_pool() argument
177 for (i = 0; i < cmds_max; i++) { in iser_alloc_fastreg_pool()
Diser_initiator.c233 iser_conn->qp_max_recv_dtos = session->cmds_max; in iser_alloc_rx_descriptors()
242 iser_conn->num_rx_descs = session->cmds_max; in iser_alloc_rx_descriptors()
/linux-6.6.21/drivers/scsi/
Dlibiscsi.c1194 if (i >= session->cmds_max) in iscsi_itt_to_task()
1387 if (i >= session->cmds_max) { in iscsi_verify_itt()
1390 "%u.\n", i, session->cmds_max); in iscsi_verify_itt()
1970 for (i = 0; i < session->cmds_max; i++) { in fail_scsi_tasks()
2170 for (i = 0; i < conn->session->cmds_max; i++) { in iscsi_eh_cmd_timed_out()
3019 uint16_t cmds_max, int dd_size, int cmd_task_size, in iscsi_session_setup() argument
3036 scsi_cmds = iscsi_host_get_max_scsi_cmds(shost, cmds_max); in iscsi_session_setup()
3054 session->cmds_max = scsi_cmds + ISCSI_MGMT_CMDS_MAX; in iscsi_session_setup()
3071 if (iscsi_pool_init(&session->cmdpool, session->cmds_max, in iscsi_session_setup()
3077 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_session_setup()
[all …]
Discsi_tcp.c922 iscsi_sw_tcp_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max, in iscsi_sw_tcp_session_create() argument
947 rc = iscsi_host_get_max_scsi_cmds(shost, cmds_max); in iscsi_sw_tcp_session_create()
956 cmds_max, 0, in iscsi_sw_tcp_session_create()
Dlibiscsi_tcp.c1162 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_tcp_r2tpool_alloc()
1207 for (i = 0; i < session->cmds_max; i++) { in iscsi_tcp_r2tpool_free()
Dscsi_transport_iscsi.c2950 uint32_t initial_cmdsn, uint16_t cmds_max, in iscsi_if_create_session() argument
2957 session = transport->create_session(ep, cmds_max, queue_depth, in iscsi_if_create_session()
3946 ev->u.c_session.cmds_max, in iscsi_if_recv_msg()
3959 ev->u.c_bound_session.cmds_max, in iscsi_if_recv_msg()
/linux-6.6.21/include/scsi/
Discsi_if.h102 uint16_t cmds_max; member
108 uint16_t cmds_max; member
Dlibiscsi.h362 int cmds_max; /* size of cmds array */ member
Dscsi_transport_iscsi.h80 uint16_t cmds_max, uint16_t qdepth,
/linux-6.6.21/drivers/scsi/cxgbi/
Dlibcxgbi.c2702 cconn->task_idx_bits = (__ilog2_u32(conn->session->cmds_max - 1)) + 1; in cxgbi_bind_conn()
2727 u16 cmds_max, u16 qdepth, in cxgbi_create_session() argument
2748 cmds_max, 0, in cxgbi_create_session()
/linux-6.6.21/drivers/scsi/qla4xxx/
Dql4_os.c135 qla4xxx_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max,
3090 uint16_t cmds_max, uint16_t qdepth, in qla4xxx_session_create() argument
3116 cmds_max, sizeof(struct ddb_entry), in qla4xxx_session_create()
6905 uint16_t cmds_max = 32; in qla4xxx_sess_conn_setup() local
6916 cmds_max, sizeof(struct ddb_entry), in qla4xxx_sess_conn_setup()