/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | commands.c | 1161 struct command *cmdp = cmd_table; in help_me() local 1175 for (cmdp = cmd_table; cmdp->cmd_name != NULL; ++cmdp) { in help_me() 1176 if (cmd == NULL || !strncmp(cmd, cmdp->cmd_name, cmdlen)) { in help_me() 1177 printf("%s\n", cmdp->cmd_help); in help_me() 1195 static bool unique_abbrev(char *cmd, size_t clen, struct command *cmdp) in unique_abbrev() argument 1197 for (; cmdp->cmd_name != NULL; ++cmdp) { in unique_abbrev() 1198 if (!strncmp(cmd, cmdp->cmd_name, clen)) in unique_abbrev() 1208 struct command *cmdp; in parse_command() local 1214 for (cmdp = cmd_table; cmdp->cmd_name != NULL; ++cmdp) { in parse_command() 1218 if (strncmp(cmd, cmdp->cmd_name, clen)) in parse_command() [all …]
|
/third_party/libfuse/util/ |
D | mount.fuse.c | 75 static void add_arg(char **cmdp, const char *opt) in add_arg() argument 78 size_t cmdlen = *cmdp ? strlen(*cmdp) : 0; in add_arg() 83 char *cmd = xrealloc(*cmdp, cmdlen + optlen * 4 + 4); in add_arg() 86 if (*cmdp) in add_arg() 101 *cmdp = cmd; in add_arg()
|
/third_party/f2fs-tools/tools/sg_write_buffer/ |
D | sg_pt_linux_nvme.c | 300 struct sg_nvme_passthru_cmd *cmdp, void * dp, bool is_read, in do_nvme_admin_cmd() argument 307 const uint8_t * up = ((const uint8_t *)cmdp) + SG_NVME_PT_OPCODE; in do_nvme_admin_cmd() 309 cmdp->timeout_ms = (time_secs < 0) ? (-time_secs) : (1000 * time_secs); in do_nvme_admin_cmd() 313 hex2stderr((const uint8_t *)cmdp, cmd_len, 1); in do_nvme_admin_cmd() 329 res = ioctl(ptp->dev_fd, NVME_IOCTL_ADMIN_CMD, cmdp); in do_nvme_admin_cmd() 340 ptp->nvme_result = cmdp->result; in do_nvme_admin_cmd() 351 sg_put_unaligned_le32(cmdp->result, in do_nvme_admin_cmd()
|
D | sg_pt_linux.c | 839 v3_hdr.cmdp = (unsigned char *)(long)ptp->io_hdr.request; in do_scsi_pt_v3() 865 if (NULL == v3_hdr.cmdp) { in do_scsi_pt_v3()
|
D | sg_lib.c | 2053 sg_get_command_name(const unsigned char * cmdp, int peri_type, int buff_len, in sg_get_command_name() argument 2064 if (NULL == cmdp) { in sg_get_command_name() 2068 service_action = (SG_VARIABLE_LENGTH_CMD == cmdp[0]) ? in sg_get_command_name() 2069 sg_get_unaligned_be16(cmdp + 8) : (cmdp[1] & 0x1f); in sg_get_command_name() 2070 sg_get_opcode_sa_name(cmdp[0], service_action, peri_type, buff_len, buff); in sg_get_command_name()
|
/third_party/toybox/toys/other/ |
D | eject.c | 49 header->cmdp = (void *)sg_driver_cmd[i]; in remove_scsi()
|
/third_party/musl/include/scsi/ |
D | sg.h | 72 unsigned char *cmdp; member
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl_sg01.c | 92 query.cmdp = command; in setup()
|
/third_party/musl/porting/liteos_m/kernel/include/scsi/ |
D | sg.h | 72 unsigned char *cmdp; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/scsi/ |
D | sg.h | 72 unsigned char *cmdp; member
|
/third_party/musl/porting/uniproton/kernel/include/scsi/ |
D | sg.h | 72 unsigned char *cmdp; member
|
/third_party/musl/ndk_musl_include/scsi/ |
D | sg.h | 72 unsigned char *cmdp; member
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 843 io_hdr.cmdp = inqCmdBlk; in sg3_inq() 907 io_hdr.cmdp = logsCmdBlk; in do_logs() 1580 io_hdr.cmdp = inqCmdBlk; in do_inquiry() 1875 io_hdr.cmdp = rcCmdBlk; in read_capacity() 1914 io_hdr.cmdp = scCmdBlk; in sync_cache() 2045 io_hdr.cmdp = rdCmd; in sg_read() 2111 io_hdr.cmdp = wrCmd; in sg_write() 2698 io_hdr.cmdp = inqCmdBlk; in do_scsi_inq() 3385 io_hdr.cmdp = inqCmdBlk; in do_simple_inq() 3440 io_hdr.cmdp = modesCmdBlk; in do_modes() [all …]
|
/third_party/python/PC/ |
D | launcher.c | 1011 wchar_t * cmdp; in read_config_file() local 1026 cmdp = skip_whitespace(value); in read_config_file() 1027 if (*cmdp) { in read_config_file()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 1011 io_hdr.cmdp = model_inq; in get_device_info()
|