Lines Matching defs:sid
177 #define REVT_NOTIFY_SET_STATUS(revt, eid, sid, state) \
181 (eid), (sid), (state)); \
184 #define REVT_NOTIFY_ENABLE(revt, eid, sid) \
185 REVT_NOTIFY_SET_STATUS((revt), (eid), (sid), true)
187 #define REVT_NOTIFY_DISABLE(revt, eid, sid) \
188 REVT_NOTIFY_SET_STATUS((revt), (eid), (sid), false)
1116 refcount_t *sid;
1132 sid = &r_evt->sources[src_id];
1133 if (refcount_read(sid) == 0) {
1137 refcount_set(sid, 1);
1139 refcount_inc(sid);
1145 sid = &r_evt->sources[src_id];
1146 if (refcount_dec_and_test(sid))