Searched refs:command_table (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/sys/ddb/ |
| H A D | ddb.h | 102 LIST_HEAD(command_table, command); 103 extern struct command_table db_cmd_table; 104 extern struct command_table db_show_table; 105 extern struct command_table db_show_all_table; 124 struct command_table *more; /* another level of command */ 233 void db_command_register(struct command_table *, struct command *); 234 void db_command_unregister(struct command_table *, struct command *);
|
| H A D | db_command.c | 88 struct command_table db_show_active_table = 94 struct command_table db_show_all_table = 104 struct command_table db_show_table = LIST_HEAD_INITIALIZER(db_show_table); 157 struct command_table db_cmd_table = LIST_HEAD_INITIALIZER(db_cmd_table); 191 static void db_cmd_list(struct command_table *table); 192 static int db_cmd_search(char *name, struct command_table *table, 195 struct command_table *cmd_table, int dopager); 222 db_command_register(struct command_table *list, struct command *cmd) in db_command_register() 253 db_command_unregister(struct command_table *list, struct command *cmd) in db_command_unregister() 327 db_cmd_list(struct command_table *table) in db_cmd_list() [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/zpool/ |
| H A D | zpool_main.c | 167 static zpool_command_t command_table[] = { variable 205 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0])) 336 if (command_table[i].name == NULL) in usage() 340 get_usage(command_table[i].usage)); in usage() 6284 if (command_table[i].name == NULL) in find_command_idx() 6287 if (strcmp(command, command_table[i].name) == 0) { in find_command_idx() 6337 current_command = &command_table[i]; in main() 6338 ret = command_table[i].func(argc - 1, argv + 1); in main() 6341 current_command = &command_table[i]; in main() 6342 ret = command_table[i].func(argc, argv); in main()
|
| /freebsd-12.1/sys/dev/gpio/ |
| H A D | gpioths.c | 366 static struct command_table db_gpioths_table = LIST_HEAD_INITIALIZER(db_t4_table);
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/zfs/ |
| H A D | zfs_main.c | 187 static zfs_command_t command_table[] = { variable 230 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0])) 457 if (command_table[i].name == NULL) in usage() 461 get_usage(command_table[i].usage)); in usage() 6999 if (command_table[i].name == NULL) in find_command_idx() 7002 if (strcmp(command, command_table[i].name) == 0) { in find_command_idx() 7506 current_command = &command_table[i]; in main() 7507 ret = command_table[i].func(argc - 1, argv + 1); in main() 7510 current_command = &command_table[i]; in main() 7511 ret = command_table[i].func(argc, argv); in main()
|
| /freebsd-12.1/sys/dev/cxgbe/ |
| H A D | t4_main.c | 10621 static struct command_table db_t4_table = LIST_HEAD_INITIALIZER(db_t4_table);
|