Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.6.21/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.6.21/include/linux/
Dvmstat.h148 atomic_long_add(x, &zone->vm_numa_event[item]); in zone_numa_event_add()
149 atomic_long_add(x, &vm_numa_event[item]); in zone_numa_event_add()
168 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add()
169 atomic_long_add(x, &vm_zone_stat[item]); in zone_page_state_add()
175 atomic_long_add(x, &pgdat->vm_stat[item]); in node_page_state_add()
176 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()
Dhighmem-internal.h149 atomic_long_add(count, &_totalhigh_pages); in totalhigh_pages_add()
/linux-6.6.21/mm/
Dpage_counter.c31 atomic_long_add(delta, &c->parent->children_min_usage); in propagate_protected_usage()
40 atomic_long_add(delta, &c->parent->children_low_usage); in propagate_protected_usage()
Dworkingset.c253 atomic_long_add(delta, &lrugen->evicted[hist][type][tier]); in lru_gen_eviction()
308 atomic_long_add(delta, &lrugen->refaulted[hist][type][tier]); in lru_gen_refault()
369 atomic_long_add(nr_pages, &lruvec->nonresident_age); in workingset_age_nonresident()
Dvmstat.c778 atomic_long_add(zone_diff[i], &vm_zone_stat[i]); in fold_diff()
784 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()
877 atomic_long_add(v, &pgdat->vm_stat[i]); in refresh_cpu_vm_stats()
911 atomic_long_add(v, &zone->vm_stat[i]); in cpu_vm_stats_fold()
939 atomic_long_add(v, &pgdat->vm_stat[i]); in cpu_vm_stats_fold()
/linux-6.6.21/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()
Dgenalloc.c510 atomic_long_add(size, &chunk->avail); in gen_pool_free_owner()
/linux-6.6.21/net/l2tp/
Dl2tp_eth.c82 atomic_long_add(len, &priv->tx_bytes); in l2tp_eth_dev_xmit()
150 atomic_long_add(data_len, &priv->rx_bytes); in l2tp_eth_dev_recv()
Dl2tp_core.c442 atomic_long_add(length, &tunnel->stats.rx_bytes); in l2tp_recv_dequeue_skb()
444 atomic_long_add(length, &session->stats.rx_bytes); in l2tp_recv_dequeue_skb()
1112 atomic_long_add(len, &session->tunnel->stats.tx_bytes); in l2tp_xmit_skb()
1114 atomic_long_add(len, &session->stats.tx_bytes); in l2tp_xmit_skb()
/linux-6.6.21/include/asm-generic/
Dlocal.h33 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
/linux-6.6.21/arch/alpha/include/asm/
Dlocal.h18 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
/linux-6.6.21/arch/loongarch/include/asm/
Dlocal.h22 #define local_add(i, l) atomic_long_add((i), (&(l)->a))
/linux-6.6.21/drivers/gpu/drm/ttm/
Dttm_tt.c308 atomic_long_add(ttm->num_pages, &ttm_pages_allocated); in ttm_tt_populate()
310 atomic_long_add(ttm->num_pages, in ttm_tt_populate()
/linux-6.6.21/include/net/
Dinet_frag.h168 atomic_long_add(val, &fqdir->mem); in add_frag_mem_limit()
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h180 atomic_long_add(count, &direct_pages_count[psize]); in update_page_count()
/linux-6.6.21/arch/mips/include/asm/
Dlocal.h22 #define local_add(i, l) atomic_long_add((i), (&(l)->a))
/linux-6.6.21/drivers/target/
Dtarget_core_device.c62 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
65 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
133 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
136 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
/linux-6.6.21/drivers/misc/sgi-gru/
Dgruhandles.c36 atomic_long_add(nsec, &mcs_op_statistics[op].total); in update_mcs_stats()
/linux-6.6.21/kernel/rcu/
Drcu_segcblist.c214 atomic_long_add(v, &rsclp->len); in rcu_segcblist_add_len()
/linux-6.6.21/kernel/locking/
Drwsem.c473 atomic_long_add(-adjustment, &sem->count); in rwsem_mark_wake()
546 atomic_long_add(adjustment, &sem->count); in rwsem_mark_wake()
/linux-6.6.21/drivers/md/bcache/
Dalloc.c675 atomic_long_add(sectors, in bch_alloc_sectors()

123