Home
last modified time | relevance | path

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

/external/strace/tests-mx32/
Dioctl_sg_io_v3.c66 sg_io->cmdp = (void *) (unsigned long) 0xfacefeedfffffff2ULL; in main()
94 sg_io->cmdp, in main()
137 sg_io->cmdp, in main()
196 sg_io->cmdp, in main()
246 sg_io->cmdp, in main()
298 sg_io->cmdp, in main()
346 sg_io->cmdp, in main()
392 sg_io->cmdp, in main()
/external/strace/tests/
Dioctl_sg_io_v3.c66 sg_io->cmdp = (void *) (unsigned long) 0xfacefeedfffffff2ULL; in main()
94 sg_io->cmdp, in main()
137 sg_io->cmdp, in main()
196 sg_io->cmdp, in main()
246 sg_io->cmdp, in main()
298 sg_io->cmdp, in main()
346 sg_io->cmdp, in main()
392 sg_io->cmdp, in main()
/external/strace/tests-m32/
Dioctl_sg_io_v3.c66 sg_io->cmdp = (void *) (unsigned long) 0xfacefeedfffffff2ULL; in main()
94 sg_io->cmdp, in main()
137 sg_io->cmdp, in main()
196 sg_io->cmdp, in main()
246 sg_io->cmdp, in main()
298 sg_io->cmdp, in main()
346 sg_io->cmdp, in main()
392 sg_io->cmdp, in main()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c1093 struct command *cmdp = cmd_table; in help_me() local
1107 for (cmdp = cmd_table; cmdp->cmd_name != NULL; ++cmdp) { in help_me()
1108 if (cmd == NULL || !strncmp(cmd, cmdp->cmd_name, cmdlen)) { in help_me()
1109 printf("%s\n", cmdp->cmd_help); in help_me()
1128 static bool unique_abbrev(char *cmd, size_t clen, struct command *cmdp) in unique_abbrev() argument
1130 for (; cmdp->cmd_name != NULL; ++cmdp) { in unique_abbrev()
1131 if (!strncmp(cmd, cmdp->cmd_name, clen)) in unique_abbrev()
1141 struct command *cmdp; in parse_command() local
1147 for (cmdp = cmd_table; cmdp->cmd_name != NULL; ++cmdp) { in parse_command()
1151 if (strncmp(cmd, cmdp->cmd_name, clen)) in parse_command()
[all …]
/external/kernel-headers/original/scsi/
Dsg.h54 unsigned char __user *cmdp; /* [i], [*i] points to command to perform */ member
83 compat_uptr_t cmdp; /* [i], [*i] points to command to perform */ member
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux_nvme.c300 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()
Dsg_pt_linux.c839 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()
Dsg_lib.c2053 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()
/external/toybox/toys/other/
Deject.c48 header->cmdp = (void *)sg_driver_cmd[i]; in remove_scsi()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c843 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 …]
/external/strace/
Dsg_io_v3.c87 PRINT_FIELD_SG_IO_BUFFER(", ", sg_io, cmdp, sg_io.cmd_len, 0, tcp); in decode_request()
DChangeLog19891 * sg_io_v3.c (decode_request): Print names of cmd_len, cmdp,
21792 * scsi.c (print_sg_io_v3_req, print_sg_io_v3_res): Cast sg_io_hdr.cmdp,
/external/mtools/
Dscsi.c181 my_scsi_cmd.cmdp = cdb; in scsi_cmd()
/external/python/cpython3/PC/
Dlauncher.c992 wchar_t * cmdp; in read_config_file() local
1007 cmdp = skip_whitespace(value); in read_config_file()
1008 if (*cmdp) { in read_config_file()
/external/f2fs-tools/lib/
Dlibf2fs.c999 io_hdr.cmdp = model_inq; in get_device_info()