Home
last modified time | relevance | path

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

/openbmc/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)
/openbmc/linux/arch/loongarch/include/asm/
H A Dlocal.h92 #define local_inc_return(l) local_add_return(1, (l)) macro
113 #define local_inc_and_test(l) (local_inc_return(l) == 0)
/openbmc/linux/arch/mips/include/asm/
H A Dlocal.h130 #define local_inc_return(l) local_add_return(1, (l)) macro
151 #define local_inc_and_test(l) (local_inc_return(l) == 0)
/openbmc/linux/include/linux/
H A Dcookie.h35 if (likely(local_inc_return(&local->nesting) == 1)) { in gen_cookie_next()
/openbmc/linux/kernel/bpf/
H A Dmemalloc.c183 WARN_ON_ONCE(local_inc_return(&c->active) != 1); in inc_active()
737 if (local_inc_return(&c->active) == 1) { in unit_alloc()
773 if (local_inc_return(&c->active) == 1) { in unit_free()
801 if (local_inc_return(&c->active) == 1) { in unit_free_rcu()
/openbmc/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)
/openbmc/linux/arch/alpha/include/asm/
H A Dlocal.h96 #define local_inc_return(l) local_add_return(1,(l)) macro
/openbmc/linux/arch/x86/include/asm/
H A Dlocal.h120 #define local_inc_return(l) (local_add_return(1, l)) macro
/openbmc/linux/kernel/trace/
H A Dring_buffer.c689 cnt = local_inc_return(&t->cnt); in rb_time_set()
/openbmc/linux/kernel/events/
H A Dcore.c7525 int events = local_inc_return(&rb->events); in perf_output_sample()