Home
last modified time | relevance | path

Searched refs:local_add_return (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/alpha/include/asm/
Dlocal.h21 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/
Dlocal.h30 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/
Dlocal.h106 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/
Dlocal.h30 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/
Dlocal.h60 #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/
Dlocal.h40 #define local_add_return(i, l) atomic_long_add_return((i), (&(l)->a)) macro
Dlocal64.h41 #define local64_add_return(i, l) local_add_return((i), (&(l)->a))
/linux-6.1.9/mm/
Dmmap_lock.c145 idx = local_add_return(MEMCG_PATH_BUF_SIZE, &memcg_path->buf_idx) - in get_memcg_path_buf()
/linux-6.1.9/kernel/trace/
Dring_buffer.c1527 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()