Lines Matching defs:tmp
333 int which, tmp;
387 tmp = strtoul(value, NULL, 10);
388 if (tmp <= 0)
391 if (tmp > ISCSI_MAX_DATA_SEGMENT_LENGTH) {
393 "from %d to %d", tmp, ISCSI_MAX_DATA_SEGMENT_LENGTH);
394 tmp = ISCSI_MAX_DATA_SEGMENT_LENGTH;
396 conn->conn_max_data_segment_length = tmp;
398 tmp = strtoul(value, NULL, 10);
399 if (tmp <= 0)
401 if (tmp > MAX_BURST_LENGTH) {
403 "from %d to %d", tmp, MAX_BURST_LENGTH);
404 tmp = MAX_BURST_LENGTH;
406 conn->conn_max_burst_length = tmp;
408 tmp = strtoul(value, NULL, 10);
409 if (tmp <= 0)
411 if (tmp > FIRST_BURST_LENGTH) {
413 "from %d to %d", tmp, FIRST_BURST_LENGTH);
414 tmp = FIRST_BURST_LENGTH;
416 conn->conn_first_burst_length = tmp;
439 tmp = strtoul(value, NULL, 10);
440 if (tmp <= 0)
443 if ((size_t)tmp > conn->conn_limits.isl_max_data_segment_length) {
445 "from %d to %zd", tmp,
447 tmp = conn->conn_limits.isl_max_data_segment_length;
449 conn->conn_max_data_segment_length = tmp;
453 tmp = strtoul(value, NULL, 10);
454 if (tmp <= 0) {
458 if ((size_t)tmp > conn->conn_limits.isl_max_data_segment_length) {
460 "from %d to %zd", tmp,
462 tmp = conn->conn_limits.isl_max_data_segment_length;
464 conn->conn_max_data_segment_length = tmp;