Home
last modified time | relevance | path

Searched refs:refcount_add_not_zero (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/arch/x86/include/asm/
Drefcount.h97 bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero() function
123 return refcount_add_not_zero(1, r); in refcount_inc_not_zero()
/Linux-v5.4/drivers/misc/lkdtm/
Drefcount.c86 if (!refcount_add_not_zero(6, &over)) in lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW()
245 if (!refcount_add_not_zero(3, &zero)) { in lkdtm_REFCOUNT_ADD_ZERO()
329 if (!refcount_add_not_zero(7, &sat)) in lkdtm_REFCOUNT_ADD_NOT_ZERO_SATURATED()
/Linux-v5.4/include/linux/
Drefcount.h59 #define refcount_add_not_zero refcount_add_not_zero_checked macro
74 static inline __must_check bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero() function
/Linux-v5.4/Documentation/core-api/
Drefcount-vs-atomic.rst119 * no atomic counterpart --> :c:func:`refcount_add_not_zero`