Home
last modified time | relevance | path

Searched refs:local_inc_return (Results 1 – 10 of 10) sorted by relevance

/linux/arch/powerpc/include/asm/
H A Dlocal.h61 #define local_inc_return(l) local_add_return(1LL, l) macro
62 #define local_inc(l) local_inc_return(l)
72 #define local_inc_and_test(l) (local_inc_return(l) == 0)
/linux/arch/loongarch/include/asm/
H A Dlocal.h97 #define local_inc_return(l) local_add_return(1, (l)) macro
118 #define local_inc_and_test(l) (local_inc_return(l) == 0)
/linux/arch/mips/include/asm/
H A Dlocal.h135 #define local_inc_return(l) local_add_return(1, (l)) macro
156 #define local_inc_and_test(l) (local_inc_return(l) == 0)
/linux/include/linux/
H A Dcookie.h35 if (likely(local_inc_return(&local->nesting) == 1)) { in gen_cookie_next()
/linux/kernel/bpf/
H A Dmemalloc.c184 WARN_ON_ONCE(local_inc_return(&c->active) != 1); in inc_active()
802 if (local_inc_return(&c->active) == 1) { in unit_alloc()
843 if (local_inc_return(&c->active) == 1) { in unit_free()
876 if (local_inc_return(&c->active) == 1) { in unit_free_rcu()
/linux/include/asm-generic/
H A Dlocal.h42 #define local_inc_return(l) atomic_long_inc_return(&(l)->a) macro
H A Dlocal64.h43 #define local64_inc_return(l) local_inc_return(&(l)->a)
/linux/arch/alpha/include/asm/
H A Dlocal.h95 #define local_inc_return(l) local_add_return(1,(l)) macro
/linux/arch/x86/include/asm/
H A Dlocal.h120 #define local_inc_return(l) (local_add_return(1, l)) macro
/linux/kernel/events/
H A Dcore.c7652 int events = local_inc_return(&rb->events); in perf_output_sample()