Lines Matching defs:ch_count
134 static unsigned ch_count;
135 module_param(ch_count, uint, 0444);
136 MODULE_PARM_DESC(ch_count,
438 pr_info("%s: ib_alloc_mr() failed. Try to reduce max_cmd_per_lun, max_sect or ch_count\n",
944 for (i = 0; i < target->ch_count; i++) {
1051 for (i = 0; i < target->ch_count; i++) {
1092 for (i = 0; i < target->ch_count; i++)
1351 for (i = 0; i < target->ch_count; i++) {
1362 for (i = 0; i < target->ch_count; i++) {
1378 for (i = 0; i < target->ch_count; i++) {
2792 if (WARN_ON_ONCE(ch_idx >= target->ch_count))
2952 for (i = 0; i < target->ch_count; i++) {
2998 return sysfs_emit(buf, "%d\n", target->ch_count);
3001 static DEVICE_ATTR_RO(ch_count);
3139 if (srp_connected_ch(target) < target->ch_count ||
3276 { SRP_OPT_CH_COUNT, "ch_count=%u", },
3650 target->ch_count = token;
3815 if (target->ch_count == 0) {
3816 target->ch_count =
3817 min(ch_count ?:
3823 target->ch = kcalloc(target->ch_count, sizeof(*target->ch),
3828 for (ch_idx = 0; ch_idx < target->ch_count; ++ch_idx) {
3855 target->ch_count, dst);
3860 target->ch_count = ch - target->ch;
3868 target->scsi_host->nr_hw_queues = target->ch_count;
3917 for (i = 0; i < target->ch_count; i++) {