Home
last modified time | relevance | path

Searched refs:atomic_long_add (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.12.1/kernel/sched/
Dloadavg.c241 atomic_long_add(delta, &calc_load_nohz[idx]); in calc_load_nohz_fold()
363 atomic_long_add(delta, &calc_load_tasks); in calc_global_load()
394 atomic_long_add(delta, &calc_load_tasks); in calc_global_load_tick()
/linux-6.12.1/kernel/module/
Dstats.c222 atomic_long_add(info->len * 2, &invalid_mod_bytes); in mod_stat_bump_invalid()
226 atomic_long_add(info->compressed_len, &invalid_mod_bytes); in mod_stat_bump_invalid()
233 atomic_long_add(info->len, &invalid_becoming_bytes); in mod_stat_bump_becoming()
236 atomic_long_add(info->compressed_len, &invalid_becoming_bytes); in mod_stat_bump_becoming()
Dinternal.h194 #define mod_stat_add_long(count, var) atomic_long_add(count, var)
/linux-6.12.1/include/linux/
Dvmstat.h152 atomic_long_add(x, &zone->vm_numa_event[item]); in zone_numa_event_add()
153 atomic_long_add(x, &vm_numa_event[item]); in zone_numa_event_add()
172 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add()
173 atomic_long_add(x, &vm_zone_stat[item]); in zone_page_state_add()
179 atomic_long_add(x, &pgdat->vm_stat[item]); in node_page_state_add()
180 atomic_long_add(x, &vm_node_stat[item]); in node_page_state_add()
Dpercpu-refcount.h207 atomic_long_add(nr, &ref->data->count); in percpu_ref_get_many()
Dcred.h185 atomic_long_add(nr, &cred->usage); in get_new_cred_many()
/linux-6.12.1/mm/
Dworkingset.c254 atomic_long_add(delta, &lrugen->evicted[hist][type][tier]); in lru_gen_eviction()
309 atomic_long_add(delta, &lrugen->refaulted[hist][type][tier]); in lru_gen_refault()
370 atomic_long_add(nr_pages, &lruvec->nonresident_age); in workingset_age_nonresident()
Dpage_counter.c36 atomic_long_add(delta, &c->parent->children_min_usage); in propagate_protected_usage()
45 atomic_long_add(delta, &c->parent->children_low_usage); in propagate_protected_usage()
Dvmstat.c780 atomic_long_add(zone_diff[i], &vm_zone_stat[i]); in fold_diff()
786 atomic_long_add(node_diff[i], &vm_node_stat[i]); in fold_diff()
827 atomic_long_add(v, &zone->vm_stat[i]); in refresh_cpu_vm_stats()
881 atomic_long_add(v, &pgdat->vm_stat[i]); in refresh_cpu_vm_stats()
915 atomic_long_add(v, &zone->vm_stat[i]); in cpu_vm_stats_fold()
943 atomic_long_add(v, &pgdat->vm_stat[i]); in cpu_vm_stats_fold()
1046 atomic_long_add(delta, &nr_memmap_boot_pages); in memmap_boot_pages_add()
1051 atomic_long_add(delta, &nr_memmap_pages); in memmap_pages_add()
/linux-6.12.1/lib/
Dpercpu-refcount.c195 atomic_long_add((long)count - PERCPU_COUNT_BIAS, &data->count); in percpu_ref_switch_to_atomic_rcu()
250 atomic_long_add(PERCPU_COUNT_BIAS, &ref->data->count); in __percpu_ref_switch_to_percpu()
Dtest_objpool.c90 atomic_long_add(size, &test->data.kmalloc.alloc); in ot_kzalloc()
98 atomic_long_add(size, &test->data.kmalloc.free); in ot_kfree()
/linux-6.12.1/include/net/
Dproto_memory.h58 atomic_long_add(val, proto->memory_allocated); in proto_memory_pcpu_drain()
Dinet_frag.h168 atomic_long_add(val, &fqdir->mem); in add_frag_mem_limit()
/linux-6.12.1/include/asm-generic/
Dlocal.h33 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
/linux-6.12.1/drivers/gpu/drm/ttm/
Dttm_tt.c326 atomic_long_add(ttm->num_pages, &ttm_pages_allocated); in ttm_tt_populate()
328 atomic_long_add(ttm->num_pages, in ttm_tt_populate()
/linux-6.12.1/arch/loongarch/include/asm/
Dlocal.h22 #define local_add(i, l) atomic_long_add((i), (&(l)->a))
/linux-6.12.1/arch/alpha/include/asm/
Dlocal.h18 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h180 atomic_long_add(count, &direct_pages_count[psize]); in update_page_count()
/linux-6.12.1/drivers/target/
Dtarget_core_device.c61 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
64 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
132 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
135 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
/linux-6.12.1/arch/mips/include/asm/
Dlocal.h22 #define local_add(i, l) atomic_long_add((i), (&(l)->a))
/linux-6.12.1/drivers/misc/sgi-gru/
Dgruhandles.c30 atomic_long_add(nsec, &mcs_op_statistics[op].total); in update_mcs_stats()
/linux-6.12.1/net/l2tp/
Dl2tp_core.c666 atomic_long_add(length, &tunnel->stats.rx_bytes); in l2tp_recv_dequeue_skb()
668 atomic_long_add(length, &session->stats.rx_bytes); in l2tp_recv_dequeue_skb()
1328 atomic_long_add(len, &session->tunnel->stats.tx_bytes); in l2tp_xmit_skb()
1330 atomic_long_add(len, &session->stats.tx_bytes); in l2tp_xmit_skb()
/linux-6.12.1/fs/afs/
Dwrite.c76 atomic_long_add(op->store.size, &afs_v2net(vnode)->n_store_bytes); in afs_store_data_success()
/linux-6.12.1/kernel/rcu/
Drcu_segcblist.c214 atomic_long_add(v, &rsclp->len); in rcu_segcblist_add_len()
/linux-6.12.1/kernel/locking/
Drwsem.c471 atomic_long_add(-adjustment, &sem->count); in rwsem_mark_wake()
544 atomic_long_add(adjustment, &sem->count); in rwsem_mark_wake()

123