Lines Matching defs:length
20 int length)
26 iov.iov_len = length;
29 rx_got = rx_data(conn, &iov, 1, length);
30 if (rx_got != length) {
32 rx_got, length);
45 int length, tx_sent, iov_cnt = 1;
48 length = (ISCSI_HDR_LEN + text_length);
60 tx_sent = tx_data(conn, &iov[0], iov_cnt, length);
61 if (tx_sent != length) {
63 tx_sent, length);
1230 * Key name length must not exceed 63 bytes. (See iSCSI v20 5.1)
1356 u32 length,
1362 tmpbuf = kzalloc(length + 1, GFP_KERNEL);
1364 pr_err("Unable to allocate %u + 1 bytes for tmpbuf.\n", length);
1368 memcpy(tmpbuf, textbuf, length);
1369 tmpbuf[length] = '\0';
1371 end = (start + length);
1428 u32 *length,
1436 output_buf = textbuf + *length;
1448 *length += sprintf(output_buf, "%s=%s",
1450 *length += 1;
1451 output_buf = textbuf + *length;
1461 *length += sprintf(output_buf, "%s=%s",
1463 *length += 1;
1464 output_buf = textbuf + *length;
1474 *length += sprintf(output_buf, "%s=%s", er->key, er->value);
1475 *length += 1;
1476 output_buf = textbuf + *length;