Searched refs:local_add_return (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/arch/alpha/include/asm/ |
D | local.h | 21 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() function 84 #define local_add_negative(a, l) (local_add_return((a), (l)) < 0) 88 #define local_inc_return(l) local_add_return(1,(l)) 92 #define local_inc_and_test(l) (local_add_return(1, (l)) == 0)
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | local.h | 30 static inline long local_add_return(long i, local_t *l) in local_add_return() function 83 #define local_inc_return(l) local_add_return(1, (l)) 125 #define local_add_negative(i, l) (local_add_return(i, (l)) < 0)
|
/linux-6.1.9/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.1.9/arch/mips/include/asm/ |
D | local.h | 30 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() function 121 #define local_inc_return(l) local_add_return(1, (l)) 163 #define local_add_negative(i, l) (local_add_return(i, (l)) < 0)
|
/linux-6.1.9/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.1.9/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.1.9/mm/ |
D | mmap_lock.c | 145 idx = local_add_return(MEMCG_PATH_BUF_SIZE, &memcg_path->buf_idx) - in get_memcg_path_buf()
|
/linux-6.1.9/kernel/trace/ |
D | ring_buffer.c | 1527 old_write = local_add_return(RB_WRITE_INTCNT, &next_page->write); in rb_tail_page_update() 1528 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries); in rb_tail_page_update() 3599 /*C*/ write = local_add_return(info->length, &tail_page->write); in __rb_reserve_next()
|