/titanic_51/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 222 * Look for "rctl_name=action;action;...;action, wit in rctladm_read_config() 262 rctladm_modify_action(const char * rctl_name,uint_t enable,uint_t action,int log_level) rctladm_modify_action() argument 301 rctladm_get_log_level(char * action) rctladm_get_log_level() argument 321 rctladm_enable(const char * rctl_name,char * action) rctladm_enable() argument 337 rctladm_disable(const char * rctl_name,char * action) rctladm_disable() argument 358 uint_t action = rctlblk_get_global_action(gblk); rctlblk_display() local 448 char *action; main() local [all...] |
/titanic_51/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 in main() local [all...] |
/titanic_51/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_51/usr/src/contrib/ast/src/lib/libast/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, 49 <0: no 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 < [all...] |
/titanic_51/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 in _icv_iconv() [all...] |
/titanic_51/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | door_if.c | 64 * passed as data and contains data to specify the type of action requested 116 /* Requires WRITE, SELECT or WLAN auth depending on action */ 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() 279 "need %s for %s action", AUTOCONF_SELECT_AUTH, in nwamd_door_req_action() 280 nwam_action_to_string(action)); in nwamd_door_req_action() 286 "need %s for %s action on Known WLAN", in nwamd_door_req_action() 287 AUTOCONF_WLAN_AUTH, nwam_action_to_string(action)); in nwamd_door_req_action() [all...] |
/titanic_51/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_51/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | tsearch.c | 201 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)(cons [all...] |
/titanic_51/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)(roo in __twalk() [all...] |
/titanic_51/usr/src/lib/libbc/libc/gen/common/ |
H A D | tsearch.c | 128 * action: Function to be called at each node 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() 143 * action: Function to be called at each node 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)(roo in _twalk() [all...] |
/titanic_51/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_51/usr/src/boot/lib/libstand/ |
H A D | pager.c | 84 int action; in pager_output() local 99 action = 0; in pager_output() 100 while (action == 0) { in pager_output() 105 action = 1; in pager_output() 109 action = 1; in pager_output() 113 action = 2; in pager_output() 120 if (action == 2) in pager_output()
|
/titanic_51/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, typestrin in _update_devalloc_db() 281 _update_dev(deventry_t * dentry,int action,const char * devtype,char * devname,char * rm_link) _update_dev() argument [all...] |
/titanic_51/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_51/usr/src/contrib/ast/src/cmd/ksh93/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 in sh_timeradd() [all...] |
/titanic_51/usr/src/tools/scripts/ |
H A D | validate_pkg.py | 46 # Dictionary used to map action names to output format. Each entry is 47 # indexed by action name, and consists of a list of tuples that map 83 object (RealFileInfo) or an IPS manifest action (ActionInfo). 98 """Return the IPS action name of a FileInfo object. 246 """Return an action-style representation of a FileInfo object. 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 325 supported(action) global() argument [all...] |
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/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 in setdisc() [all...] |
/titanic_51/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 in main() 1242 set_action(Action action,char * option) set_action() argument [all...] |
/titanic_51/usr/src/cmd/fs.d/autofs/ |
H A D | autod_autofs.c | 146 * Fill out action list. in mount_autofs() 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 in mount_autofs() [all...] |
H A D | autod_lookup.c | 50 autofs_action_t *action, in do_lookup1() argument 64 * Default action is for no work to be done by kernel AUTOFS. in do_lookup1() 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() 165 trace_prt(1, " do_lookup1: action=%d wildcard=%s error=%d\n", in do_lookup1() 166 *action, iswildcard ? "TRUE" : "FALSE", err); in do_lookup1()
|
/titanic_51/usr/src/common/ficl/ficlplatform/ |
H A D | pager.c | 105 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()
|
/titanic_51/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_notify.c | 171 * action FILE_ACTION_SUBDIR_CHANGED, we don't have in smb_notify_common() 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_nel in smb_notify_sr() [all...] |
/titanic_51/usr/src/lib/libslp/clib/ |
H A D | slp_search.c | 38 * cookies into the action function (prohibiting thread-safe usage). 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_51/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 362 /* The action i in extract_action() 369 do_action(const char * action,dm_fru_t * fru) do_action() argument 403 dm_platform_update_fru(const char * action,dm_fru_t * fru) dm_platform_update_fru() argument 409 dm_platform_indicator_execute(const char * action) dm_platform_indicator_execute() argument [all...] |
/titanic_51/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()
|