Home
last modified time | relevance | path

Searched refs:cmdret (Results 1 – 1 of 1) sorted by relevance

/external/fio/
Dserver.c225 struct fio_net_cmd cmd, *tmp, *cmdret = NULL; in fio_net_recv_cmd() local
244 assert(!cmdret); in fio_net_recv_cmd()
254 tmp = realloc(cmdret, cmd_size); in fio_net_recv_cmd()
260 cmdret = tmp; in fio_net_recv_cmd()
263 memcpy(cmdret, &cmd, sizeof(cmd)); in fio_net_recv_cmd()
264 else if (cmdret->opcode != cmd.opcode) { in fio_net_recv_cmd()
266 cmdret->opcode, cmd.opcode); in fio_net_recv_cmd()
275 pdu = (void *) cmdret->payload + pdu_offset; in fio_net_recv_cmd()
291 cmdret->pdu_len += cmd.pdu_len; in fio_net_recv_cmd()
296 free(cmdret); in fio_net_recv_cmd()
[all …]