Lines Matching refs:this_len
370 size_t this_len, cur_len = 0; in fio_net_send_cmd() local
381 this_len = size; in fio_net_send_cmd()
382 if (this_len > FIO_SERVER_MAX_FRAGMENT_PDU) in fio_net_send_cmd()
383 this_len = FIO_SERVER_MAX_FRAGMENT_PDU; in fio_net_send_cmd()
385 if (!cmd || cur_len < sizeof(*cmd) + this_len) { in fio_net_send_cmd()
389 cur_len = sizeof(*cmd) + this_len; in fio_net_send_cmd()
393 fio_init_net_cmd(cmd, opcode, buf, this_len, tag); in fio_net_send_cmd()
395 if (this_len < size) in fio_net_send_cmd()
400 ret = fio_send_data(fd, cmd, sizeof(*cmd) + this_len); in fio_net_send_cmd()
401 size -= this_len; in fio_net_send_cmd()
402 buf += this_len; in fio_net_send_cmd()
1280 unsigned int this_len, flags = 0; in fio_send_iolog_gz() local
1289 this_len = FIO_SERVER_MAX_FRAGMENT_PDU - stream.avail_out; in fio_send_iolog_gz()
1295 out_pdu, this_len, 0, flags); in fio_send_iolog_gz()