Searched refs:pub_sz (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/lib/libsysevent/ |
H A D | libsysevent.c | 77 char *pub, int pub_sz, nvlist_t *attr_list) in sysevent_alloc() argument 101 aligned_pub_sz = SE_ALIGN(pub_sz); in sysevent_alloc() 125 (void) bcopy(pub, SE_PUB_NAME(ev), pub_sz); in sysevent_alloc() 590 int class_sz, subclass_sz, pub_sz; in sysevent_alloc_event() local 612 pub_sz = strlen(vendor) + sizeof (SE_USR_PUB) + strlen(pub_name) + 14; in sysevent_alloc_event() 613 if (pub_sz > MAX_PUB_LEN) { in sysevent_alloc_event() 617 pub_id = malloc(pub_sz); in sysevent_alloc_event() 622 if (snprintf(pub_id, pub_sz, "%s:%s%s:%d", vendor, SE_USR_PUB, in sysevent_alloc_event() 623 pub_name, (int)getpid()) >= pub_sz) { in sysevent_alloc_event() 628 pub_sz = strlen(pub_id) + 1; in sysevent_alloc_event() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | evchannels.c | 1789 size_t pub_sz, size_t atsz, uint32_t flag) in sysevent_evc_alloc() argument 1804 MAX_SUBCLASS_LEN) && (pub_sz <= MAX_PUB_LEN)); in sysevent_evc_alloc() 1809 aligned_pub_sz = SE_ALIGN(pub_sz); in sysevent_evc_alloc() 1838 bcopy(pub, SE_PUB_NAME(ev), pub_sz); in sysevent_evc_alloc() 1924 int pub_sz; /* includes terminating 0 */ in sysevent_evc_publish() local 1941 pub_sz = snprintf(pub, MAX_PUB_LEN, "%s:kern:%s", vendor, pubs) + 1; in sysevent_evc_publish() 1942 if (pub_sz > MAX_PUB_LEN) in sysevent_evc_publish() 1950 evp = sysevent_evc_alloc(class, subclass, pub, pub_sz, asz, km_flags); in sysevent_evc_publish()
|
H A D | log_sysevent.c | 473 int class_sz, subclass_sz, pub_sz; in sysevent_alloc() local 488 pub_sz = strlen(pub) + 1; in sysevent_alloc() 491 <= MAX_SUBCLASS_LEN) && (pub_sz <= MAX_PUB_LEN)); in sysevent_alloc() 496 aligned_pub_sz = SE_ALIGN(pub_sz); in sysevent_alloc() 521 bcopy(pub, SE_PUB_NAME(ev), pub_sz); in sysevent_alloc()
|