|
XenevaOS
|
#include <linux/atomic.h>#include <linux/compiler.h>#include <linux/stddef.h>#include <linux/refcount_types.h>

Go to the source code of this file.
Macros | |
| #define | REFCOUNT_INIT(n) { .refs = ATOMIC_INIT(n), } |
| #define | REFCOUNT_MAX 0x7fffffff |
| #define | REFCOUNT_SATURATED ((int)0xc0000000) |
Enumerations | |
| enum | refcount_saturation_type { REFCOUNT_ADD_NOT_ZERO_OVF , REFCOUNT_ADD_OVF , REFCOUNT_ADD_UAF , REFCOUNT_SUB_UAF , REFCOUNT_DEC_LEAK } |
Functions | |
| void | refcount_warn_saturate (refcount_t *r, enum refcount_saturation_type t) |
| #define REFCOUNT_INIT | ( | n | ) | { .refs = ATOMIC_INIT(n), } |
| #define REFCOUNT_MAX 0x7fffffff |
| #define REFCOUNT_SATURATED ((int)0xc0000000) |
| void refcount_warn_saturate | ( | refcount_t * | r, |
| enum refcount_saturation_type | t | ||
| ) |