Searched refs:local_add_return (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/arch/alpha/include/asm/ |
D | local.h | 20 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() function 83 #define local_add_negative(a, l) (local_add_return((a), (l)) < 0) 87 #define local_inc_return(l) local_add_return(1,(l)) 91 #define local_inc_and_test(l) (local_add_return(1, (l)) == 0)
|
/linux-3.4.99/arch/x86/include/asm/ |
D | local.h | 125 static inline long local_add_return(long i, local_t *l) in local_add_return() function 152 return local_add_return(-i, l); in local_sub_return() 155 #define local_inc_return(l) (local_add_return(1, l))
|
/linux-3.4.99/arch/mips/include/asm/ |
D | local.h | 28 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() function 142 #define local_inc_return(l) local_add_return(1, (l)) 184 #define local_add_negative(i, l) (local_add_return(i, (l)) < 0)
|
/linux-3.4.99/arch/m32r/include/asm/ |
D | local.h | 55 static inline long local_add_return(long i, local_t *l) in local_add_return() function 117 #define local_add(i, l) ((void) local_add_return((i), (l))) 244 #define local_add_negative(i, l) (local_add_return((i), (l)) < 0)
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | local.h | 22 static __inline__ long local_add_return(long a, local_t *l) in local_add_return() function 39 #define local_add_negative(a, l) (local_add_return((a), (l)) < 0)
|
/linux-3.4.99/include/asm-generic/ |
D | local.h | 39 #define local_add_return(i, l) atomic_long_add_return((i), (&(l)->a)) macro
|
D | local64.h | 40 #define local64_add_return(i, l) local_add_return((i), (&(l)->a))
|
/linux-3.4.99/kernel/trace/ |
D | ring_buffer.c | 855 old_write = local_add_return(RB_WRITE_INTCNT, &next_page->write); in rb_tail_page_update() 856 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries); in rb_tail_page_update() 2005 write = local_add_return(length, &tail_page->write); in __rb_reserve_next()
|