Searched defs:current_command (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/ndmpadm/ |
H A D | ndmpadm_main.c | 162 usage(boolean_t requested, ndmp_command_t *current_command) argument 168 if (current_command == NULL) { 182 (void) fprintf(fp, "%s", get_usage(current_command->nc_usage)); 183 if ((current_command->nc_usage == HELP_ENABLE_AUTH) || 184 (current_command->nc_usage == HELP_DISABLE_AUTH)) 190 if (current_command != NULL && 191 (strcmp(current_command->nc_name, "set") == 0)) 715 ndmp_command_t *current_command = NULL; local 725 usage(B_FALSE, current_command); 734 usage(B_TRUE, current_command); [all...] |
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 194 static zpool_command_t *current_command; variable 311 if (current_command == NULL) { 327 (void) fprintf(fp, "%s", get_usage(current_command->usage)); 330 if (current_command != NULL && 331 ((strcmp(current_command->name, "set") == 0) || 332 (strcmp(current_command->name, "get") == 0) || 333 (strcmp(current_command->name, "list") == 0))) { 5431 current_command = &command_table[i]; 5435 current_command = &command_table[i];
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 212 zfs_command_t *current_command; variable 406 if (current_command == NULL) { 424 (void) fprintf(fp, "%s", get_usage(current_command->usage)); 427 if (current_command != NULL && 428 (strcmp(current_command->name, "set") == 0 || 429 strcmp(current_command->name, "get") == 0 || 430 strcmp(current_command->name, "inherit") == 0 || 431 strcmp(current_command->name, "list") == 0)) 7023 current_command = &command_table[i]; 7027 current_command [all...] |
Completed in 101 milliseconds