Home
last modified time | relevance | path

Searched refs:this_cpu_add (Results 1 – 25 of 38) sorted by relevance

12

/linux/kernel/locking/
H A Dqspinlock_stat.h102 this_cpu_add(EVENT_COUNT(pv_hash_hops), hopcnt); in lockevent_pv_hop()
114 this_cpu_add(EVENT_COUNT(pv_latency_kick), sched_clock() - start); in __pv_kick()
127 this_cpu_add(EVENT_COUNT(pv_latency_wake), in __pv_wait()
/linux/fs/bcachefs/
H A Ddisk_accounting.h146 this_cpu_add(ca->usage->d[acc_k.dev_data_type.data_type].buckets, a.v->d[0]); in bch2_accounting_mem_mod_locked()
147 this_cpu_add(ca->usage->d[acc_k.dev_data_type.data_type].sectors, a.v->d[1]); in bch2_accounting_mem_mod_locked()
148 this_cpu_add(ca->usage->d[acc_k.dev_data_type.data_type].fragmented, a.v->d[2]); in bch2_accounting_mem_mod_locked()
169 this_cpu_add(e->v[gc][i], a.v->d[i]); in bch2_accounting_mem_mod_locked()
H A Dbuckets.h372 this_cpu_add(*c->online_reserved, sectors); in bch2_disk_reservation_add()
H A Dmove.c333 this_cpu_add(c->counters[BCH_COUNTER_io_move], k.k->size); in bch2_move_extent()
334 this_cpu_add(c->counters[BCH_COUNTER_move_extent_read], k.k->size); in bch2_move_extent()
H A Dsix.c819 this_cpu_add(*lock->readers, nr); in six_lock_readers_add()
H A Dio_read.c1048 this_cpu_add(c->counters[BCH_COUNTER_io_read], bio_sectors(&rbio->bio)); in __bch2_read_extent()
1074 this_cpu_add(ca->io_done->sectors[READ][BCH_DATA_user], in __bch2_read_extent()
H A Dbuckets.c1192 this_cpu_add(*c->online_reserved, sectors); in __bch2_disk_reservation_add()
1212 this_cpu_add(*c->online_reserved, sectors); in __bch2_disk_reservation_add()
H A Dsuper-io.c900 this_cpu_add(ca->io_done->sectors[READ][BCH_DATA_sb], in read_back_super()
926 this_cpu_add(ca->io_done->sectors[WRITE][BCH_DATA_sb], in write_one_super()
/linux/include/linux/
H A Dpercpu-refcount.h205 this_cpu_add(*percpu_count, nr); in percpu_ref_get_many()
244 this_cpu_add(*percpu_count, nr); in percpu_ref_tryget_many()
H A Dpercpu-defs.h502 #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) macro
511 #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
512 #define this_cpu_inc(pcp) this_cpu_add(pcp, 1)
H A Dalloc_tag.h188 this_cpu_add(tag->counters->bytes, bytes); in alloc_tag_add()
H A Dhuge_mm.h149 this_cpu_add(mthp_stats.stats[order][item], delta); in mod_mthp_stat()
H A Dvmstat.h85 this_cpu_add(vm_event_states.event[item], delta); in count_vm_events()
/linux/include/net/
H A Dsnmp.h143 this_cpu_add(mib->mibs[field], addend)
148 this_cpu_add(ptr[basefield##OCTETS], addend); \
H A Dsch_generic.h904 this_cpu_add(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_inc()
1160 this_cpu_add(sch->cpu_qstats->backlog, pkt_len); in qdisc_update_stats_at_enqueue()
/linux/fs/nfs/
H A Diostat.h39 this_cpu_add(server->io_stats->bytes[stat], addend); in nfs_add_server_stats()
/linux/lib/
H A Dpercpu_counter.c133 this_cpu_add(*fbc->counters, amount); in percpu_counter_add_batch()
346 this_cpu_add(*fbc->counters, amount); in __percpu_counter_limited_add()
/linux/arch/s390/kernel/
H A Didle.c35 this_cpu_add(mt_cycles[i], cycles_new[i] - idle->mt_cycles_enter[i]); in account_idle_time_irq()
/linux/net/smc/
H A Dsmc_stats.h106 this_cpu_add((*stats).smc[t].key ## _bytes, r); \
154 this_cpu_add((*stats).smc[t].k ## _rmbuse, _l); \
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv.h142 this_cpu_add(s->rdma_stats->dir[d].size_total, size); in rtrs_srv_update_rdma_stats()
H A Drtrs-clt-stats.c169 this_cpu_add(stats->pcpu_stats->rdma.dir[d].size_total, size); in rtrs_clt_update_rdma_stats()
/linux/net/mpls/
H A Dinternal.h62 this_cpu_add((mdev)->stats->stats.bytes_field, (len)); \
/linux/Documentation/translations/zh_CN/core-api/
H A Dthis_cpu_ops.rst48 this_cpu_add(pcp, val)
/linux/include/net/netfilter/
H A Dnf_conntrack.h381 #define NF_CT_STAT_ADD_ATOMIC(net, count, v) this_cpu_add((net)->ct.stat->count, (v))
/linux/drivers/scsi/libfc/
H A Dfc_fcp.c1918 this_cpu_add(lport->stats->InputBytes, fsp->data_len); in fc_queuecommand()
1922 this_cpu_add(lport->stats->OutputBytes, fsp->data_len); in fc_queuecommand()

12