Lines Matching defs:cmd
245 struct kdbus_cmd_list cmd = {
246 .size = sizeof(cmd),
255 r = ioctl(bus->input_fd, KDBUS_CMD_LIST, &cmd);
259 name_list = (struct kdbus_info *) ((uint8_t *) bus->kdbus_buffer + cmd.offset);
261 KDBUS_FOREACH(name, name_list, cmd.list_size) {
295 bus_kernel_cmd_free(bus, cmd.offset);
649 struct kdbus_cmd_info *cmd;
663 cmd = alloca0_align(size, 8);
664 cmd->id = id;
668 cmd = alloca0_align(size, 8);
669 cmd->items[0].size = KDBUS_ITEM_HEADER_SIZE + l;
670 cmd->items[0].type = KDBUS_ITEM_NAME;
671 memcpy(cmd->items[0].str, name, l);
688 cmd->size = size;
689 cmd->attach_flags = attach_flags_to_kdbus(mask);
691 r = ioctl(bus->input_fd, KDBUS_CMD_CONN_INFO, cmd);
695 conn_info = (struct kdbus_info *) ((uint8_t *) bus->kdbus_buffer + cmd->offset);
744 bus_kernel_cmd_free(bus, cmd->offset);
932 struct kdbus_cmd_info cmd = {
957 cmd.attach_flags = attach_flags_to_kdbus(mask);
959 r = ioctl(bus->input_fd, KDBUS_CMD_BUS_CREATOR_INFO, &cmd);
963 creator_info = (struct kdbus_info *) ((uint8_t *) bus->kdbus_buffer + cmd.offset);
966 bus_kernel_cmd_free(bus, cmd.offset);