/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | terminal.h | 75 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 107 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 126 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 129 # define tcsetattr(fd,action,tty) stty(fd, tty) argument
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/ |
H A D | mmp_reset_interval.ksh | 94 typeset action=$((RANDOM %10)) 95 if [ $action -eq 0 ]; then 102 elif [ $action -eq 1 ]; then 105 elif [ $action -eq 2 ]; then 110 elif [ $action -eq 3 ]; then 114 elif [ $action -eq 4 ]; then
|
/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | vlogin.c | 55 char action; in valid_login() local 75 action = 'w'; in valid_login() 86 action = let; in valid_login() 97 if (action == 'w') in valid_login() 99 else if (action == 'e') in valid_login()
|
/illumos-gate/usr/src/cmd/print/scripts/ |
H A D | ppdmgr | 285 if [[ "${action}" = "${REBUILD}" ]] ; then 1150 if [[ "${action}" = "${ADD}" || \ 1171 if [[ "${action}" = "${ADD}" || \ 1493 action=${ADD} 1498 action=${GENERATEENTRY} 1507 action=${REBUILD} 1515 action=${UPDATE} 1570 if [[ "${action}" = "${ADD}" || \ 1571 "${action}" = "${GENERATEENTRY}" ]] ; then 1596 if [[ "${action}" = "${ADD}" || "${action}" = "${GENERATEENTRY}" ]] ; then [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | nbyte_to_euc.c | 124 if (action == 4) in _icv_iconv() 134 else if (action >= 5 && action <= 8) in _icv_iconv() 136 else if (action == 9) in _icv_iconv() 141 else if (action == 10) in _icv_iconv() 147 else if (action == 11 || action == 12) in _icv_iconv() 151 else if (action == 13) in _icv_iconv() 156 else if (action == 14) in _icv_iconv() 177 else if (action == 15) in _icv_iconv() 182 else if (action == 16) in _icv_iconv() 186 else if (action == 17) in _icv_iconv() [all …]
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_keyboard.c | 348 unsigned short action; in kb_translate() local 367 action = k->alted; in kb_translate() 369 action = k->ctrled; in kb_translate() 371 action = k->shifted; in kb_translate() 373 action = k->normal; in kb_translate() 375 switch (action & 0xFF00) { in kb_translate() 378 return (action & 0xFF); in kb_translate() 382 return ((action & 0xFF) | 0x100); in kb_translate() 398 switch (action) { in kb_translate()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dtmethod.c | 82 int dtcustomize(Dt_t* dt, int type, int action) in dtcustomize() argument 87 (!dt->meth->eventf || (*dt->meth->eventf)(dt, DT_SHARE, (Void_t*)((long)action)) >= 0) ) in dtcustomize() 88 { if(action <= 0 ) in dtcustomize() 95 (!dt->meth->eventf || (*dt->meth->eventf)(dt, DT_ANNOUNCE, (Void_t*)((long)action)) >= 0) ) in dtcustomize() 96 { if(action <= 0 ) in dtcustomize() 103 (!dt->meth->eventf || (*dt->meth->eventf)(dt, DT_OPTIMIZE, (Void_t*)((long)action)) >= 0) ) in dtcustomize()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_missing_001_pos.ksh | 128 action=log_must 155 action=log_mustnot 158 action=log_mustnot 160 '') action=log_mustnot 169 $action zpool import \ 172 [[ $action == "log_mustnot" ]] && continue
|
H A D | zpool_import_missing_003_pos.ksh | 155 typeset action 197 action=log_must 200 action=log_mustnot 203 action=log_mustnot 205 '') action=log_mustnot 209 $action zpool import -d $DEVICE_DIR $TESTPOOL1 212 if [[ $action == log_must ]]; then
|
H A D | zpool_import_missing_002_pos.ksh | 121 typeset action 169 action=log_mustnot 172 action=log_must 175 action=log_must 184 $action zpool import \
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db.cc | 187 switch (action) { in exec_action() 327 db_log_entry le(action, v, query, content); in log_action() 339 if ((action == DB_ADD_NOSYNC) || (action == DB_REMOVE_NOSYNC)) in log_action() 358 switch (action) { in log_action() 360 action = DB_ADD; in log_action() 363 action = DB_REMOVE; in log_action() 392 db::execute(db_action action, db_query *query, in execute() argument 397 switch (action) { in execute() 557 db_action action; in execute_log_entry() local 567 action = j->get_action(); in execute_log_entry() [all …]
|
/illumos-gate/usr/src/cmd/rmmount/ |
H A D | rmmount.c | 72 action_t action; in rmmount() local 126 action = UNMOUNT; in rmmount() 128 action = CLOSETRAY; in rmmount() 130 action = EJECT; in rmmount() 132 action = INSERT; in rmmount() 179 ret = rmm_action(hal_ctx, default_name, action, in rmmount() 191 ret = rmm_action(hal_ctx, argv[optind], action, in rmmount()
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | lockfile.c | 44 int action; variable 55 action = F_SETLK; 57 action = F_SETLKW; 59 if (fcntl(fd, action, &lfd) >= 0)
|
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | sd.c | 165 libscsi_action_t *action = NULL; in sdfw_read_descriptor() local 201 libscsi_action_free(action); in sdfw_read_descriptor() 214 libscsi_action_free(action); in sdfw_read_descriptor() 220 libscsi_action_free(action); in sdfw_read_descriptor() 228 libscsi_action_free(action); in sdfw_read_descriptor() 231 libscsi_action_free(action); in sdfw_read_descriptor() 258 libscsi_action_t *action = NULL; in sdfw_write() local 277 if (action == NULL) { in sdfw_write() 349 libscsi_action_free(action); in sdfw_write() 353 if (action != NULL) in sdfw_write() [all …]
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 447 char *action; in log_transition() local 469 action = gettext("starting"); in log_transition() 472 inst->ri_i.i_fmri + strlen("svc:/"), action, in log_transition() 479 action = gettext("transitioned to maintenance by " in log_transition() 487 action = gettext("misconfigured: transitioned to " in log_transition() 491 action = gettext("failed fatally: transitioned to " in log_transition() 495 action = gettext("timed out: transitioned to " in log_transition() 499 action = gettext("failed: transitioned to " in log_transition() 506 action = gettext("outcome unknown?"); in log_transition() 510 inst->ri_i.i_fmri + strlen("svc:/"), action); in log_transition() [all …]
|
/illumos-gate/usr/src/cmd/volrmmount/ |
H A D | volrmmount.c | 73 action_t action; in main() local 86 action = REMOUNT; in main() 90 action = UNMOUNT; in main() 134 if (!rmm_action(hal_ctx, default_name, action, in main() 141 if (rmm_action(hal_ctx, argv[optind], action, in main()
|
/illumos-gate/usr/src/test/os-tests/tests/sigqueue/ |
H A D | sigqueue_queue_size.c | 77 struct sigaction action; in sigqueue_maximum_test() local 104 action.sa_flags = SA_SIGINFO; in sigqueue_maximum_test() 105 action.sa_sigaction = maximum_test_handler; in sigqueue_maximum_test() 107 error = sigemptyset(&action.sa_mask); in sigqueue_maximum_test() 115 error = sigaction(SIGQUEUE_SIGNAL, &action, 0); in sigqueue_maximum_test()
|
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | vold.c | 176 action_t action; in vold_rmmount() local 291 action = EJECT; in vold_rmmount() 293 action = INSERT; in vold_rmmount() 333 action = REMOUNT; in vold_rmmount() 335 action = UNMOUNT; in vold_rmmount() 473 action_t action; in vold_action() local 543 action = aa[0]->aa_action; in vold_action() 545 if (action == CLEAR_MOUNTS) { in vold_action() 559 } else if (action == EJECT) { in vold_action() 565 } else if (action = INSERT) { in vold_action() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndp.c | 163 switch (action) { in ndp_badflag() 1008 ndp_badflag(action); in main() 1009 action = NDP_A_SET_NCE; in main() 1033 ndp_badflag(action); in main() 1034 action = NDP_A_GET_ALL; in main() 1038 ndp_badflag(action); in main() 1044 ndp_badflag(action); in main() 1045 action = NDP_A_DELETE; in main() 1050 ndp_badflag(action); in main() 1051 action = NDP_A_SET_FILE; in main() [all …]
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 69 int action, /* RTM_DELETE, etc */ in i_ipadm_rtioctl4() argument 97 w.w_rtm.rtm_type = action; in i_ipadm_rtioctl4() 101 if (metric != 0 || action == RTM_CHANGE) { in i_ipadm_rtioctl4() 133 action == RTM_DELETE)) { in i_ipadm_rtioctl4() 134 if (action == RTM_CHANGE) { in i_ipadm_rtioctl4() 135 action = RTM_ADD; in i_ipadm_rtioctl4() 148 int action, /* RTM_DELETE, etc */ in i_ipadm_rtioctl6() argument 175 w.w_rtm.rtm_type = action; in i_ipadm_rtioctl6() 209 action == RTM_DELETE)) { in i_ipadm_rtioctl6() 210 if (action == RTM_CHANGE) { in i_ipadm_rtioctl6() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | math.shlib | 21 # Do $action if the calculated percentage is greater or equal to that passed in: 22 # within_percent A B P && $action 23 # Do $action if the calculated percentage is less than that passed in: 24 # within_percent A B P || $action 50 # Do $action if value is within the tolerance from target passed in: 51 # within_tolerance VAL TAR TOL && $action 52 # Do $action if value surpasses the tolerance from target passed in: 53 # within_tolerance VAL TAR TOL || $action
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 2351 char *action, in add_filters() argument 2394 char *action, in add_classes() argument 3781 res = printparams(fp, action->module, action->params, printall, in printaction() 6152 char *action; in readparams() local 6631 free(action); in alloc_action() 6888 char *action; in readclass() local 7938 &(*action)->perm_classes, &(*action)->num_perm_classes); in readaction() 8110 if (*action) { in readaction() 8488 action = NULL; in readconf() 8666 ipqos_conf_action_t *action = ai_prm->action; in parse_kaction() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | tty | 43 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 65 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 84 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 87 # define tcsetattr(fd,action,tty) stty(fd, tty)
|
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | libcpc.h | 149 void (*action)(void *arg, int index, const char *event, uint64_t preset, 153 void (*action)(void *arg, const char *event)); 155 void (*action)(void *arg, const char *event)); 157 void (*action)(void *arg, uint_t picno, const char *event)); 159 void (*action)(void *arg, uint_t picno, const char *event)); 161 void (*action)(void *arg, const char *attr)); 187 void (*action)(void *arg, int regno, const char *name, uint8_t bits));
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | keytab.h | 110 const char *keyseq, const char *action); 114 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data); 119 int _kt_lookup_action(KeyTab *kt, const char *action, 143 const char *action; /* The name of the action function that is triggered */ member
|