Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c114 uint_t action; in rctl_save_walk_cb() local
125 action = rctlblk_get_global_action(gblk); in rctl_save_walk_cb()
129 if (action & RCTL_GLOBAL_SYSLOG) in rctl_save_walk_cb()
178 rctladm_setup_action(char *name, char *action, int line) in rctladm_setup_action() argument
180 if (action[0] == '\0') { in rctladm_setup_action()
185 rctladm_enable(name, action); in rctladm_setup_action()
195 char *action; in rctladm_read_config() local
247 action = strtok(actions, ";"); in rctladm_read_config()
248 rctladm_setup_action(name, action, line); in rctladm_read_config()
249 while (action = strtok(NULL, ";")) in rctladm_read_config()
[all …]
/illumos-gate/usr/src/cmd/psradm/
H A Dpsradm.c98 psr_action_lookup(int action) in psr_action_lookup() argument
103 if (psr_action[i].p_op == action) { in psr_action_lookup()
118 psr_set_state(processorid_t cpu, int action, psr_action_t *pac, int mustexist) in psr_set_state() argument
137 if (old_state == P_FAULTED && action != P_FAULTED && !force) { in psr_set_state()
143 old_state = p_online(cpu, force ? action | P_FORCED : action); in psr_set_state()
154 if (old_state == action) { in psr_set_state()
195 do_range(processorid_t first, processorid_t last, int action, in do_range() argument
204 if ((rv = psr_set_state(cpu, action, pac, 0)) > 0) in do_range()
221 int action = 0; in main() local
250 if (action != 0 && action != c) { in main()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpkrd.c40 ssize_t sfpkrd(int fd, Void_t* argbuf, size_t n, int rc, long tm, int action) in sfpkrd() argument
42 ssize_t sfpkrd(fd, argbuf, n, rc, tm, action) in sfpkrd()
48 int action; /* >0: peeking, if rc>=0, get action records,
58 if(rc < 0 && tm < 0 && action <= 0)
61 t = (action > 0 || rc >= 0) ? (STREAM_PEEK|SOCKET_PEEK) : 0;
111 { if(action <= 0) /* read past eof */
128 while(tm >= 0 || action > 0 ||
213 { if(action <= 0 && rc < 0)
279 { if(action <= 0)
289 { if(tm >= 0 || action > 0)
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dnbyte_to_UTF2.c95 int cur_input, action, state; in _icv_iconv() local
104 action = next_act[cd->cur_stat][cur_input]; in _icv_iconv()
106 if (action == 4) in _icv_iconv()
116 else if (action >= 5 && action <= 8) in _icv_iconv()
117 cd->hbuf[action - 4] = *ib; in _icv_iconv()
118 else if (action == 9) in _icv_iconv()
123 else if (action == 10) in _icv_iconv()
129 else if (action == 11 || action == 12) in _icv_iconv()
133 else if (action == 13) in _icv_iconv()
138 else if (action == 14) in _icv_iconv()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c252 nwam_action_t action = req->nwda_data.nwdad_object_action.nwdad_action; in nwamd_door_req_action() local
272 if (action == NWAM_ACTION_ENABLE || action == NWAM_ACTION_DISABLE) { in nwamd_door_req_action()
275 action == NWAM_ACTION_ENABLE ? in nwamd_door_req_action()
280 nwam_action_to_string(action)); in nwamd_door_req_action()
287 AUTOCONF_WLAN_AUTH, nwam_action_to_string(action)); in nwamd_door_req_action()
290 } else if (action == NWAM_ACTION_ADD || action == NWAM_ACTION_DESTROY) { in nwamd_door_req_action()
294 nwam_action_to_string(action)); in nwamd_door_req_action()
297 } else if (action == NWAM_ACTION_REFRESH) { in nwamd_door_req_action()
303 nwam_action_to_string(action)); in nwamd_door_req_action()
308 "action %d (%s)", action, nwam_action_to_string(action)); in nwamd_door_req_action()
[all …]
/illumos-gate/usr/src/tools/scripts/
H A Dvalidate_pkg.py289 def __init__(self, action, error): argument
291 self.action = action
295 return "Error in '%s': %s" % (self.action, self.error)
304 def __init__(self, action): argument
311 self.path = action.attrs["path"]
313 if action.name == "file":
314 self.owner = action.attrs["owner"]
315 self.group = action.attrs["group"]
316 self.mode = action.attrs["mode"]
317 self.hash = action.hash
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dtsearch.c201 static void _twalk(Tree_t* obj, void(*action)(const Void_t*,VISIT,int), int level) in _twalk()
203 static void _twalk(obj,action,level) in _twalk()
205 void(* action)();
209 (*action)((Void_t*)obj,leaf,level);
211 { (*action)((Void_t*)obj,preorder,level);
213 _twalk((Tree_t*)obj->lchild,action,level+1);
214 (*action)((Void_t*)obj,postorder,level);
216 _twalk((Tree_t*)obj->rchild,action,level+1);
217 (*action)((Void_t*)obj,endorder,level);
227 void twalk(const Void_t* root, void(*action)(const Void_t*,VISIT,int) ) in twalk()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dtimers.c35 void (*action)(void*); member
114 if(tp->action) in sigalrm()
156 void (*action)(void*); in sigalrm() local
157 action = tp->action; in sigalrm()
159 tp->action = 0; in sigalrm()
162 (*action)(tp->handle); in sigalrm()
181 void *sh_timeradd(unsigned long msec,int flags,void (*action)(void*),void *handle) in sh_timeradd()
187 if(t<=0 || !action) in sh_timeradd()
195 tp->action = action; in sh_timeradd()
215 else if(tpmin && !tpmin->action) in sh_timeradd()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c107 _reset_devalloc(int action) in _reset_devalloc() argument
111 if (action == DA_ON) in _reset_devalloc()
113 else if ((action == DA_OFF) && (open(DEVALLOC, O_RDONLY) == -1)) in _reset_devalloc()
116 if (action == DA_ON) in _reset_devalloc()
118 else if (action == DA_OFF) in _reset_devalloc()
177 _update_devalloc_db(devlist_t *devlist, int devflag, int action, char *devname, in _update_devalloc_db() argument
185 if (action == DA_ADD) { in _update_devalloc_db()
207 (void) _update_dev(dentry, action, NULL, NULL, in _update_devalloc_db()
210 } else if (action == DA_REMOVE) { in _update_devalloc_db()
230 nickname = _update_dev(NULL, action, typestring, NULL, in _update_devalloc_db()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsearch.c130 void (*action)(const void *, VISIT, int)) in twalk()
134 if (root != NULL && action != NULL) in twalk()
135 __twalk(root, action, 0); in twalk()
142 void (*action)(const void *, VISIT, int), in __twalk()
146 (*action)(root, leaf, level); in __twalk()
148 (*action)(root, preorder, level); in __twalk()
150 __twalk(root->llink, action, level + 1); in __twalk()
151 (*action)(root, postorder, level); in __twalk()
153 __twalk(root->rlink, action, level + 1); in __twalk()
154 (*action)(root, endorder, level); in __twalk()
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpforms.c155 Action action = 0; in main() local
237 action = set_action(add_form, "-F"); in main()
242 action = set_action(list_alert, "\"-A list\""); in main()
245 action = set_action(quiet_alert, "\"-A quiet\""); in main()
252 action = set_action(add_alert, "-A"); in main()
276 action = set_action(add_alert, "-Q"); in main()
295 action = set_action(add_alert, "-W"); in main()
302 action = set_action(add_form, "-u"); in main()
306 action = set_action(delete_form, "-x"); in main()
311 action = set_action(list_form, "-L"); in main()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dalarm.c42 Namval_t *action; member
143 if(tp->action) in sh_timetraps()
144 sh_fun(tp->action,tp->node,(char**)0); in sh_timetraps()
162 static char *setdisc(Namval_t *np, const char *event, Namval_t* action, Namfun_t in setdisc() argument
167 return(action?"":(char*)ALARM); in setdisc()
171 return(nv_setdisc(np, event, action, fp)); in setdisc()
173 if(action==np) in setdisc()
174 action = tp->action; in setdisc()
176 tp->action = action; in setdisc()
177 return(action?(char*)action:""); in setdisc()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dpager.c85 int action; in pager_output() local
100 action = 0; in pager_output()
101 while (action == 0) { in pager_output()
106 action = 1; in pager_output()
110 action = 1; in pager_output()
114 action = 2; in pager_output()
121 if (action == 2) in pager_output()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c146 alp->action.action = AUTOFS_MOUNT_RQ; in mount_autofs()
147 if ((alp->action.action_list_entry_u.mounta.spec = in mount_autofs()
150 if ((alp->action.action_list_entry_u.mounta.dir = in mount_autofs()
169 alp->action.action_list_entry_u.mounta.optptr = buf; in mount_autofs()
170 alp->action.action_list_entry_u.mounta.optlen = strlen(buf) + 1; in mount_autofs()
171 alp->action.action_list_entry_u.mounta.flags = in mount_autofs()
173 if ((alp->action.action_list_entry_u.mounta.fstype = in mount_autofs()
176 alp->action.action_list_entry_u.mounta.dataptr = (char *)fnip; in mount_autofs()
177 alp->action.action_list_entry_u.mounta.datalen = sizeof (*fnip); in mount_autofs()
187 alp->action.action_list_entry_u.mounta.dataptr = NULL; in mount_autofs()
[all …]
H A Dautod_lookup.c48 autofs_action_t *action, in do_lookup1() argument
64 *action = AUTOFS_NONE; in do_lookup1()
122 if (mapents == NULL && *action == AUTOFS_NONE) { in do_lookup1()
153 if (mapents == NULL && *action == AUTOFS_NONE) in do_lookup1()
159 if (*action == AUTOFS_NONE && (iswildcard == TRUE)) { in do_lookup1()
160 *action = AUTOFS_MOUNT_RQ; in do_lookup1()
164 *action, iswildcard ? "TRUE" : "FALSE", err); in do_lookup1()
/illumos-gate/usr/src/common/ficl/ficlplatform/
H A Dpager.c105 int action; in pager_output() local
120 action = 0; in pager_output()
121 while (action == 0) { in pager_output()
126 action = 1; in pager_output()
130 action = 1; in pager_output()
134 action = 2; in pager_output()
141 if (action == 2) in pager_output()
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddm_platform.c116 char *action; in parse_action_string() local
125 action = dstrdup(actionString); in parse_action_string()
129 if ((tok = strtok_r(action, " \t", &lasts)) != NULL) { in parse_action_string()
171 dfree(action, actionlen); in parse_action_string()
338 extract_protocol(const char *action) in extract_protocol() argument
340 char *s = strchr(action, PROTOCOL_SEPARATOR); in extract_protocol()
347 len = (uintptr_t)s - (uintptr_t)action; in extract_protocol()
350 proto[i] = tolower(action[i]); in extract_protocol()
360 extract_action(const char *action) in extract_action() argument
363 char *s = strchr(action, PROTOCOL_SEPARATOR); in extract_action()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c57 void (*action)(void *, VISIT, int, void *), in slp_twalk()
61 (*action)(root, leaf, level, cookie); in slp_twalk()
63 (*action)(root, preorder, level, cookie); in slp_twalk()
65 slp_twalk(root->llink, action, level + 1, cookie); in slp_twalk()
66 (*action)(root, postorder, level, cookie); in slp_twalk()
68 slp_twalk(root->rlink, action, level + 1, cookie); in slp_twalk()
69 (*action)(root, endorder, level, cookie); in slp_twalk()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.c206 const char *action) in _kt_set_keybinding() argument
222 if(!action) { in _kt_set_keybinding()
226 Symbol *sym = _find_HashSymbol(kt->actions, action); in _kt_set_keybinding()
228 _err_record_msg(kt->err, "Unknown key-binding action: ", action, in _kt_set_keybinding()
368 KtAction *action = sym->actions + i; in _kt_set_keyfn() local
369 action->fn = 0; in _kt_set_keyfn()
370 action->data = NULL; in _kt_set_keyfn()
661 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data) in _kt_set_action() argument
667 if(!kt || !action) { in _kt_set_action()
677 sym = _del_HashSymbol(kt->actions, action); in _kt_set_action()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dlookup.c101 lookup(name, action, value) in lookup() argument
103 int action;
112 printf("lookup(%s, %d, %x)\n", name, action, value);
122 if (action != LOOKUP) {
123 if (action != INSERT || s->s_type != CONST) {
132 if (action == LOOKUP) {
144 s->s_type = action == INSERT ? VAR : CONST;
/illumos-gate/usr/src/cmd/mesg/
H A Dmesg.c62 int action = 0; in main() local
97 if (action > 0) in main()
101 action++; in main()
105 if (action > 0) in main()
110 action++; in main()
123 if (action > 0) in main()
/illumos-gate/usr/src/cmd/cmd-inet/etc/
H A Dipqosconf.2.sample41 action {
43 # Name must be ipgpc.classify for ipgpc action.
62 # meter5mbps invokes action af11 for a packet that does not exceed the
65 action {
77 # RED action, mark DSCP with AF13.
79 # YELLOW action, mark DSCP with AF12.
81 # GREEN action, mark DSCP with AF13.
89 action {
93 # Enable global stats for action.
102 action {
[all …]
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c593 int action; in parse_acl_args() local
606 action = ACL_ADD; in parse_acl_args()
611 action = ACL_STRIP; in parse_acl_args()
613 action = ACL_DELETE; in parse_acl_args()
614 if (action != ACL_STRIP) { in parse_acl_args()
617 action = ACL_SLOT_DELETE; in parse_acl_args()
629 action = ACL_REPLACE; in parse_acl_args()
636 if ((action == ACL_REPLACE || action == ACL_ADD) && acl_spec[0] == '\0') in parse_acl_args()
651 new_acl_args->acl_action = action; in parse_acl_args()
1184 set_attr_args(f_attr_t attr, char action, char *attractptr) in set_attr_args() argument
[all …]
/illumos-gate/usr/src/cmd/fm/dicts/
H A DSMF.po40 msgid "SMF-8000-05.action"
56 msgid "SMF-8000-1S.action"
72 msgid "SMF-8000-2A.action"
88 msgid "SMF-8000-3P.action"
104 msgid "SMF-8000-4D.action"
120 msgid "SMF-8000-5H.action"
136 msgid "SMF-8000-63.action"
152 msgid "SMF-8000-7Y.action"
168 msgid "SMF-8000-8Q.action"
184 msgid "SMF-8000-9C.action"
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_timer.c315 gact_t action, int calltype) in ghd_timer_newstate() argument
343 switch (action) { in ghd_timer_newstate()
444 if (action == GACTION_RESET_BUS && cccp->ccc_waitq_frozen) { in ghd_timer_newstate()
450 if ((*func)(hba_handle, gcmdp, gtgtp, action, calltype)) { in ghd_timer_newstate()
458 if (action == GACTION_INCOMPLETE) in ghd_timer_newstate()
470 action = next_action; in ghd_timer_newstate()
496 switch (action) { in ghd_timer_newstate()
599 gact_t action; in ghd_timer_poll() local
619 action = GACTION_EARLY_TIMEOUT; in ghd_timer_poll()
623 action = GACTION_ABORT_CMD; in ghd_timer_poll()
[all …]

12345678910>>...20