Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/f2fs_io/
Df2fs_io.c40 struct cmd_desc { struct
42 void (*cmd_func)(int, char **, const struct cmd_desc *); argument
43 const char *cmd_desc; member
59 static void do_shutdown(int argc, char **argv, const struct cmd_desc *cmd) in do_shutdown() argument
97 static void do_pinfile(int argc, char **argv, const struct cmd_desc *cmd) in do_pinfile()
156 static void do_write(int argc, char **argv, const struct cmd_desc *cmd) in do_write()
235 static void do_read(int argc, char **argv, const struct cmd_desc *cmd) in do_read()
327 static void do_fiemap(int argc, char **argv, const struct cmd_desc *cmd) in do_fiemap()
370 static void do_gc_urgent(int argc, char **argv, const struct cmd_desc *cmd) in do_gc_urgent()
405 static void do_help(int argc, char **argv, const struct cmd_desc *cmd);
[all …]
/external/e2fsprogs/misc/
De4crypt.c630 struct cmd_desc { struct
632 void (*cmd_func)(int, char **, const struct cmd_desc *); argument
633 const char *cmd_desc; argument
640 static void do_help(int argc, char **argv, const struct cmd_desc *cmd); argument
652 static void do_add_key(int argc, char **argv, const struct cmd_desc *cmd) in do_add_key()
720 static void do_set_policy(int argc, char **argv, const struct cmd_desc *cmd) in do_set_policy()
760 static void do_get_policy(int argc, char **argv, const struct cmd_desc *cmd) in do_get_policy()
801 const struct cmd_desc *cmd) in do_new_session()
827 const struct cmd_desc cmd_list[] = {
837 const struct cmd_desc *cmd EXT2FS_ATTR((unused))) in do_help()
[all …]
/external/f2fs-tools/tools/
Df2fscrypt.c667 struct cmd_desc { struct
669 void (*cmd_func)(int, char **, const struct cmd_desc *); argument
670 const char *cmd_desc; argument
677 static void do_help(int argc, char **argv, const struct cmd_desc *cmd); argument
689 static void do_add_key(int argc, char **argv, const struct cmd_desc *cmd) in do_add_key()
755 static void do_set_policy(int argc, char **argv, const struct cmd_desc *cmd) in do_set_policy()
795 static void do_get_policy(int argc, char **argv, const struct cmd_desc *cmd) in do_get_policy()
842 const struct cmd_desc *cmd) in do_new_session()
868 const struct cmd_desc cmd_list[] = {
877 static void do_help(int argc, char **argv, const struct cmd_desc *UNUSED(cmd)) in do_help()
[all …]
/external/u-boot/drivers/ata/
Dfsl_sata.c139 length = sizeof(struct cmd_desc) * SATA_HC_MAX_CMD; in init_sata()
146 sata->cmd_desc = (cmd_desc_t *)(((u32)sata->cmd_desc_offset + align) in init_sata()
153 cda = ((u32)sata->cmd_desc + SATA_HC_CMD_DESC_SIZE * i) in init_sata()
297 cmd_desc_t *cmd_desc; in fsl_ata_exec_ata_cmd() local
314 cmd_desc = sata->cmd_desc + tag; in fsl_ata_exec_ata_cmd()
317 h2d = (sata_fis_h2d_t *)cmd_desc->cfis; in fsl_ata_exec_ata_cmd()
348 prde = (prd_entry_t *)cmd_desc->prdt; in fsl_ata_exec_ata_cmd()
380 cmd_hdr->cda = cpu_to_le32((u32)cmd_desc & ~0x3); in fsl_ata_exec_ata_cmd()
429 fsl_sata_dump_sfis((struct sata_fis_d2h *)cmd_desc->sfis); in fsl_ata_exec_ata_cmd()
Dfsl_sata.h272 typedef struct cmd_desc { struct
280 #define SATA_HC_CMD_DESC_SIZE sizeof(struct cmd_desc) argument
303 cmd_desc_t *cmd_desc; /* aligned address of command descriptor */ member