Lines Matching refs:pdu_len
202 cmd->pdu_len = le32_to_cpu(cmd->pdu_len); in verify_convert_cmd()
212 if (cmd->pdu_len > FIO_SERVER_MAX_FRAGMENT_PDU) { in verify_convert_cmd()
213 log_err("fio: command payload too large: %u\n", cmd->pdu_len); in verify_convert_cmd()
243 cmd_size = sizeof(cmd) + cmd.pdu_len + 1; in fio_net_recv_cmd()
246 cmd_size += cmd.pdu_len; in fio_net_recv_cmd()
271 if (!cmd.pdu_len) in fio_net_recv_cmd()
276 ret = fio_recv_data(sk, pdu, cmd.pdu_len); in fio_net_recv_cmd()
281 crc = fio_crc16(pdu, cmd.pdu_len); in fio_net_recv_cmd()
289 pdu_offset += cmd.pdu_len; in fio_net_recv_cmd()
291 cmdret->pdu_len += cmd.pdu_len; in fio_net_recv_cmd()
300 if (cmdret->pdu_len) { in fio_net_recv_cmd()
353 uint32_t pdu_len; in fio_net_cmd_crc_pdu() local
357 pdu_len = le32_to_cpu(cmd->pdu_len); in fio_net_cmd_crc_pdu()
358 cmd->pdu_crc16 = __cpu_to_le16(fio_crc16(pdu, pdu_len)); in fio_net_cmd_crc_pdu()
803 fio_server_op(cmd->opcode), cmd->pdu_len, in handle_command()