Searched refs:pub_sz (Results 1 – 3 of 3) sorted by relevance
/titanic_44/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() 589 int class_sz, subclass_sz, pub_sz; in sysevent_alloc_event() local 611 pub_sz = strlen(vendor) + sizeof (SE_USR_PUB) + strlen(pub_name) + 14; in sysevent_alloc_event() 612 if (pub_sz > MAX_PUB_LEN) { in sysevent_alloc_event() 616 pub_id = malloc(pub_sz); in sysevent_alloc_event() 621 if (snprintf(pub_id, pub_sz, "%s:%s%s:%d", vendor, SE_USR_PUB, in sysevent_alloc_event() 622 pub_name, (int)getpid()) >= pub_sz) { in sysevent_alloc_event() 627 pub_sz = strlen(pub_id) + 1; in sysevent_alloc_event() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | evchannels.c | 1787 size_t pub_sz, size_t atsz, uint32_t flag) in sysevent_evc_alloc() argument 1802 MAX_SUBCLASS_LEN) && (pub_sz <= MAX_PUB_LEN)); in sysevent_evc_alloc() 1807 aligned_pub_sz = SE_ALIGN(pub_sz); in sysevent_evc_alloc() 1836 bcopy(pub, SE_PUB_NAME(ev), pub_sz); in sysevent_evc_alloc() 1922 int pub_sz; /* includes terminating 0 */ in sysevent_evc_publish() local 1939 pub_sz = snprintf(pub, MAX_PUB_LEN, "%s:kern:%s", vendor, pubs) + 1; in sysevent_evc_publish() 1940 if (pub_sz > MAX_PUB_LEN) in sysevent_evc_publish() 1948 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()
|