Lines Matching refs:zero
108 refcount_t zero = REFCOUNT_INIT(2); in lkdtm_REFCOUNT_DEC_ZERO() local
111 refcount_dec(&zero); in lkdtm_REFCOUNT_DEC_ZERO()
114 refcount_dec(&zero); in lkdtm_REFCOUNT_DEC_ZERO()
116 check_zero(&zero); in lkdtm_REFCOUNT_DEC_ZERO()
208 refcount_t zero = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_INC_ZERO() local
211 if (!refcount_inc_not_zero(&zero)) { in lkdtm_REFCOUNT_INC_ZERO()
213 if (refcount_read(&zero) == 0) in lkdtm_REFCOUNT_INC_ZERO()
222 refcount_inc(&zero); in lkdtm_REFCOUNT_INC_ZERO()
224 check_from_zero(&zero); in lkdtm_REFCOUNT_INC_ZERO()
233 refcount_t zero = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_ADD_ZERO() local
236 if (!refcount_add_not_zero(3, &zero)) { in lkdtm_REFCOUNT_ADD_ZERO()
238 if (refcount_read(&zero) == 0) in lkdtm_REFCOUNT_ADD_ZERO()
247 refcount_add(3, &zero); in lkdtm_REFCOUNT_ADD_ZERO()
249 check_from_zero(&zero); in lkdtm_REFCOUNT_ADD_ZERO()