Lines Matching refs:cmd_sg_cnt
1309 static uint32_t srp_max_it_iu_len(int cmd_sg_cnt, bool use_imm_data, in srp_max_it_iu_len() argument
1314 cmd_sg_cnt * sizeof(struct srp_direct_buf); in srp_max_it_iu_len()
1341 uint32_t max_iu_len = srp_max_it_iu_len(target->cmd_sg_cnt, in srp_rport_reconnect()
1754 if (unlikely(target->cmd_sg_cnt < state.ndesc && in srp_map_data()
1762 count = min(state.ndesc, target->cmd_sg_cnt); in srp_map_data()
2355 ch->max_it_iu_len = srp_max_it_iu_len(target->cmd_sg_cnt, in srp_cm_rep_handler()
3046 return sysfs_emit(buf, "%u\n", target->cmd_sg_cnt); in cmd_sg_entries_show()
3545 target->cmd_sg_cnt = token; in srp_parse_options()
3665 target->cmd_sg_cnt = cmd_sg_entries; in add_target_store()
3704 target->cmd_sg_cnt < target->sg_tablesize) { in add_target_store()
3706 target->sg_tablesize = target->cmd_sg_cnt; in add_target_store()
3748 max_iu_len = srp_max_it_iu_len(target->cmd_sg_cnt, in add_target_store()