/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfeature.c | 375 feature_do_action(spa_t *spa, spa_feature_t fid, feature_action_t action, argument 392 switch (action) {
|
/illumos-gate/usr/src/cmd/zinject/ |
H A D | zinject.c | 243 "\t\tPerform a specific action on a particular device\n" 666 int action = VDEV_STATE_UNKNOWN; local 715 action = VDEV_STATE_DEGRADED; 717 action = VDEV_STATE_FAULTED; 719 (void) fprintf(stderr, "invalid action '%s': " 951 if (action != VDEV_STATE_UNKNOWN) 952 return (perform_action(pool, &record, action));
|
/illumos-gate/usr/src/boot/sys/boot/uboot/common/ |
H A D | main.c | 574 handle_uboot_env_var(enum ubenv_action action, const char * var) argument 586 if (action == UBENV_IMPORT) { 618 if (action == UBENV_SHOW) { 623 } else if (action == UBENV_IMPORT) { 633 enum ubenv_action action; local 637 action = UBENV_UNKNOWN; 640 action = UBENV_IMPORT; 642 action = UBENV_SHOW; 644 if (action == UBENV_UNKNOWN) { 651 handle_uboot_env_var(action, arg [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | mkservice.c | 41 "\avarname\a\b.action\b and \avarname\a\b.close\b implement the " 48 "[+action?This function is invoked when there is data waiting " 108 "action", 346 static char* setdisc(Namval_t* np, const char* event, Namval_t* action, Namfun_t* fp) argument 358 if (action == np) 359 action = sp->disc[i]; 364 if (action) 365 sp->disc[i] = action; 369 return action ? (char*)action [all...] |
/illumos-gate/usr/src/lib/libelfsign/common/ |
H A D | elfcertlib.c | 184 * action - indicates crypto verification call 192 char *signer_DN, ELFCert_t *certp, enum ES_ACTION action) 221 if (action != ES_GET_CRYPTO) 191 elfcertlib_getcert(ELFsign_t ess, char *cert_pathname, char *signer_DN, ELFCert_t *certp, enum ES_ACTION action) argument
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db.cc | 167 /* Execute the specified action using the rest of the arguments as input. 170 db::exec_action(db_action action, db_query *query, argument 189 switch (action) { 318 * Log the given action and execute it. 319 * The minor version of the database is updated after the action has 322 * action is unknown. 325 db::log_action(db_action action, db_query *query, entry_object *content) argument 329 db_log_entry le(action, v, query, content); 341 if ((action == DB_ADD_NOSYNC) || (action 394 execute(db_action action, db_query *query, entry_object *content, db_next_desc* previous) argument 559 db_action action; local [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_object.c | 371 nwam_action_t action; local 390 * Does object already exist? If not, action is ADD, otherwise REFRESH. 395 action = NWAM_ACTION_ADD; 403 action = NWAM_ACTION_REFRESH; 424 hp->nwh_name, ncpname, action); 429 NULL, action); 497 * to ensure an enable/disable action is valid for the object. "parent" in these
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | hsearch.c | 246 * action: FIND or ENTER 249 hsearch(ENTRY item, ACTION action) argument 259 if(action == ENTER) 272 if(action == ENTER) 288 D6: if(action == FIND) /* Insert if requested */ 368 * action: FIND or ENTER 371 hsearch(ENTRY item, ACTION action) argument 383 if(action == FIND) 400 if(action == FIND)
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | ptrace.c | 724 struct sigaction action[MAXSIG]; local 729 (void) memset((char *)action, 0, sizeof (action)); 731 (void) read(fd, (char *)action, sizeof (action)); 735 cp->user.u_signal[i] = action[i].sa_handler;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | hsearch.c | 282 *hsearch(ENTRY item, ACTION action) argument 284 /* action: FIND or ENTER */ 295 if (action == ENTER) 308 if (action == ENTER) 324 D6: if (action == FIND) /* Insert if requested */ 411 *hsearch(item, action) /* Chained search with sorted lists */ 413 ACTION action; /* FIND or ENTER */ 426 if (action == FIND) 442 if (action == FIND)
|
/illumos-gate/usr/src/lib/libc/sparc/sys/ |
H A D | ptrace.c | 734 struct sigaction action[MAXSIG]; local 739 (void) memset((char *)action, 0, sizeof (action)); 741 (void) read(fd, (char *)action, sizeof (action)); 745 cp->user.u_signal[i] = action[i].sa_handler;
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 68 int action, /* RTM_DELETE, etc */ 96 w.w_rtm.rtm_type = action; 100 if (metric != 0 || action == RTM_CHANGE) { 131 if (errno == ESRCH && (action == RTM_CHANGE || 132 action == RTM_DELETE)) { 133 if (action == RTM_CHANGE) { 134 action = RTM_ADD; 147 int action, /* RTM_DELETE, etc */ 174 w.w_rtm.rtm_type = action; 207 if (errno == ESRCH && (action 67 i_ipadm_rtioctl4(int rtsock, int action, in_addr_t dst, in_addr_t gate, uint_t masklen, char *ifname, uint8_t metric, int flags) argument 146 i_ipadm_rtioctl6(int rtsock, int action, in6_addr_t dst, in6_addr_t gate, uint_t prefix_length, char *ifname, int flags) argument [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_hdlr.c | 163 __fex_sync_with_threads(enum __libm_mt_fex_sync_actions action, argument 166 switch (action) {
|
/illumos-gate/usr/src/cmd/ucodeadm/ |
H A D | ucodeadm.c | 478 int action = 0; local 505 action |= UCODE_OPT_INSTALL; 510 action |= UCODE_OPT_UPDATE; 515 action |= UCODE_OPT_VERSION; 559 else if (!(action & UCODE_OPT_VERSION)) 562 if (errflg || action == 0) { 570 if ((action & UCODE_OPT_INSTALL) || (action & UCODE_OPT_UPDATE)) { 633 if (action & UCODE_OPT_INSTALL) { 666 if (action [all...] |
/illumos-gate/usr/src/cmd/users/ |
H A D | users.c | 186 * void wrtmsg(severity, action, tag, text[, txtarg1[, txtarg2[, ...]]]) 193 * action The action-string used to generate the action- 207 wrtmsg(int severity, char *action, char *tag, char *text, ...) argument 224 action, tag);
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | NS.c | 276 const char *action, 307 if (strcmp(action, "delete") == 0) { 338 } else if (strcmp(action, "add") == 0) { 446 const char *action, 481 if (strcmp(action, "delete") == 0) { 534 } else if (strcmp(action, "add") == 0) { 275 _updateoldyp( const char *action, const char *printername, const char *printserver, const char *extensions, const char *comment, const char *isdefault) argument 445 _updateldap( const char *action, const char *host, const char *binddn, const char *passwd, const char *printername, const char *printserver, const char *extensions, const char *comment, const char *isdefault) argument
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metainit.c | 711 enum action { enum
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ipp/ |
H A D | ipp.c | 41 static int action(uintptr_t, uint_t, int, const mdb_arg_t *); 135 action( function 389 mdb_printf("%?s %20s = 0x%p\n", "", "action", imp->ippm_action); 680 mdb_warn("corrupt action at %p", ptr); 692 "display ipp_action structure", action },
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 116 char *action; local 125 action = dstrdup(actionString); 129 if ((tok = strtok_r(action, " \t", &lasts)) != NULL) { 171 dfree(action, actionlen); 338 extract_protocol(const char *action) argument 340 char *s = strchr(action, PROTOCOL_SEPARATOR); 347 len = (uintptr_t)s - (uintptr_t)action; 350 proto[i] = tolower(action[i]); 360 extract_action(const char *action) argument 362 /* The action i 369 do_action(const char *action, dm_fru_t *fru) argument 403 dm_platform_update_fru(const char *action, dm_fru_t *fru) argument 409 dm_platform_indicator_execute(const char *action) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | remove.c | 614 int action; local 620 if ((action = aplist_test(ghalpp, ghp1, AL_CNT_GRPCLCT)) != 622 return (action); 641 if ((action = aplist_test(lmalpp, lmp, AL_CNT_GRPCLCT)) == 644 if (action == ALE_EXISTS)
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | object.c | 517 * Return the action of the transaction command whose command number is 518 * cmd_no. The action is placed at *action. 525 enum rep_protocol_transaction_action *action) 534 *action = cur->tx_cmd->rptc_action; 524 tx_cmd_action(tx_commit_data_t *tx_data, size_t cmd_no, enum rep_protocol_transaction_action *action) argument
|
/illumos-gate/usr/src/cmd/svc/lsvcrun/ |
H A D | lsvcrun.c | 497 prepare_contract(const char *script, const char *action) argument 533 (void) strlcpy(svc_strbuf, action, CT_PARAM_MAX_SIZE); 801 const char *restarter, *script, *action; local 838 action = argv[optind + 1]; 840 if (strcmp(action, "start") == 0) 842 else if (strcmp(action, "stop") == 0) 865 if (prepare_contract(script, action) == -1) { 917 arg3 = action;
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldmad.c | 517 struct sigaction action; local 528 action.sa_sigaction = ldma_sigusr_handler; 529 action.sa_flags = SA_SIGINFO; 531 if (sigemptyset(&action.sa_mask) == -1) { 536 if (sigaction(SIGUSR1, &action, NULL) == -1) {
|
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/ |
H A D | install.h | 49 /* Settings for class action scripts */ 95 char *action; member in struct:admin
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_intr_irm.c | 1285 ddi_cb_action_t action; local 1298 /* Determine action and count */ 1300 action = DDI_CB_INTR_ADD; 1305 action = DDI_CB_INTR_REMOVE; 1318 ret = cb_p->cb_func(req_p->ireq_dip, action, (void *)(uintptr_t)count, 1323 cmn_err(CE_WARN, "%s%d: failed callback (action=%d, ret=%d)\n", 1325 ddi_get_instance(req_p->ireq_dip), (int)action, ret);
|