Home
last modified time | relevance | path

Searched refs:total_cmds (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/scsi/
H A Dlibiscsi.c2822 int scsi_cmds, total_cmds = requested_cmds_max; in iscsi_host_get_max_scsi_cmds() local
2825 if (!total_cmds) in iscsi_host_get_max_scsi_cmds()
2826 total_cmds = ISCSI_DEF_XMIT_CMDS_MAX; in iscsi_host_get_max_scsi_cmds()
2832 if (total_cmds < ISCSI_TOTAL_CMDS_MIN) { in iscsi_host_get_max_scsi_cmds()
2834 total_cmds, ISCSI_TOTAL_CMDS_MIN); in iscsi_host_get_max_scsi_cmds()
2838 if (total_cmds > ISCSI_TOTAL_CMDS_MAX) { in iscsi_host_get_max_scsi_cmds()
2842 total_cmds = ISCSI_TOTAL_CMDS_MAX; in iscsi_host_get_max_scsi_cmds()
2845 if (!is_power_of_2(total_cmds)) { in iscsi_host_get_max_scsi_cmds()
2846 total_cmds = rounddown_pow_of_two(total_cmds); in iscsi_host_get_max_scsi_cmds()
2847 if (total_cmds < ISCSI_TOTAL_CMDS_MIN) { in iscsi_host_get_max_scsi_cmds()
[all …]
/linux/include/target/
H A Dtarget_core_base.h678 atomic_long_t total_cmds; member
/linux/drivers/target/
H A Dtarget_core_device.c58 atomic_long_inc(&deve->total_cmds); in transport_lookup_cmd_lun()
H A Dtarget_core_stat.c1033 atomic_long_read(&deve->total_cmds)); in target_stat_auth_num_cmds_show()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c830 max_loops = cmd->total_cmds * QLC_83XX_MBX_CMD_LOOP; in qlcnic_83xx_poll_for_mbx_completion()
4021 cmd->total_cmds = mbx->num_cmds; in qlcnic_83xx_enqueue_mbx_cmd()
4022 *timeout = cmd->total_cmds * QLC_83XX_MBX_TIMEOUT; in qlcnic_83xx_enqueue_mbx_cmd()
H A Dqlcnic.h1527 u32 total_cmds; member