/titanic_50/usr/src/cmd/rctladm/ |
H A D | rctladm.c | 114 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 …]
|
/titanic_50/usr/src/lib/libast/common/sfio/ |
H A D | sfpkrd.c | 40 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; 92 { if(action <= 0) /* read past eof */ 108 while(tm >= 0 || action > 0 || 193 { if(action <= 0 && rc < 0) 245 { if(action <= 0) 255 { if(tm >= 0 || action > 0) [all …]
|
/titanic_50/usr/src/cmd/psradm/ |
H A D | psradm.c | 92 psr_action_lookup(int action) in psr_action_lookup() argument 97 if (psr_action[i].p_op == action) { in psr_action_lookup() 112 psr_set_state(processorid_t cpu, int action, psr_action_t *pac, int mustexist) in psr_set_state() argument 131 if (old_state == P_FAULTED && action != P_FAULTED && !force) { in psr_set_state() 137 old_state = p_online(cpu, force ? action | P_FORCED : action); in psr_set_state() 148 if (old_state == action) { in psr_set_state() 189 do_range(processorid_t first, processorid_t last, int action, in do_range() argument 198 if ((rv = psr_set_state(cpu, action, pac, 0)) > 0) in do_range() 215 int action = 0; in main() local 239 if (action != 0 && action != c) { in main() [all …]
|
/titanic_50/usr/src/lib/iconv_modules/ko/common/ |
H A D | nbyte_to_UTF2.c | 95 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 …]
|
/titanic_50/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | door_if.c | 252 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 …]
|
/titanic_50/usr/src/lib/libast/common/comp/ |
H A D | tsearch.c | 199 static void _twalk(Tree_t* obj, void(*action)(const Void_t*,VISIT,int), int level) in _twalk() 201 static void _twalk(obj,action,level) in _twalk() 203 void(* action)(); 207 (*action)((Void_t*)obj,leaf,level); 209 { (*action)((Void_t*)obj,preorder,level); 211 _twalk((Tree_t*)obj->lchild,action,level+1); 212 (*action)((Void_t*)obj,postorder,level); 214 _twalk((Tree_t*)obj->rchild,action,level+1); 215 (*action)((Void_t*)obj,endorder,level); 225 void twalk(const Void_t* root, void(*action)(const Void_t*,VISIT,int) ) in twalk() [all …]
|
/titanic_50/usr/src/lib/libshell/common/bltins/ |
H A D | alarm.c | 42 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 …]
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | tsearch.c | 132 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()
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | tsearch.c | 131 twalk(NODE *root, void (*action)(NODE *, VISIT, int)) in twalk() 134 if (root != NULL && action != NULL) in twalk() 135 _twalk(root, action, 0); in twalk() 146 _twalk(NODE *root, void (*action)(NODE *, VISIT, int), int level) in _twalk() 149 (*action)(root, leaf, level); in _twalk() 151 (*action)(root, preorder, level); in _twalk() 153 _twalk(root->llink, action, level + 1); in _twalk() 154 (*action)(root, postorder, level); in _twalk() 156 _twalk(root->rlink, action, level + 1); in _twalk() 157 (*action)(root, endorder, level); in _twalk()
|
/titanic_50/usr/src/lib/libshell/common/sh/ |
H A D | timers.c | 35 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 …]
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | devalloc.c | 107 _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() 176 _update_devalloc_db(devlist_t *devlist, int devflag, int action, char *devname, in _update_devalloc_db() argument 184 if (action == DA_ADD) { in _update_devalloc_db() 206 (void) _update_dev(dentry, action, NULL, NULL, in _update_devalloc_db() 209 } else if (action == DA_REMOVE) { in _update_devalloc_db() 229 nickname = _update_dev(NULL, action, typestring, NULL, in _update_devalloc_db() [all …]
|
/titanic_50/usr/src/tools/scripts/ |
H A D | validate_pkg.py | 294 def __init__(self, action): argument 301 self.path = action.attrs["path"] 303 if action.name == "file": 304 self.owner = action.attrs["owner"] 305 self.group = action.attrs["group"] 306 self.mode = action.attrs["mode"] 307 self.hash = action.hash 308 if "preserve" in action.attrs: 310 elif action.name == "link": 311 target = action.attrs["target"] [all …]
|
/titanic_50/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 155 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 …]
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | autod_autofs.c | 148 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() 179 alp->action.action_list_entry_u.mounta.datalen = sizeof (*fnip); in mount_autofs() 189 alp->action.action_list_entry_u.mounta.dataptr = NULL; in mount_autofs() [all …]
|
H A D | autod_lookup.c | 50 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()
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_notify.c | 220 uint32_t action, char *fname) in smb_notify_encode_action() argument 224 ASSERT(FILE_ACTION_ADDED <= action && in smb_notify_encode_action() 225 action <= FILE_ACTION_MODIFIED_STREAM); in smb_notify_encode_action() 235 action, namelen, fname)) in smb_notify_encode_action() 308 smb_notify_event(smb_node_t *node, uint_t action, const char *name) in smb_notify_event() argument 316 if (action == FILE_ACTION_RENAMED_OLD_NAME) in smb_notify_event() 323 smb_notify_sr(sr, action, name); in smb_notify_event() 393 smb_notify_sr(smb_request_t *sr, uint_t action, const char *name) in smb_notify_sr() argument 405 VERIFY(action < smb_notify_action_nelm); in smb_notify_sr() 406 mask = smb_notify_action_mask[action]; in smb_notify_sr() [all …]
|
/titanic_50/usr/src/lib/libslp/clib/ |
H A D | slp_search.c | 59 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()
|
/titanic_50/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | dm_platform.c | 116 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 …]
|
/titanic_50/usr/src/cmd/mesg/ |
H A D | mesg.c | 64 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()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | lookup.c | 102 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;
|
/titanic_50/usr/src/lib/libtecla/common/ |
H A D | keytab.c | 208 const char *action) in _kt_set_keybinding() argument 224 if(!action) { in _kt_set_keybinding() 228 Symbol *sym = _find_HashSymbol(kt->actions, action); in _kt_set_keybinding() 230 _err_record_msg(kt->err, "Unknown key-binding action: ", 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() 663 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data) in _kt_set_action() argument 669 if(!kt || !action) { in _kt_set_action() 679 sym = _del_HashSymbol(kt->actions, action); in _kt_set_action() [all …]
|
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/ |
H A D | ast_tty.h | 49 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 71 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 90 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 93 # define tcsetattr(fd,action,tty) stty(fd, tty) argument
|
/titanic_50/usr/src/lib/libast/amd64/include/ast/ |
H A D | ast_tty.h | 70 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 92 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 111 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 114 # define tcsetattr(fd,action,tty) stty(fd, tty) argument
|
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/ |
H A D | ast_tty.h | 49 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 71 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 90 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 93 # define tcsetattr(fd,action,tty) stty(fd, tty) argument
|
/titanic_50/usr/src/lib/libast/sparc/include/ast/ |
H A D | ast_tty.h | 70 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 92 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 111 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument 114 # define tcsetattr(fd,action,tty) stty(fd, tty) argument
|