Home
last modified time | relevance | path

Searched refs:REFCOUNT_MAX (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/misc/lkdtm/
Drefcount.c15 case REFCOUNT_MAX: in overflow_check()
29 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX - 1); in lkdtm_REFCOUNT_INC_OVERFLOW()
45 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX - 1); in lkdtm_REFCOUNT_ADD_OVERFLOW()
63 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX); in lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW()
75 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX); in lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW()
90 case REFCOUNT_MAX: in check_zero()
136 case REFCOUNT_MAX: in check_negative()
194 case REFCOUNT_MAX: in check_from_zero()
258 case REFCOUNT_MAX: in check_saturated()
/linux-5.19.10/include/linux/
Drefcount.h116 #define REFCOUNT_MAX INT_MAX macro
Dmm_inline.h175 if (kref_read(&anon_name->kref) < REFCOUNT_MAX) { in anon_vma_name_reuse()