Searched refs:local_add_return (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/arch/alpha/include/asm/ |
D | local.h | 21 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() function 91 #define local_add_negative(a, l) (local_add_return((a), (l)) < 0) 95 #define local_inc_return(l) local_add_return(1,(l)) 99 #define local_inc_and_test(l) (local_add_return(1, (l)) == 0)
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | local.h | 30 static inline long local_add_return(long i, local_t *l) in local_add_return() function 97 #define local_inc_return(l) local_add_return(1, (l)) 139 #define local_add_negative(i, l) (local_add_return(i, (l)) < 0)
|
/linux-6.12.1/arch/x86/include/asm/ |
D | local.h | 106 static inline long local_add_return(long i, local_t *l) in local_add_return() function 117 return local_add_return(-i, l); in local_sub_return() 120 #define local_inc_return(l) (local_add_return(1, l))
|
/linux-6.12.1/arch/mips/include/asm/ |
D | local.h | 30 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() function 135 #define local_inc_return(l) local_add_return(1, (l)) 177 #define local_add_negative(i, l) (local_add_return(i, (l)) < 0)
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | local.h | 60 #define local_add_negative(a, l) (local_add_return((a), (l)) < 0) 61 #define local_inc_return(l) local_add_return(1LL, l)
|
/linux-6.12.1/include/asm-generic/ |
D | local.h | 40 #define local_add_return(i, l) atomic_long_add_return((i), (&(l)->a)) macro
|
D | local64.h | 41 #define local64_add_return(i, l) local_add_return((i), (&(l)->a))
|
/linux-6.12.1/kernel/trace/ |
D | ring_buffer.c | 1425 old_write = local_add_return(RB_WRITE_INTCNT, &next_page->write); in rb_tail_page_update() 1426 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries); in rb_tail_page_update() 4244 /*C*/ write = local_add_return(info->length, &tail_page->write); in __rb_reserve_next()
|