Home
last modified time | relevance | path

Searched refs:command_table (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/ndmpadm/
H A Dndmpadm_main.c85 static ndmp_command_t command_table[] = { variable
95 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0]))
177 get_usage(command_table[i].nc_usage)); in usage()
741 if (strcmp(cmdname, command_table[i].nc_name) == 0) { in main()
742 current_command = &command_table[i]; in main()
743 ret = command_table[i].func(argc - 1, argv + 1, in main()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c194 static zfs_command_t command_table[] = { variable
241 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0]))
484 if (command_table[i].name == NULL) in usage()
488 get_usage(command_table[i].usage)); in usage()
7266 if (command_table[i].name == NULL) in find_command_idx()
7269 if (strcmp(command, command_table[i].name) == 0) { in find_command_idx()
8200 current_command = &command_table[i]; in main()
8201 ret = command_table[i].func(argc - 1, argv + 1); in main()
8204 current_command = &command_table[i]; in main()
8205 ret = command_table[i].func(argc, argv); in main()
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c262 static zpool_command_t command_table[] = { variable
303 #define NCOMMAND (ARRAY_SIZE(command_table))
475 if (command_table[i].name == NULL) in usage()
479 get_usage(command_table[i].usage)); in usage()
8429 if (command_table[i].name == NULL) in find_command_idx()
8432 if (strcmp(command, command_table[i].name) == 0) { in find_command_idx()
8482 current_command = &command_table[i]; in main()
8483 ret = command_table[i].func(argc - 1, argv + 1); in main()
8486 current_command = &command_table[i]; in main()
8487 ret = command_table[i].func(argc, argv); in main()