/titanic_41/usr/src/cmd/picl/plugins/common/piclevent/ |
H A D | piclevent.c | 91 piclevent_completion_handler(char *ename, void *earg, size_t size) in piclevent_completion_handler() argument 94 free(ename); in piclevent_completion_handler() 105 char *ename; in parse_piclevent() local 117 ename = strdup(enval); in parse_piclevent() 118 if (ename == NULL) { in parse_piclevent() 125 "nvl_size:0x%x\n", ename, packed_nvl, nvl_size); in parse_piclevent() 127 err = ptree_post_event(ename, packed_nvl, nvl_size, in parse_piclevent() 134 ename, err); in parse_piclevent() 135 free(ename); in parse_piclevent()
|
H A D | picl_slm.c | 300 char *ename; in piclslm_deliver_event() local 319 ename = strdup(PICLEVENT_SYSEVENT_DEVICE_ADDED); in piclslm_deliver_event() 321 ename = strdup(PICLEVENT_SYSEVENT_DEVICE_REMOVED); in piclslm_deliver_event() 326 ename = strdup(PICLEVENT_DR_AP_STATE_CHANGE); in piclslm_deliver_event() 328 ename = strdup(PICLEVENT_DR_REQ); in piclslm_deliver_event() 335 if (ename == NULL) in piclslm_deliver_event() 343 free(ename); in piclslm_deliver_event() 348 free(ename); in piclslm_deliver_event() 364 free(ename); in piclslm_deliver_event() 371 if (nvlist_add_string(nvl, PICLEVENTARG_EVENT_NAME, ename) || in piclslm_deliver_event() [all …]
|
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | ipath.c | 287 ipath2str(const char *ename, const struct ipath *ipp) in ipath2str() argument 295 if (ename != NULL) in ipath2str() 296 len += strlen(ename); in ipath2str() 308 if (ename != NULL && ipp != NULL) in ipath2str() 315 if (ename != NULL) { in ipath2str() 317 (void) strcpy(cp, ename); in ipath2str() 322 if (ename != NULL && ipp != NULL) in ipath2str() 358 ipath2strlen(const char *ename, const struct ipath *ipp) in ipath2strlen() argument 364 if (ename != NULL) in ipath2strlen() 365 len += strlen(ename); in ipath2strlen() [all …]
|
H A D | ipath.h | 39 char *ipath2str(const char *ename, const struct ipath *ipp); 40 size_t ipath2strlen(const char *ename, const struct ipath *ipp); 41 void ipath_print(int flags, const char *ename, const struct ipath *ipp);
|
H A D | eft.c | 204 char *ename = ename_strdup(lhs); in dosubscribe() local 206 fmd_hdl_subscribe(Hdl, ename); in dosubscribe() 207 FREE(ename); in dosubscribe() 214 char *ename = (char *)lhs; in dodiscardprint() local 216 out(O_VERB, "allow silent discard_if_config_unknown: \"%s\"", ename); in dodiscardprint()
|
H A D | fme.c | 1076 len = strlen(serdinst->u.stmt.np->u.event.ename->u.name.s) + 1; in serd_eval() 1082 serdinst->u.stmt.np->u.event.ename->u.name.s, serdsuffix); in serd_eval() 1085 serdinst->u.stmt.np->u.event.ename->u.name.s); in serd_eval() 1258 newentp->ename = stable(serdclass); in serd_eval() 1286 *enamep = tripinst->u.event.ename->u.name.s; in serd_eval() 1318 const char *ename; in upsets_eval() member 1349 &tripped[ntrip].ename, &tripped[ntrip].ipp) == 1) in upsets_eval() 1368 ipath_print(O_ALTFP|O_NONL, tripped[i].ename, tripped[i].ipp); in upsets_eval() 1371 eventstring = ep->enode->u.event.ename->u.name.s; in upsets_eval() 1407 eventstring = ep->enode->u.event.ename->u.name.s; in upsets_eval() [all …]
|
H A D | fme.h | 108 const char *ename; member 116 const char *ename; member
|
/titanic_41/usr/src/lib/libpicltree/ |
H A D | picltree.h | 136 extern int ptree_post_event(const char *ename, const void *earg, 137 size_t size, void (*completion_handler)(char *ename, 139 extern int ptree_register_handler(const char *ename, 140 void (*evt_handler)(const char *ename, const void *earg, 142 extern void ptree_unregister_handler(const char *ename, 143 void (*evt_handler)(const char *ename, const void *earg,
|
H A D | llib-lpicltree | 85 int ptree_post_event(const char *ename, const void *earg, 86 size_t size, void (*completion_handler)(char *ename, 88 int ptree_register_handler(const char *ename, 89 void (*evt_handler)(const char *ename, const void *earg, 91 void ptree_unregister_handler(const char *ename, 92 void (*evt_handler)(const char *ename, const void *earg,
|
H A D | ptree_impl.h | 184 const char *ename; member 187 void (*completion_handler)(char *ename, void *earg, 197 char *ename; member 199 void (*evt_handler)(const char *ename, const void *earg,
|
/titanic_41/usr/src/cmd/sgs/libelf/common/ |
H A D | hash.c | 36 elf_hash(const char *ename) in elf_hash() argument 40 while (*ename) { in elf_hash() 42 hval = (hval << 4) + *ename++; in elf_hash()
|
/titanic_41/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.c | 271 tree_free(root->u.event.ename); in tree_free() 380 if (tree_treecmp(np1->u.event.ename, np2->u.event.ename, t, in tree_treecmp() 495 ename_compress(struct node *ename) in ename_compress() argument 502 if (ename == NULL) in ename_compress() 503 return (ename); in ename_compress() 505 ASSERT(ename->t == T_NAME); in ename_compress() 507 if (ename->u.name.next == NULL) in ename_compress() 508 return (ename); /* no compression to be applied here */ in ename_compress() 510 for (np = ename; np != NULL; np = np->u.name.next) { in ename_compress() 516 for (np = ename; np != NULL; np = np->u.name.next) { in ename_compress() [all …]
|
H A D | escparse.y | 89 %type <np> exprlist expr iterid ename pname epname eexprlist ipname iname 208 | ename epname 247 event : ename epname eexprlist 413 ename : ID '.' enameid 419 | ename '.' enameid 424 | ename '-' enameid
|
/titanic_41/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | mdescplugin.c | 101 dr_handler(const char *ename, const void *earg, size_t size, void *cookie) in dr_handler() argument 109 if (strcmp(ename, PICLEVENT_DR_AP_STATE_CHANGE) != 0) { in dr_handler() 166 dsc_handler(const char *ename, const void *earg, size_t size, void *cookie) in dsc_handler() argument 193 if (strcmp(ename, PICLEVENT_SYSEVENT_DEVICE_ADDED) == 0) in dsc_handler() 196 else if (strcmp(ename, PICLEVENT_SYSEVENT_DEVICE_REMOVED) == 0) in dsc_handler() 206 mdesc_ev_completion_handler(char *ename, void *earg, size_t size) in mdesc_ev_completion_handler() argument
|
/titanic_41/usr/src/lib/libbsm/common/ |
H A D | audit_event.c | 105 static char ename[AU_EVENT_NAME_MAX]; in getauevent() local 109 au_event_entry.ae_name = ename; in getauevent() 188 static char ename[AU_EVENT_NAME_MAX]; in getauevnam() local 192 au_event_entry.ae_name = ename; in getauevnam() 230 static char ename[AU_EVENT_NAME_MAX]; in getauevnum() local 234 e.ae_name = ename; in getauevnum() 244 char ename[AU_EVENT_NAME_MAX]; in getauevnonam() local 248 e.ae_name = ename; in getauevnonam()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | priplugin.c | 46 event_handler(const char *ename, const void *earg, size_t size, void *cookie); 396 event_handler(const char *ename, const void *earg, size_t size, void *cookie) in event_handler() argument 400 "%s\n", ename); in event_handler() 401 if ((strcmp(ename, PICLEVENT_SYSEVENT_DEVICE_ADDED) == 0) || in event_handler() 402 (strcmp(ename, PICLEVENT_SYSEVENT_DEVICE_REMOVED) == 0) || in event_handler() 403 (strcmp(ename, PICLEVENT_DR_AP_STATE_CHANGE) == 0)) { in event_handler() 405 "%s; waking worker thread\n", ename); in event_handler()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | piclenvmond.c | 131 piclenvmond_evhandler(const char *ename, const void *earg, size_t size, in piclenvmond_evhandler() argument 134 env_handle_event(ename, earg, size); in piclenvmond_evhandler() 179 event_completion_handler(char *ename, void *earg, size_t size) in event_completion_handler() argument 182 free(ename); in event_completion_handler() 190 post_picl_event(const char *ename, char *envl, size_t elen, in post_picl_event() argument 201 if ((evname = strdup(ename)) == NULL) in post_picl_event() 234 ename, enodename); in post_picl_event() 240 " event."), ename); in post_picl_event()
|
H A D | piclplatmod.c | 397 env_platmod_handle_event(const char *ename, const void *earg, size_t size) in env_platmod_handle_event() argument 410 if (!ename) { in env_platmod_handle_event() 413 if (strcmp(ename, PICLEVENT_STATE_CHANGE) == 0) { in env_platmod_handle_event() 415 } else if (strcmp(ename, PICLEVENT_CONDITION_CHANGE) == 0) { in env_platmod_handle_event() 419 ename); in env_platmod_handle_event() 447 ename, value, result); in env_platmod_handle_event()
|
/titanic_41/usr/src/lib/mpss/common/ |
H A D | mpss.c | 223 const char *ename; in fnmatch() local 233 ename = (const char *)strcat(cwd, execname); in fnmatch() 235 ename = execname; in fnmatch() 237 if (ename = strrchr(execname, '/')) in fnmatch() 239 ename++; in fnmatch() 241 ename = execname; in fnmatch() 243 rc = gmatch(ename, cfgname); in fnmatch() 245 cfgname, ename, execname, rc)); in fnmatch()
|
/titanic_41/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_2xml.c | 65 begin_element(FILE *fp, const char *ename, ...) in begin_element() argument 70 (void) fprintf(fp, "<%s ", ename); in begin_element() 71 va_start(ap, ename); in begin_element() 82 begin_end_element(FILE *fp, const char *ename, ...) in begin_end_element() argument 87 (void) fprintf(fp, "<%s ", ename); in begin_end_element() 88 va_start(ap, ename); in begin_end_element() 99 end_element(FILE *fp, const char *ename) in end_element() argument 101 (void) fprintf(fp, "</%s>\n", ename); in end_element()
|
/titanic_41/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 647 char *cp, *ename; in cmdin() local 692 ename = ltemp; in cmdin() 693 edit(ename); in cmdin() 699 ename = rtemp; in cmdin() 700 edit(ename); in cmdin() 713 ename = temp; in cmdin() 714 edit(ename); in cmdin() 724 ename = temp; in cmdin() 725 edit(ename); in cmdin() 734 cpp(ename, tempdes, odes); in cmdin()
|
/titanic_41/usr/src/lib/madv/common/ |
H A D | madv.c | 219 const char *ename; in fnmatch() local 229 ename = (const char *)strcat(cwd, execname); in fnmatch() 231 ename = execname; in fnmatch() 233 if (ename = strrchr(execname, '/')) in fnmatch() 235 ename++; in fnmatch() 237 ename = execname; in fnmatch() 239 rc = gmatch(ename, cfgname); in fnmatch() 241 cfgname, ename, execname, rc)); in fnmatch()
|
/titanic_41/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.c | 322 if ((c->obj->fd = open(c->obj->ename, mode)) < 0) { in obj_init() 328 c->obj->ename); in obj_init() 332 c->obj->ename); in obj_init() 951 binding->obj = c->obj->ename; in scan_archive_symbols() 1004 c->obj->ename); in scan_symbols() 1038 binding->obj = c->obj->ename; in scan_symbols() 1116 binding->obj = c->obj->ename; in bind_symbols() 1192 fullname = (char *)malloc(strlen(com->obj->ename) in print_symtab() 1194 (void *) strcpy(fullname, com->obj->ename); in print_symtab() 1198 c->obj->ename = fullname; in print_symtab() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4v/piclsbl/ |
H A D | piclsbl.c | 73 static void piclsbl_handler(const char *ename, const void *earg, 199 piclsbl_handler(const char *ename, const void *earg, size_t size, in piclsbl_handler() argument 229 if (strcmp(ename, PICLEVENT_SYSEVENT_DEVICE_ADDED) == 0) in piclsbl_handler() 231 else if (strcmp(ename, PICLEVENT_SYSEVENT_DEVICE_REMOVED) == 0) in piclsbl_handler()
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/ |
H A D | piclfrutree.c | 49 static void picl_frutree_evhandler(const char *ename, const void *earg, 275 picl_frutree_evhandler(const char *ename, const void *earg, size_t size, in picl_frutree_evhandler() argument 278 if (strcmp(ename, PICLEVENT_SYSEVENT_DEVICE_ADDED) == 0) { in picl_frutree_evhandler() 282 } else if (strcmp(ename, PICLEVENT_SYSEVENT_DEVICE_REMOVED) == 0) { in picl_frutree_evhandler() 1018 frudr_completion_handler(char *ename, void *earg, size_t size) in frudr_completion_handler() argument 1022 if (strcmp(ename, PICL_FRU_REMOVED) == 0) { in frudr_completion_handler() 1036 free(ename); in frudr_completion_handler() 1043 post_frudr_event(char *ename, picl_nodehdl_t parenth, picl_nodehdl_t fruh) in post_frudr_event() argument 1048 ev_name = strdup(ename); in post_frudr_event()
|