Home
last modified time | relevance | path

Searched refs:atomic_add (Results 1 – 25 of 147) sorted by relevance

123456

/linux-2.6.39/arch/sparc/lib/
Datomic_64.S16 .globl atomic_add
17 .type atomic_add,#function
18 atomic_add: /* %o0 = increment, %o1 = atomic_ptr */ label
29 .size atomic_add, .-atomic_add
/linux-2.6.39/arch/mn10300/include/asm/
Dspinlock.h137 atomic_add(RW_LOCK_BIAS, count); in arch_write_lock()
161 atomic_add(RW_LOCK_BIAS, count); in arch_write_unlock()
181 atomic_add(RW_LOCK_BIAS, count); in arch_write_trylock()
/linux-2.6.39/arch/tile/include/asm/
Datomic.h54 #define atomic_sub(i, v) atomic_add((int)(-(i)), (v))
88 #define atomic_inc(v) atomic_add(1, (v))
/linux-2.6.39/arch/avr32/include/asm/
Datomic.h179 #define atomic_add(i, v) (void)atomic_add_return(i, v) macro
181 #define atomic_inc(v) atomic_add(1, (v))
/linux-2.6.39/arch/xtensa/include/asm/
Datomic.h67 static inline void atomic_add(int i, atomic_t * v) in atomic_add() function
167 #define atomic_inc(v) atomic_add(1,(v))
Drwsem.h106 atomic_add(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_add()
/linux-2.6.39/drivers/staging/octeon/
Dethernet-rx.c123 atomic_add(1, &core_state.available_cores); in cvm_oct_no_more_work()
423 atomic_add(1, (atomic_t *)&priv->stats.rx_packets); in cvm_oct_napi_poll()
424 atomic_add(skb->len, (atomic_t *)&priv->stats.rx_bytes); in cvm_oct_napi_poll()
438 atomic_add(1, (atomic_t *)&priv->stats.rx_dropped); in cvm_oct_napi_poll()
/linux-2.6.39/drivers/atm/
DuPD98402.c45 atomic_add(GET(HECCT),&PRIV(dev)->sonet_stats.uncorr_hcs); in fetch_stats()
164 { atomic_add(GET(v),&PRIV(dev)->sonet_stats.s); \
197 atomic_add(GET(HECCT), in uPD98402_int()
/linux-2.6.39/arch/sparc/include/asm/
Datomic_64.h22 extern void atomic_add(int, atomic_t *);
61 #define atomic_inc(v) atomic_add(1, v)
/linux-2.6.39/arch/arm/include/asm/
Datomic.h37 static inline void atomic_add(int i, atomic_t *v) in atomic_add() function
168 #define atomic_add(i, v) (void) atomic_add_return(i, v) macro
222 #define atomic_inc(v) atomic_add(1, v)
/linux-2.6.39/arch/alpha/include/asm/
Datomic.h32 static __inline__ void atomic_add(int i, atomic_t * v) in atomic_add() function
248 #define atomic_inc(v) atomic_add(1,(v))
/linux-2.6.39/arch/sh/include/asm/
Datomic-grb.h4 static inline void atomic_add(int i, atomic_t *v) in atomic_add() function
Datomic-llsc.h9 static inline void atomic_add(int i, atomic_t *v) in atomic_add() function
Datomic-irq.h9 static inline void atomic_add(int i, atomic_t *v) in atomic_add() function
Datomic.h35 #define atomic_inc(v) atomic_add(1, (v))
Drwsem.h101 atomic_add(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_add()
/linux-2.6.39/kernel/
Dprofile.c286 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
349 atomic_add(nr_hits, &prof_buffer[pc]); in profile_hits()
351 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_hits()
429 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); in profile_hits()
/linux-2.6.39/security/tomoyo/
Dmemory.c49 atomic_add(s, &tomoyo_policy_memory_size); in tomoyo_memory_ok()
182 atomic_add(allocated_len, &tomoyo_policy_memory_size); in tomoyo_get_name()
/linux-2.6.39/arch/ia64/include/asm/
Datomic.h203 #define atomic_add(i,v) atomic_add_return((i), (v)) macro
205 #define atomic_inc(v) atomic_add(1, (v))
/linux-2.6.39/net/atm/
Datm_misc.c36 atomic_add(skb->truesize-guess, in atm_alloc_charge()
/linux-2.6.39/drivers/video/
Dudlfb.c587 atomic_add(bytes_sent, &dev->bytes_sent); in dlfb_handle_damage()
588 atomic_add(bytes_identical, &dev->bytes_identical); in dlfb_handle_damage()
589 atomic_add(width*height*2, &dev->bytes_rendered); in dlfb_handle_damage()
591 atomic_add(((unsigned int) ((end_cycles - start_cycles) in dlfb_handle_damage()
712 atomic_add(bytes_sent, &dev->bytes_sent); in dlfb_dpy_deferred_io()
713 atomic_add(bytes_identical, &dev->bytes_identical); in dlfb_dpy_deferred_io()
714 atomic_add(bytes_rendered, &dev->bytes_rendered); in dlfb_dpy_deferred_io()
716 atomic_add(((unsigned int) ((end_cycles - start_cycles) in dlfb_dpy_deferred_io()
/linux-2.6.39/net/rds/
Dib_ring.c120 atomic_add(val, &ring->w_free_ctr); in rds_ib_ring_free()
Diw_ring.c120 atomic_add(val, &ring->w_free_ctr); in rds_iw_ring_free()
Dib_send.c461 atomic_add(IB_SET_SEND_CREDITS(credits), &ic->i_credits); in rds_ib_send_add_credits()
477 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits); in rds_ib_advertise_credits()
754 atomic_add(nr_sig, &ic->i_signaled_sends); in rds_ib_xmit()
852 atomic_add(nr_sig, &ic->i_signaled_sends); in rds_ib_xmit_atomic()
989 atomic_add(nr_sig, &ic->i_signaled_sends); in rds_ib_xmit_rdma()
/linux-2.6.39/arch/m32r/include/asm/
Dspinlock.h315 atomic_add(RW_LOCK_BIAS, count); in arch_write_trylock()

123456