Lines Matching defs:sid
1201 evch_chsubscribe(evch_bind_t *bp, int dtype, const char *sid, const char *class,
1233 evch_subidcmp, (char *)sid)) != NULL) {
1277 subidblen = strlen(sid) + 1;
1279 bcopy(sid, subid, subidblen);
1327 * When sid == NULL all subscriptions except the ones with EVCH_SUB_KEEP set
1331 evch_chunsubscribe(evch_bind_t *bp, const char *sid, uint32_t flags)
1344 if (sid == NULL || strcmp(sid, sdp->sd_ident) == 0) {
1386 if (sid != NULL) {
1884 sysevent_evc_subscribe(evchan_t *scp, const char *sid, const char *class,
1888 ASSERT(scp != NULL && sid != NULL && class != NULL && callb != NULL);
1890 if (strlen(sid) > MAX_SUBID_LEN) {
1896 return (evch_chsubscribe((evch_bind_t *)scp, EVCH_DELKERN, sid, class,
1901 sysevent_evc_unsubscribe(evchan_t *scp, const char *sid)
1903 ASSERT(scp != NULL && sid != NULL);
1904 if (strcmp(sid, EVCH_ALLSUB) == 0) {
1905 sid = NULL;
1907 evch_chunsubscribe((evch_bind_t *)scp, sid, 0);
2250 evch_usrsubscribe(evchan_t *bp, const char *sid, const char *class,
2259 if ((rv = evch_chsubscribe((evch_bind_t *)bp, EVCH_DELDOOR, sid, class,