Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c307 for (i = 0; i < conn->session->cmds_max; i++) { in beiscsi_eh_device_reset()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_iscsi.c168 for (i = 0; i < session->cmds_max; i++) { in qedi_destroy_cmd_pool()
212 for (i = 0; i < session->cmds_max; i++) { in qedi_setup_cmd_pool()
238 qedi_session_create(struct iscsi_endpoint *ep, u16 cmds_max, in qedi_session_create() argument
253 if (cmds_max > qedi->max_sqes) in qedi_session_create()
254 cmds_max = qedi->max_sqes; in qedi_session_create()
255 else if (cmds_max < QEDI_SQ_WQES_MIN) in qedi_session_create()
256 cmds_max = QEDI_SQ_WQES_MIN; in qedi_session_create()
259 cmds_max, 0, sizeof(struct qedi_cmd), in qedi_session_create()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Discsi_iser.c607 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument
634 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
664 shost->can_queue = min_t(u16, cmds_max, ISER_DEF_XMIT_CMDS_MAX); in iscsi_iser_session_create()
Diser_initiator.c249 iser_conn->qp_max_recv_dtos = session->cmds_max; in iser_alloc_rx_descriptors()
250 iser_conn->qp_max_recv_dtos_mask = session->cmds_max - 1; /* cmds_max is 2^N */ in iser_alloc_rx_descriptors()
260 iser_conn->num_rx_descs = session->cmds_max; in iser_alloc_rx_descriptors()
Discsi_iser.h565 unsigned cmds_max,
Diser_verbs.c173 unsigned cmds_max, in iser_alloc_fastreg_pool() argument
185 for (i = 0; i < cmds_max; i++) { in iser_alloc_fastreg_pool()
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi.c1122 if (i >= session->cmds_max) in iscsi_itt_to_task()
1315 if (i >= session->cmds_max) { in iscsi_verify_itt()
1318 "%u.\n", i, session->cmds_max); in iscsi_verify_itt()
1887 for (i = 0; i < session->cmds_max; i++) { in fail_scsi_tasks()
2060 for (i = 0; i < conn->session->cmds_max; i++) { in iscsi_eh_cmd_timed_out()
2839 uint16_t cmds_max, int dd_size, int cmd_task_size, in iscsi_session_setup() argument
2856 scsi_cmds = iscsi_host_get_max_scsi_cmds(shost, cmds_max); in iscsi_session_setup()
2874 session->cmds_max = scsi_cmds + ISCSI_MGMT_CMDS_MAX; in iscsi_session_setup()
2890 if (iscsi_pool_init(&session->cmdpool, session->cmds_max, in iscsi_session_setup()
2896 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_session_setup()
[all …]
Discsi_tcp.c844 iscsi_sw_tcp_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max, in iscsi_sw_tcp_session_create() argument
869 rc = iscsi_host_get_max_scsi_cmds(shost, cmds_max); in iscsi_sw_tcp_session_create()
878 cmds_max, 0, in iscsi_sw_tcp_session_create()
Dlibiscsi_tcp.c1158 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_tcp_r2tpool_alloc()
1203 for (i = 0; i < session->cmds_max; i++) { in iscsi_tcp_r2tpool_free()
Dscsi_transport_iscsi.c2812 uint32_t initial_cmdsn, uint16_t cmds_max, in iscsi_if_create_session() argument
2819 session = transport->create_session(ep, cmds_max, queue_depth, in iscsi_if_create_session()
3672 ev->u.c_session.cmds_max, in iscsi_if_recv_msg()
3685 ev->u.c_bound_session.cmds_max, in iscsi_if_recv_msg()
/kernel/linux/linux-5.10/include/scsi/
Discsi_if.h102 uint16_t cmds_max; member
108 uint16_t cmds_max; member
Dlibiscsi.h342 int cmds_max; /* size of cmds array */ member
Dscsi_transport_iscsi.h80 uint16_t cmds_max, uint16_t qdepth,
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
Dlibcxgbi.c2700 cconn->task_idx_bits = (__ilog2_u32(conn->session->cmds_max - 1)) + 1; in cxgbi_bind_conn()
2723 u16 cmds_max, u16 qdepth, in cxgbi_create_session() argument
2744 cmds_max, 0, in cxgbi_create_session()
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_os.c135 qla4xxx_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max,
3084 uint16_t cmds_max, uint16_t qdepth, in qla4xxx_session_create() argument
3110 cmds_max, sizeof(struct ddb_entry), in qla4xxx_session_create()
6906 uint16_t cmds_max = 32; in qla4xxx_sess_conn_setup() local
6917 cmds_max, sizeof(struct ddb_entry), in qla4xxx_sess_conn_setup()