Home
last modified time | relevance | path

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

/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()
/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()
/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()
1287 uint16_t cmds_max, uint16_t qdepth, in bnx2i_session_create() argument
1310 if (cmds_max > hba->max_sqes) in bnx2i_session_create()
1311 cmds_max = hba->max_sqes; in bnx2i_session_create()
1312 else if (cmds_max < BNX2I_SQ_WQES_MIN) in bnx2i_session_create()
1313 cmds_max = BNX2I_SQ_WQES_MIN; in bnx2i_session_create()
1316 cmds_max, 0, sizeof(struct bnx2i_cmd), in bnx2i_session_create()
/drivers/infiniband/ulp/iser/
Discsi_iser.c608 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument
635 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
665 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.h563 unsigned cmds_max,
Diser_verbs.c172 unsigned cmds_max, in iser_alloc_fastreg_pool() argument
184 for (i = 0; i < cmds_max; i++) { in iser_alloc_fastreg_pool()
/drivers/scsi/
Dlibiscsi.c1109 if (i >= session->cmds_max) in iscsi_itt_to_task()
1302 if (i >= session->cmds_max) { in iscsi_verify_itt()
1305 "%u.\n", i, session->cmds_max); in iscsi_verify_itt()
1862 for (i = 0; i < conn->session->cmds_max; i++) { in fail_scsi_tasks()
2019 for (i = 0; i < conn->session->cmds_max; i++) { in iscsi_eh_cmd_timed_out()
2780 uint16_t cmds_max, int dd_size, int cmd_task_size, in iscsi_session_setup() argument
2786 int cmd_i, scsi_cmds, total_cmds = cmds_max; in iscsi_session_setup()
2814 cmds_max, ISCSI_TOTAL_CMDS_MAX); in iscsi_session_setup()
2843 session->cmds_max = total_cmds; in iscsi_session_setup()
2859 if (iscsi_pool_init(&session->cmdpool, session->cmds_max, in iscsi_session_setup()
[all …]
Discsi_tcp.c874 iscsi_sw_tcp_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max, in iscsi_sw_tcp_session_create() argument
902 cmds_max, 0, in iscsi_sw_tcp_session_create()
Dlibiscsi_tcp.c1130 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_tcp_r2tpool_alloc()
1175 for (i = 0; i < session->cmds_max; i++) { in iscsi_tcp_r2tpool_free()
Dscsi_transport_iscsi.c2927 uint32_t initial_cmdsn, uint16_t cmds_max, in iscsi_if_create_session() argument
2934 session = transport->create_session(ep, cmds_max, queue_depth, in iscsi_if_create_session()
3918 ev->u.c_session.cmds_max, in iscsi_if_recv_msg()
3931 ev->u.c_bound_session.cmds_max, in iscsi_if_recv_msg()
/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()
/drivers/scsi/qla4xxx/
Dql4_os.c135 qla4xxx_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max,
3095 uint16_t cmds_max, uint16_t qdepth, in qla4xxx_session_create() argument
3121 cmds_max, sizeof(struct ddb_entry), in qla4xxx_session_create()
6918 uint16_t cmds_max = 32; in qla4xxx_sess_conn_setup() local
6929 cmds_max, sizeof(struct ddb_entry), in qla4xxx_sess_conn_setup()