Home
last modified time | relevance | path

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

12345678910>>...20

/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c114 uint_t action; in rctl_save_walk_cb() local
129 if (action & RCTL_GLOBAL_SYSLOG) in rctl_save_walk_cb()
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()
448 char *action; in main() local
459 action = optarg; in main()
463 action = optarg; in main()
514 rctladm_enable(rctl, action); in main()
[all …]
/illumos-gate/usr/src/cmd/psradm/
H A Dpsradm.c143 old_state = p_online(cpu, force ? action | P_FORCED : action); in psr_set_state()
154 if (old_state == action) { in psr_set_state()
221 int action = 0; in main() local
250 if (action != 0 && action != c) { in main()
257 action = c; in main()
292 switch (action) { in main()
294 action = P_OFFLINE; in main()
297 action = P_NOINTR; in main()
300 action = P_ONLINE; in main()
303 action = P_SPARE; in main()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpkrd.c58 if(rc < 0 && tm < 0 && action <= 0)
128 while(tm >= 0 || action > 0 ||
213 { if(action <= 0 && rc < 0)
279 { if(action <= 0)
289 { if(tm >= 0 || action > 0)
293 if((action = action ? -action : 1) > (int)n)
294 action = n;
300 action -= 1;
301 if(action == 0 || (int)(n-r) < action)
312 t = action == 0 ? 1 : action < 0 ? -action : action;
[all …]
/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dnbyte_to_UTF2.c106 if (action == 4) in _icv_iconv()
116 else if (action >= 5 && action <= 8) 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()
159 else if (action == 15) in _icv_iconv()
164 else if (action == 16) in _icv_iconv()
168 else if (action == 17) in _icv_iconv()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c272 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()
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()
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()
312 switch (action) { in nwamd_door_req_action()
316 action == NWAM_ACTION_ENABLE ? in nwamd_door_req_action()
335 if (action == NWAM_ACTION_DISABLE) { in nwamd_door_req_action()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dtsearch.c203 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);
229 void twalk(root, action) in twalk()
231 void(* action)();
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dtsearch.c132 void (*action)(const void *, VISIT, int)) in twalk()
136 if (root != NULL && action != NULL) in twalk()
137 __twalk(root, action, 0); in twalk()
144 void (*action)(const void *, VISIT, int), in __twalk()
148 (*action)(root, leaf, level); in __twalk()
150 (*action)(root, preorder, level); in __twalk()
152 __twalk(root->llink, action, level + 1); in __twalk()
153 (*action)(root, postorder, level); in __twalk()
155 __twalk(root->rlink, action, level + 1); in __twalk()
156 (*action)(root, endorder, level); in __twalk()
/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()
187 if(t<=0 || !action) in sh_timeradd()
195 tp->action = action; in sh_timeradd()
215 else if(tpmin && !tpmin->action) in sh_timeradd()
235 tp->action = 0; in timerdel()
[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()
116 if (action == DA_ON) in _reset_devalloc()
118 else if (action == DA_OFF) in _reset_devalloc()
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()
249 (void) _update_dev(entry, action, NULL, devname, NULL); in _update_devalloc_db()
297 if (action == DA_ADD) { in _update_dev()
[all …]
/illumos-gate/usr/src/tools/scripts/
H A Dvalidate_pkg.py294 def __init__(self, action): argument
301 self.path = action.attrs["path"]
303 if action.name == "file":
307 self.hash = action.hash
308 if "preserve" in action.attrs:
310 elif action.name == "link":
311 target = action.attrs["target"]
314 elif action.name == "dir":
319 elif action.name == "hardlink":
325 def supported(action): argument
[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()
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()
217 if(tp->action) in putval()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpforms.c155 Action action = 0; in main() local
360 if (!action) { in main()
380 action == add_form in main()
1242 Action action, in set_action() argument
1246 set_action (action, option) in set_action()
1247 Action action; in set_action()
1260 action = list_both;
1266 action = add_form;
1272 action = any_alert;
1279 OK: prev_action = action;
[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.c148 alp->action.action = AUTOFS_MOUNT_RQ; in mount_autofs()
149 if ((alp->action.action_list_entry_u.mounta.spec = in mount_autofs()
152 if ((alp->action.action_list_entry_u.mounta.dir = in mount_autofs()
171 alp->action.action_list_entry_u.mounta.optptr = buf; in mount_autofs()
172 alp->action.action_list_entry_u.mounta.optlen = strlen(buf) + 1; in mount_autofs()
173 alp->action.action_list_entry_u.mounta.flags = in mount_autofs()
175 if ((alp->action.action_list_entry_u.mounta.fstype = in mount_autofs()
178 alp->action.action_list_entry_u.mounta.dataptr = (char *)fnip; in mount_autofs()
189 alp->action.action_list_entry_u.mounta.dataptr = NULL; in mount_autofs()
190 alp->action.action_list_entry_u.mounta.datalen = 0; in mount_autofs()
[all …]
H A Dautod_lookup.c50 autofs_action_t *action, in do_lookup1() argument
66 *action = AUTOFS_NONE; in do_lookup1()
124 if (mapents == NULL && *action == AUTOFS_NONE) { in do_lookup1()
155 if (mapents == NULL && *action == AUTOFS_NONE) in do_lookup1()
161 if (*action == AUTOFS_NONE && (iswildcard == TRUE)) { in do_lookup1()
162 *action = AUTOFS_MOUNT_RQ; in do_lookup1()
166 *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()
171 dfree(action, actionlen); in parse_action_string()
338 extract_protocol(const char *action) in extract_protocol() argument
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
369 do_action(const char *action, dm_fru_t *fru) in do_action() argument
375 char *actionp = extract_action(action); in do_action()
405 return (do_action(action, fru)); in dm_platform_update_fru()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_search.c59 void (*action)(void *, VISIT, int, void *), in slp_twalk()
63 (*action)(root, leaf, level, cookie); in slp_twalk()
65 (*action)(root, preorder, level, cookie); in slp_twalk()
67 slp_twalk(root->llink, action, level + 1, cookie); in slp_twalk()
68 (*action)(root, postorder, level, cookie); in slp_twalk()
70 slp_twalk(root->rlink, action, level + 1, cookie); in slp_twalk()
71 (*action)(root, endorder, level, cookie); in slp_twalk()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.c208 const char *action) in _kt_set_keybinding() argument
224 if(!action) { in _kt_set_keybinding()
370 KtAction *action = sym->actions + i; in _kt_set_keyfn() local
371 action->fn = 0; in _kt_set_keyfn()
372 action->data = NULL; in _kt_set_keyfn()
669 if(!kt || !action) { in _kt_set_action()
685 sym = _find_HashSymbol(kt->actions, action); in _kt_set_action()
765 action = sym->actions + binder; in _kt_assign_action()
766 action->fn = keyfn; in _kt_assign_action()
767 action->data = data; in _kt_assign_action()
[all …]
/illumos-gate/usr/src/cmd/mesg/
H A Dmesg.c64 int action = 0; in main() local
99 if (action > 0) in main()
103 action++; in main()
107 if (action > 0) in main()
112 action++; in main()
125 if (action > 0) in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dlookup.c102 lookup(name, action, value) in lookup() argument
104 int action;
113 printf("lookup(%s, %d, %x)\n", name, action, value);
123 if (action != LOOKUP) {
124 if (action != INSERT || s->s_type != CONST) {
133 if (action == LOOKUP) {
145 s->s_type = action == INSERT ? VAR : CONST;
/illumos-gate/usr/src/cmd/cmd-inet/etc/
H A Dipqosconf.2.sample41 action {
43 # Name must be ipgpc.classify for ipgpc action.
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 {
113 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()
636 if ((action == ACL_REPLACE || action == ACL_ADD) && acl_spec[0] == '\0') in parse_acl_args()
1221 (action == A_REPLACE_OP) ? A_SET_OP : action, in parse_entry()
1246 (action == A_REPLACE_OP) ? A_SET_OP : action, in parse_entry()
1286 char action; in parse_attr_args() local
1337 action = A_SET_OP; in parse_attr_args()
1345 action = *entry++; in parse_attr_args()
[all …]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmInstallPrinter.java53 int action; field in pmInstallPrinter
102 this.action = action; in pmInstallPrinter()
108 switch (action) { in pmInstallPrinter()
300 if (action == Constants.ADDLOCAL || action == Constants.ADDNETWORK) { in pmInstallPrinter()
559 if ((action == Constants.ADDLOCAL) || in northPanel()
560 (action == Constants.ADDNETWORK)) { in northPanel()
589 action == Constants.MODIFYREMOTE) { in northPanel()
596 if (action == Constants.ADDLOCAL) { in northPanel()
1425 action == Constants.ADDNETWORK || in doResetFields()
1498 if (action == Constants.ADDLOCAL || in doReset()
[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 …]

12345678910>>...20