Lines Matching refs:sid
179 #define REVT_NOTIFY_SET_STATUS(revt, eid, sid, state) \
183 (eid), (sid), (state)); \
186 #define REVT_NOTIFY_ENABLE(revt, eid, sid) \
187 REVT_NOTIFY_SET_STATUS((revt), (eid), (sid), true)
189 #define REVT_NOTIFY_DISABLE(revt, eid, sid) \
190 REVT_NOTIFY_SET_STATUS((revt), (eid), (sid), false)
1159 refcount_t *sid;
1175 sid = &r_evt->sources[src_id];
1176 if (refcount_read(sid) == NOTIF_UNSUPP) {
1182 } else if (refcount_read(sid) == 0) {
1186 refcount_set(sid, 1);
1188 refcount_inc(sid);
1194 sid = &r_evt->sources[src_id];
1195 if (refcount_read(sid) == NOTIF_UNSUPP)
1197 if (refcount_dec_and_test(sid))