Home
last modified time | relevance | path

Searched refs:atomic_long_add_return (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/tty/
Dtty_ldsem.c86 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/
Dpage_counter.c77 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()
Dpage-writeback.c1111 WARN_ON_ONCE(atomic_long_add_return(delta, in wb_update_write_bandwidth()
Dvmscan.c419 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()
Dvmalloc.c1820 nr_lazy = atomic_long_add_return((va->va_end - va->va_start) >> in free_vmap_area_noflush()
/linux-6.1.9/include/asm-generic/
Dlocal.h40 #define local_add_return(i, l) atomic_long_add_return((i), (&(l)->a))
/linux-6.1.9/kernel/
Ducount.c269 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/
Datomic_as_refcounter.cocci121 x = atomic_long_add_return@p1(-1, ...);
/linux-6.1.9/kernel/cgroup/
Dmisc.c157 new_usage = atomic_long_add_return(amount, &res->usage); in misc_cg_try_charge()
/linux-6.1.9/kernel/locking/
Drwsem.c1070 count = atomic_long_add_return(adjustment, &sem->count); in rwsem_down_read_slowpath()
/linux-6.1.9/fs/
Dpipe.c760 return atomic_long_add_return(new - old, &user->pipe_bufs); in account_pipe_buffers()
/linux-6.1.9/include/linux/atomic/
Datomic-instrumented.h1299 atomic_long_add_return(long i, atomic_long_t *v) in atomic_long_add_return() function
/linux-6.1.9/include/linux/
Dmm.h2071 long count = atomic_long_add_return(value, &mm->rss_stat.count[member]); in add_mm_counter()
/linux-6.1.9/kernel/bpf/
Dcore.c979 if (atomic_long_add_return(size, &bpf_jit_current) > READ_ONCE(bpf_jit_limit)) { in bpf_jit_charge_modmem()