Searched refs:atomic_long_add_return (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/drivers/tty/ |
D | tty_ldsem.c | 86 count = atomic_long_add_return(adjust, &sem->count); in __ldsem_wake_readers() 110 long count = atomic_long_add_return(LDSEM_ACTIVE_BIAS, &sem->count); in writer_trylock() 213 atomic_long_add_return(-LDSEM_WAIT_BIAS, &sem->count); in down_read_failed() 271 atomic_long_add_return(-LDSEM_WAIT_BIAS, &sem->count); in down_write_failed() 302 count = atomic_long_add_return(LDSEM_READ_BIAS, &sem->count); in __ldsem_down_read_nested() 321 count = atomic_long_add_return(LDSEM_WRITE_BIAS, &sem->count); in __ldsem_down_write_nested() 395 count = atomic_long_add_return(-LDSEM_READ_BIAS, &sem->count); in ldsem_up_read() 409 count = atomic_long_add_return(-LDSEM_WRITE_BIAS, &sem->count); in ldsem_up_write()
|
/linux-6.1.9/mm/ |
D | page_counter.c | 77 new = atomic_long_add_return(nr_pages, &c->usage); in page_counter_charge() 119 new = atomic_long_add_return(nr_pages, &c->usage); in page_counter_try_charge()
|
D | page-writeback.c | 1111 WARN_ON_ONCE(atomic_long_add_return(delta, in wb_update_write_bandwidth()
|
D | vmscan.c | 419 return atomic_long_add_return(nr, &info->nr_deferred[shrinker->id]); in add_nr_deferred_memcg() 537 return atomic_long_add_return(nr, &shrinker->nr_deferred[nid]); in add_nr_deferred()
|
D | vmalloc.c | 1820 nr_lazy = atomic_long_add_return((va->va_end - va->va_start) >> in free_vmap_area_noflush()
|
/linux-6.1.9/include/asm-generic/ |
D | local.h | 40 #define local_add_return(i, l) atomic_long_add_return((i), (&(l)->a))
|
/linux-6.1.9/kernel/ |
D | ucount.c | 269 long new = atomic_long_add_return(v, &iter->rlimit[type]); in inc_rlimit_ucounts() 318 long new = atomic_long_add_return(1, &iter->rlimit[type]); in inc_rlimit_get_ucounts()
|
/linux-6.1.9/scripts/coccinelle/api/ |
D | atomic_as_refcounter.cocci | 121 x = atomic_long_add_return@p1(-1, ...);
|
/linux-6.1.9/kernel/cgroup/ |
D | misc.c | 157 new_usage = atomic_long_add_return(amount, &res->usage); in misc_cg_try_charge()
|
/linux-6.1.9/kernel/locking/ |
D | rwsem.c | 1070 count = atomic_long_add_return(adjustment, &sem->count); in rwsem_down_read_slowpath()
|
/linux-6.1.9/fs/ |
D | pipe.c | 760 return atomic_long_add_return(new - old, &user->pipe_bufs); in account_pipe_buffers()
|
/linux-6.1.9/include/linux/atomic/ |
D | atomic-instrumented.h | 1299 atomic_long_add_return(long i, atomic_long_t *v) in atomic_long_add_return() function
|
/linux-6.1.9/include/linux/ |
D | mm.h | 2071 long count = atomic_long_add_return(value, &mm->rss_stat.count[member]); in add_mm_counter()
|
/linux-6.1.9/kernel/bpf/ |
D | core.c | 979 if (atomic_long_add_return(size, &bpf_jit_current) > READ_ONCE(bpf_jit_limit)) { in bpf_jit_charge_modmem()
|