Searched refs:cmd_len (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/system/host/netprotocol/
H A Dnetruncmd.c48 size_t cmd_len = 0; local
51 if (len > (MAXSIZE - cmd_len - 1)) {
55 memcpy(cmd + cmd_len, argv[1], len);
56 cmd_len += len;
57 cmd[cmd_len++] = ' ';
61 cmd[cmd_len - 1] = 0;
76 memcpy(m.data, cmd, cmd_len);
78 write(s, &m, sizeof(nbmsg) + cmd_len);
/fuchsia/zircon/system/dev/bus/virtio/
H A Dgpu.cpp192 size_t cmd_len = sizeof(RequestType); local
194 LTRACEF("dev %p, cmd %p, cmd_len %zu, res %p, res_len %zu\n", this, cmd, cmd_len, res, res_len);
207 memcpy(gpu_req_base, cmd, cmd_len);
210 desc->len = static_cast<uint32_t>(cmd_len);
217 *res = reinterpret_cast<ResponseType*>(static_cast<uint8_t*>(gpu_req_base) + cmd_len);
218 zx_paddr_t res_phys = gpu_req_pa + cmd_len;
/fuchsia/zircon/system/dev/block/ramdisk/
H A Dramdisk.c224 static zx_status_t ramdisk_ioctl(void* ctx, uint32_t op, const void* cmd, size_t cmd_len, argument
237 if (cmd_len < sizeof(uint32_t)) {
255 if (cmd_len < sizeof(uint64_t)) {

Completed in 76 milliseconds