Searched refs:command_table (Results 1 – 3 of 3) sorted by relevance
84 static ndmp_command_t command_table[] = { variable94 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0]))176 get_usage(command_table[i].nc_usage)); in usage()740 if (strcmp(cmdname, command_table[i].nc_name) == 0) { in main()741 current_command = &command_table[i]; in main()742 ret = command_table[i].func(argc - 1, argv + 1, in main()
155 static zpool_command_t command_table[] = { variable188 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0]))312 if (command_table[i].name == NULL) in usage()316 get_usage(command_table[i].usage)); in usage()5257 if (command_table[i].name == NULL) in find_command_idx()5260 if (strcmp(command, command_table[i].name) == 0) { in find_command_idx()5336 current_command = &command_table[i]; in main()5337 ret = command_table[i].func(argc - 1, argv + 1); in main()5340 current_command = &command_table[i]; in main()5341 ret = command_table[i].func(argc, argv); in main()
180 static zfs_command_t command_table[] = { variable220 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0]))443 if (command_table[i].name == NULL) in usage()447 get_usage(command_table[i].usage)); in usage()6702 if (command_table[i].name == NULL) in find_command_idx()6705 if (strcmp(command, command_table[i].name) == 0) { in find_command_idx()7486 current_command = &command_table[i]; in main()7487 ret = command_table[i].func(argc - 1, argv + 1); in main()7490 current_command = &command_table[i]; in main()7491 ret = command_table[i].func(argc, argv); in main()