Searched refs:current_command (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/cmd/ndmpadm/ |
H A D | ndmpadm_main.c | 162 usage(boolean_t requested, ndmp_command_t *current_command) in usage() argument 168 if (current_command == NULL) { in usage() 182 (void) fprintf(fp, "%s", get_usage(current_command->nc_usage)); in usage() 183 if ((current_command->nc_usage == HELP_ENABLE_AUTH) || in usage() 184 (current_command->nc_usage == HELP_DISABLE_AUTH)) in usage() 190 if (current_command != NULL && in usage() 191 (strcmp(current_command->nc_name, "set") == 0)) in usage() 715 ndmp_command_t *current_command = NULL; in main() local 725 usage(B_FALSE, current_command); in main() 734 usage(B_TRUE, current_command); in main() [all …]
|
/titanic_44/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 190 static zpool_command_t *current_command; variable 304 if (current_command == NULL) { in usage() 320 (void) fprintf(fp, "%s", get_usage(current_command->usage)); in usage() 323 if (current_command != NULL && in usage() 324 ((strcmp(current_command->name, "set") == 0) || in usage() 325 (strcmp(current_command->name, "get") == 0) || in usage() 326 (strcmp(current_command->name, "list") == 0))) { in usage() 5334 current_command = &command_table[i]; in main() 5338 current_command = &command_table[i]; in main()
|
/titanic_44/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 222 zfs_command_t *current_command; variable 436 if (current_command == NULL) { in usage() 454 (void) fprintf(fp, "%s", get_usage(current_command->usage)); in usage() 457 if (current_command != NULL && in usage() 458 (strcmp(current_command->name, "set") == 0 || in usage() 459 strcmp(current_command->name, "get") == 0 || in usage() 460 strcmp(current_command->name, "inherit") == 0 || in usage() 461 strcmp(current_command->name, "list") == 0)) in usage() 7485 current_command = &command_table[i]; in main() 7489 current_command = &command_table[i]; in main()
|