Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/lightnvm/
Dpblk-cache.c75 atomic_long_add(nr_entries, &pblk->inflight_writes); in pblk_write_to_cache()
76 atomic_long_add(nr_entries, &pblk->req_writes); in pblk_write_to_cache()
133 atomic_long_add(valid_entries, &pblk->inflight_writes); in pblk_write_gc_to_cache()
134 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()
207 atomic_long_add(rqd->nr_ppas, &pblk->sync_reads); in __pblk_end_io_read()
377 atomic_long_add(valid_secs, &pblk->inflight_reads); in read_ppalist_rq_gc()
465 atomic_long_add(gc_rq->secs_to_gc, &pblk->sync_reads); in pblk_submit_read_gc()
466 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.4/include/linux/
Dvmstat.h139 atomic_long_add(x, &zone->vm_numa_stat[item]); in zone_numa_state_add()
140 atomic_long_add(x, &vm_numa_stat[item]); in zone_numa_state_add()
166 atomic_long_add(x, &zone->vm_stat[item]); in zone_page_state_add()
167 atomic_long_add(x, &vm_zone_stat[item]); in zone_page_state_add()
173 atomic_long_add(x, &pgdat->vm_stat[item]); in node_page_state_add()
174 atomic_long_add(x, &vm_node_stat[item]); in node_page_state_add()
Dpercpu-refcount.h194 atomic_long_add(nr, &ref->count); in percpu_ref_get_many()
Dhighmem.h57 atomic_long_add(count, &_totalhigh_pages); in totalhigh_pages_add()
Dmm.h70 atomic_long_add(count, &_totalram_pages); in totalram_pages_add()
1648 atomic_long_add(value, &mm->rss_stat.count[member]); in add_mm_counter()
1774 atomic_long_add(PTRS_PER_PUD * sizeof(pud_t), &mm->pgtables_bytes); in mm_inc_nr_puds()
1802 atomic_long_add(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); in mm_inc_nr_pmds()
1826 atomic_long_add(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); in mm_inc_nr_ptes()
/Linux-v5.4/kernel/sched/
Dloadavg.c247 atomic_long_add(delta, &calc_load_nohz[idx]); in calc_load_nohz_start()
351 atomic_long_add(delta, &calc_load_tasks); in calc_global_load()
382 atomic_long_add(delta, &calc_load_tasks); in calc_global_load_tick()
/Linux-v5.4/mm/
Dvmstat.c691 atomic_long_add(zone_diff[i], &vm_zone_stat[i]); in fold_diff()
697 atomic_long_add(numa_diff[i], &vm_numa_stat[i]); in fold_diff()
703 atomic_long_add(node_diff[i], &vm_node_stat[i]); in fold_diff()
716 atomic_long_add(zone_diff[i], &vm_zone_stat[i]); in fold_diff()
722 atomic_long_add(node_diff[i], &vm_node_stat[i]); in fold_diff()
766 atomic_long_add(v, &zone->vm_stat[i]); in refresh_cpu_vm_stats()
781 atomic_long_add(v, &zone->vm_numa_stat[i]); in refresh_cpu_vm_stats()
827 atomic_long_add(v, &pgdat->vm_stat[i]); in refresh_cpu_vm_stats()
869 atomic_long_add(v, &zone->vm_stat[i]); in cpu_vm_stats_fold()
880 atomic_long_add(v, &zone->vm_numa_stat[i]); in cpu_vm_stats_fold()
[all …]
Dpage_counter.c34 atomic_long_add(delta, &c->parent->children_min_usage); in propagate_protected_usage()
46 atomic_long_add(delta, &c->parent->children_low_usage); in propagate_protected_usage()
Dmemcontrol.c706 atomic_long_add(x, &mi->vmstats[idx]); in __mod_memcg_state()
761 atomic_long_add(x, &pi->lruvec_stat[idx]); in __mod_lruvec_state()
811 atomic_long_add(x, &mi->vmevents[idx]); in __count_memcg_events()
2311 atomic_long_add(x, &memcg->vmstats[i]); in memcg_hotplug_cpu_dead()
2323 atomic_long_add(x, &pn->lruvec_stat[i]); in memcg_hotplug_cpu_dead()
2334 atomic_long_add(x, &memcg->vmevents[i]); in memcg_hotplug_cpu_dead()
3431 atomic_long_add(stat[i], &mi->vmstats[i]); in memcg_flush_percpu_vmstats()
3450 atomic_long_add(stat[i], &pi->lruvec_stat[i]); in memcg_flush_percpu_vmstats()
3470 atomic_long_add(events[i], &mi->vmevents[i]); in memcg_flush_percpu_vmevents()
/Linux-v5.4/lib/
Dpercpu-refcount.c158 atomic_long_add((long)count - PERCPU_COUNT_BIAS, &ref->count); in percpu_ref_switch_to_atomic_rcu()
207 atomic_long_add(PERCPU_COUNT_BIAS, &ref->count); in __percpu_ref_switch_to_percpu()
/Linux-v5.4/kernel/locking/
Drwsem.c461 atomic_long_add(-adjustment, &sem->count); in rwsem_mark_wake()
531 atomic_long_add(adjustment, &sem->count); in rwsem_mark_wake()
625 atomic_long_add(-RWSEM_READER_BIAS, &sem->count); in rwsem_try_read_lock_unqueued()
1016 atomic_long_add(-RWSEM_READER_BIAS, &sem->count); in rwsem_down_read_slowpath()
1284 atomic_long_add(-RWSEM_FLAG_HANDOFF, &sem->count); in rwsem_down_write_slowpath()
/Linux-v5.4/include/asm-generic/
Dlocal.h33 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
Datomic-long.h50 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add() function
544 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add() function
/Linux-v5.4/net/l2tp/
Dl2tp_eth.c83 atomic_long_add(len, &priv->tx_bytes); in l2tp_eth_dev_xmit()
163 atomic_long_add(data_len, &priv->rx_bytes); in l2tp_eth_dev_recv()
Dl2tp_core.c398 atomic_long_add(length, &tunnel->stats.rx_bytes); in l2tp_recv_dequeue_skb()
400 atomic_long_add(length, &session->stats.rx_bytes); in l2tp_recv_dequeue_skb()
1038 atomic_long_add(len, &tunnel->stats.tx_bytes); in l2tp_xmit_core()
1040 atomic_long_add(len, &session->stats.tx_bytes); in l2tp_xmit_core()
/Linux-v5.4/arch/alpha/include/asm/
Dlocal.h18 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
/Linux-v5.4/include/net/
Dinet_frag.h151 atomic_long_add(val, &fqdir->mem); in add_frag_mem_limit()
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h181 atomic_long_add(count, &direct_pages_count[psize]); in update_page_count()
/Linux-v5.4/arch/mips/include/asm/
Dlocal.h22 #define local_add(i, l) atomic_long_add((i), (&(l)->a))
/Linux-v5.4/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()
137 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
140 atomic_long_add(se_cmd->data_length, in transport_lookup_cmd_lun()
/Linux-v5.4/drivers/misc/sgi-gru/
Dgruhandles.c35 atomic_long_add(nsec, &mcs_op_statistics[op].total); in update_mcs_stats()
/Linux-v5.4/kernel/rcu/
Drcu_segcblist.c111 atomic_long_add(v, &rsclp->len); in rcu_segcblist_add_len()
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Di915_request.c420 atomic_long_add(num_fences, &t->num_fences); in __igt_breadcrumbs_smoketest()
421 atomic_long_add(num_waits, &t->num_waits); in __igt_breadcrumbs_smoketest()

123