Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/lightnvm/
Dpblk-cache.c73 atomic_long_add(nr_entries, &pblk->inflight_writes); in pblk_write_to_cache()
74 atomic_long_add(nr_entries, &pblk->req_writes); in pblk_write_to_cache()
131 atomic_long_add(valid_entries, &pblk->inflight_writes); in pblk_write_gc_to_cache()
132 atomic_long_add(valid_entries, &pblk->recov_gc_writes); in pblk_write_gc_to_cache()
Dpblk-read.c102 atomic_long_add(nr_secs, &pblk->inflight_reads); in pblk_read_ppalist_rq()
206 atomic_long_add(rqd->nr_ppas, &pblk->sync_reads); in __pblk_end_io_read()
374 atomic_long_add(valid_secs, &pblk->inflight_reads); in read_ppalist_rq_gc()
462 atomic_long_add(gc_rq->secs_to_gc, &pblk->sync_reads); in pblk_submit_read_gc()
463 atomic_long_add(gc_rq->secs_to_gc, &pblk->recov_gc_reads); in pblk_submit_read_gc()
Dpblk-write.c57 atomic_long_add(rqd->nr_ppas, &pblk->sync_writes); in pblk_end_w_bio()
204 atomic_long_add(c_ctx->nr_valid, &pblk->recov_writes); in pblk_queue_resubmit()
632 atomic_long_add(secs_to_sync, &pblk->sub_writes); in pblk_submit_write()
/Linux-v5.10/include/linux/
Dvmstat.h148 atomic_long_add(x, &zone->vm_numa_stat[item]); in zone_numa_state_add()
149 atomic_long_add(x, &vm_numa_stat[item]); in zone_numa_state_add()
175 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add()
176 atomic_long_add(x, &vm_zone_stat[item]); in zone_page_state_add()
182 atomic_long_add(x, &pgdat->vm_stat[item]); in node_page_state_add()
183 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.h114 atomic_long_add(count, &_totalhigh_pages); in totalhigh_pages_add()
Dmm.h77 atomic_long_add(count, &_totalram_pages); in totalram_pages_add()
2034 atomic_long_add(PTRS_PER_PUD * sizeof(pud_t), &mm->pgtables_bytes); in mm_inc_nr_puds()
2062 atomic_long_add(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); in mm_inc_nr_pmds()
2086 atomic_long_add(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); in mm_inc_nr_ptes()
/Linux-v5.10/kernel/sched/
Dloadavg.c242 atomic_long_add(delta, &calc_load_nohz[idx]); in calc_load_nohz_fold()
364 atomic_long_add(delta, &calc_load_tasks); in calc_global_load()
395 atomic_long_add(delta, &calc_load_tasks); in calc_global_load_tick()
/Linux-v5.10/mm/
Dvmstat.c705 atomic_long_add(zone_diff[i], &vm_zone_stat[i]); in fold_diff()
711 atomic_long_add(numa_diff[i], &vm_numa_stat[i]); in fold_diff()
717 atomic_long_add(node_diff[i], &vm_node_stat[i]); in fold_diff()
730 atomic_long_add(zone_diff[i], &vm_zone_stat[i]); in fold_diff()
736 atomic_long_add(node_diff[i], &vm_node_stat[i]); in fold_diff()
780 atomic_long_add(v, &zone->vm_stat[i]); in refresh_cpu_vm_stats()
795 atomic_long_add(v, &zone->vm_numa_stat[i]); in refresh_cpu_vm_stats()
841 atomic_long_add(v, &pgdat->vm_stat[i]); in refresh_cpu_vm_stats()
883 atomic_long_add(v, &zone->vm_stat[i]); in cpu_vm_stats_fold()
894 atomic_long_add(v, &zone->vm_numa_stat[i]); in cpu_vm_stats_fold()
[all …]
Dpage_counter.c32 atomic_long_add(delta, &c->parent->children_min_usage); in propagate_protected_usage()
41 atomic_long_add(delta, &c->parent->children_low_usage); in propagate_protected_usage()
Dworkingset.c241 atomic_long_add(nr_pages, &lruvec->nonresident_age); in workingset_age_nonresident()
Dmemcontrol.c792 atomic_long_add(x, &mi->vmstats[idx]); in __mod_memcg_state()
834 atomic_long_add(x, &pi->lruvec_stat[idx]); in __mod_memcg_lruvec_state()
920 atomic_long_add(x, &mi->vmevents[idx]); in __count_memcg_events()
2398 atomic_long_add(x, &memcg->vmstats[i]); in memcg_hotplug_cpu_dead()
2410 atomic_long_add(x, &pn->lruvec_stat[i]); in memcg_hotplug_cpu_dead()
2421 atomic_long_add(x, &memcg->vmevents[i]); in memcg_hotplug_cpu_dead()
3650 atomic_long_add(stat[i], &mi->vmstats[i]); in memcg_flush_percpu_vmstats()
3666 atomic_long_add(stat[i], &pi->lruvec_stat[i]); in memcg_flush_percpu_vmstats()
3686 atomic_long_add(events[i], &mi->vmevents[i]); in memcg_flush_percpu_vmevents()
/Linux-v5.10/lib/
Dpercpu-refcount.c192 atomic_long_add((long)count - PERCPU_COUNT_BIAS, &data->count); in percpu_ref_switch_to_atomic_rcu()
242 atomic_long_add(PERCPU_COUNT_BIAS, &ref->data->count); in __percpu_ref_switch_to_percpu()
/Linux-v5.10/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.c444 atomic_long_add(length, &tunnel->stats.rx_bytes); in l2tp_recv_dequeue_skb()
446 atomic_long_add(length, &session->stats.rx_bytes); in l2tp_recv_dequeue_skb()
1109 atomic_long_add(len, &session->tunnel->stats.tx_bytes); in l2tp_xmit_skb()
1111 atomic_long_add(len, &session->stats.tx_bytes); in l2tp_xmit_skb()
/Linux-v5.10/kernel/locking/
Drwsem.c460 atomic_long_add(-adjustment, &sem->count); in rwsem_mark_wake()
530 atomic_long_add(adjustment, &sem->count); in rwsem_mark_wake()
624 atomic_long_add(-RWSEM_READER_BIAS, &sem->count); in rwsem_try_read_lock_unqueued()
1013 atomic_long_add(-RWSEM_READER_BIAS, &sem->count); in rwsem_down_read_slowpath()
1281 atomic_long_add(-RWSEM_FLAG_HANDOFF, &sem->count); in rwsem_down_write_slowpath()
/Linux-v5.10/include/asm-generic/
Dlocal.h33 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
Datomic-long.h51 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add() function
545 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add() function
/Linux-v5.10/arch/alpha/include/asm/
Dlocal.h18 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
/Linux-v5.10/include/net/
Dinet_frag.h151 atomic_long_add(val, &fqdir->mem); in add_frag_mem_limit()
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h178 atomic_long_add(count, &direct_pages_count[psize]); in update_page_count()
/Linux-v5.10/arch/mips/include/asm/
Dlocal.h22 #define local_add(i, l) atomic_long_add((i), (&(l)->a))
/Linux-v5.10/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()
136 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
139 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
/Linux-v5.10/drivers/misc/sgi-gru/
Dgruhandles.c36 atomic_long_add(nsec, &mcs_op_statistics[op].total); in update_mcs_stats()
/Linux-v5.10/kernel/rcu/
Drcu_segcblist.c102 atomic_long_add(v, &rsclp->len); in rcu_segcblist_add_len()

123