Lines Matching refs:sid
178 #define REVT_NOTIFY_SET_STATUS(revt, eid, sid, state) \
182 (eid), (sid), (state)); \
185 #define REVT_NOTIFY_ENABLE(revt, eid, sid) \
186 REVT_NOTIFY_SET_STATUS((revt), (eid), (sid), true)
188 #define REVT_NOTIFY_DISABLE(revt, eid, sid) \
189 REVT_NOTIFY_SET_STATUS((revt), (eid), (sid), false)
1152 refcount_t *sid;
1168 sid = &r_evt->sources[src_id];
1169 if (refcount_read(sid) == 0) {
1173 refcount_set(sid, 1);
1175 refcount_inc(sid);
1181 sid = &r_evt->sources[src_id];
1182 if (refcount_dec_and_test(sid))