Lines Matching defs:sid
220 uargs.sid.name = NULL;
221 uargs.sid.len = 0;
446 sysevent_evc_subscribe_cmn(evchan_t *scp, const char *sid, const char *class,
457 if (scp == NULL || misaligned(scp) || sid == NULL || class == NULL) {
466 if ((sid_len = strlen(sid) + 1) > MAX_SUBID_LEN || sid_len == 1 ||
472 if (!strisprint(sid)) {
488 if ((subp->evsub_sid = strdup(sid)) == NULL) {
539 uargs.sid.name = (uintptr_t)sid;
540 uargs.sid.len = sid_len;
571 sysevent_evc_subscribe(evchan_t *scp, const char *sid, const char *class,
575 return (sysevent_evc_subscribe_cmn(scp, sid, class, event_handler,
600 sysevent_evc_xsubscribe(evchan_t *scp, const char *sid, const char *class,
613 return (sysevent_evc_subscribe_cmn(scp, sid, class, event_handler,
686 sysevent_evc_unsubscribe(evchan_t *scp, const char *sid)
697 if (sid == NULL || strlen(sid) == 0 ||
698 (strlen(sid) >= MAX_SUBID_LEN))
705 if (strcmp(sid, EVCH_ALLSUB) == 0) {
708 uargs.sid.name = NULL;
709 uargs.sid.len = 0;
711 uargs.sid.name = (uintptr_t)sid;
712 uargs.sid.len = strlen(sid) + 1;
740 if (all_subscribers || strcmp(subp->evsub_sid, sid) == 0) {