Home
last modified time | relevance | path

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

/linux/drivers/scsi/qedi/
A 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()
/linux/drivers/scsi/be2iscsi/
A Dbe_iscsi.h37 uint16_t cmds_max,
A 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()
A Dbe_main.c309 for (i = 0; i < conn->session->cmds_max; i++) { in beiscsi_eh_device_reset()
/linux/drivers/scsi/bnx2i/
A 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/drivers/infiniband/ulp/iser/
A Discsi_iser.c622 uint16_t cmds_max, uint16_t qdepth, in iscsi_iser_session_create() argument
649 shost->can_queue = min_t(u16, cmds_max, iser_conn->max_cmds); in iscsi_iser_session_create()
679 shost->can_queue = min_t(u16, cmds_max, ISER_DEF_XMIT_CMDS_MAX); in iscsi_iser_session_create()
A 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()
A Discsi_iser.h564 unsigned cmds_max,
A 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()
/linux/drivers/scsi/
A Dlibiscsi.c1124 if (i >= session->cmds_max) in iscsi_itt_to_task()
1317 if (i >= session->cmds_max) { in iscsi_verify_itt()
1320 "%u.\n", i, session->cmds_max); in iscsi_verify_itt()
1898 for (i = 0; i < session->cmds_max; i++) { in fail_scsi_tasks()
2071 for (i = 0; i < conn->session->cmds_max; i++) { in iscsi_eh_cmd_timed_out()
2907 uint16_t cmds_max, int dd_size, int cmd_task_size, in iscsi_session_setup() argument
2924 scsi_cmds = iscsi_host_get_max_scsi_cmds(shost, cmds_max); in iscsi_session_setup()
2942 session->cmds_max = scsi_cmds + ISCSI_MGMT_CMDS_MAX; in iscsi_session_setup()
2959 if (iscsi_pool_init(&session->cmdpool, session->cmds_max, in iscsi_session_setup()
2965 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_session_setup()
[all …]
A Discsi_tcp.c850 iscsi_sw_tcp_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max, in iscsi_sw_tcp_session_create() argument
875 rc = iscsi_host_get_max_scsi_cmds(shost, cmds_max); in iscsi_sw_tcp_session_create()
884 cmds_max, 0, in iscsi_sw_tcp_session_create()
A 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()
A Dscsi_transport_iscsi.c2844 uint32_t initial_cmdsn, uint16_t cmds_max, in iscsi_if_create_session() argument
2851 session = transport->create_session(ep, cmds_max, queue_depth, in iscsi_if_create_session()
3823 ev->u.c_session.cmds_max, in iscsi_if_recv_msg()
3836 ev->u.c_bound_session.cmds_max, in iscsi_if_recv_msg()
/linux/include/scsi/
A Discsi_if.h102 uint16_t cmds_max; member
108 uint16_t cmds_max; member
A Dlibiscsi.h350 int cmds_max; /* size of cmds array */ member
A Dscsi_transport_iscsi.h80 uint16_t cmds_max, uint16_t qdepth,
/linux/drivers/scsi/cxgbi/
A 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/drivers/scsi/qla4xxx/
A Dql4_os.c135 qla4xxx_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max,
3080 uint16_t cmds_max, uint16_t qdepth, in qla4xxx_session_create() argument
3106 cmds_max, sizeof(struct ddb_entry), in qla4xxx_session_create()
6896 uint16_t cmds_max = 32; in qla4xxx_sess_conn_setup() local
6907 cmds_max, sizeof(struct ddb_entry), in qla4xxx_sess_conn_setup()

Completed in 73 milliseconds