Home
last modified time | relevance | path

Searched refs:this_cpu_add (Results 1 – 25 of 40) 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.h181 this_cpu_add(ca->usage->d[acc_k.dev_data_type.data_type].buckets, a.v->d[0]); in bch2_accounting_mem_mod_locked()
182 this_cpu_add(ca->usage->d[acc_k.dev_data_type.data_type].sectors, a.v->d[1]); in bch2_accounting_mem_mod_locked()
183 this_cpu_add(ca->usage->d[acc_k.dev_data_type.data_type].fragmented, a.v->d[2]); in bch2_accounting_mem_mod_locked()
208 this_cpu_add(e->v[gc][i], a.v->d[i]); in bch2_accounting_mem_mod_locked()
H A Dio_read.c601 this_cpu_add(c->counters[BCH_COUNTER_io_read_retry], in bch2_rbio_retry()
1043 this_cpu_add(c->counters[BCH_COUNTER_io_read_inline], in __bch2_read_extent()
1244 this_cpu_add(c->counters[BCH_COUNTER_io_read], bio_sectors(&rbio->bio)); in __bch2_read_extent()
1246 this_cpu_add(c->counters[BCH_COUNTER_io_move_read], bio_sectors(&rbio->bio)); in __bch2_read_extent()
1279 this_cpu_add(ca->io_done->sectors[READ][BCH_DATA_user], in __bch2_read_extent()
1339 this_cpu_add(c->counters[BCH_COUNTER_io_read_hole], in __bch2_read_extent()
H A Dbuckets.h324 this_cpu_add(*c->online_reserved, sectors); in bch2_disk_reservation_add()
H A Ddata_update.c466 this_cpu_add(c->counters[BCH_COUNTER_io_move_finish], new->k.size); in __bch2_data_update_index_update()
515 this_cpu_add(m->op.c->counters[BCH_COUNTER_io_move_write], m->k.k->k.size); in bch2_data_update_read_done()
H A Dsix.c823 this_cpu_add(*lock->readers, nr); in six_lock_readers_add()
H A Dsuper-io.c990 this_cpu_add(ca->io_done->sectors[READ][BCH_DATA_sb], bio_sectors(bio)); in read_back_super()
1015 this_cpu_add(ca->io_done->sectors[WRITE][BCH_DATA_sb], in write_one_super()
H A Dbuckets.c1260 this_cpu_add(*c->online_reserved, sectors); in __bch2_disk_reservation_add()
1280 this_cpu_add(*c->online_reserved, sectors); in __bch2_disk_reservation_add()
/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.h501 #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) macro
510 #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
511 #define this_cpu_inc(pcp) this_cpu_add(pcp, 1)
H A Dalloc_tag.h200 this_cpu_add(tag->counters->bytes, bytes); in alloc_tag_add()
H A Dvmstat.h78 this_cpu_add(vm_event_states.event[item], delta); in count_vm_events()
H A Dhuge_mm.h157 this_cpu_add(mthp_stats.stats[order][item], delta); in mod_mthp_stat()
/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.h911 this_cpu_add(sch->cpu_qstats->backlog, qdisc_pkt_len(skb)); in qdisc_qstats_cpu_backlog_inc()
1174 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/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/lib/
H A Dpercpu_counter.c83 * the this_cpu_add(), and the interrupt updates this_cpu(*fbc->counters),
84 * then the this_cpu_add() that is executed after the interrupt has completed
118 * - this_cpu_add would be ok as it is irq-safe by definition.
133 this_cpu_add(*fbc->counters, amount); in percpu_counter_add_batch()
346 this_cpu_add(*fbc->counters, amount); in __percpu_counter_limited_add()
/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/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/net/batman-adv/
H A Dmain.h357 this_cpu_add(bat_priv->bat_counters[idx], count); in batadv_add_counter()
/linux/net/mpls/
H A Dinternal.h62 this_cpu_add((mdev)->stats->stats.bytes_field, (len)); \
/linux/drivers/target/
H A Dtarget_core_device.c61 this_cpu_add(deve->stats->write_bytes, in transport_lookup_cmd_lun()
64 this_cpu_add(deve->stats->read_bytes, in transport_lookup_cmd_lun()
132 this_cpu_add(se_cmd->se_dev->stats->write_bytes, in transport_lookup_cmd_lun()
135 this_cpu_add(se_cmd->se_dev->stats->read_bytes, in transport_lookup_cmd_lun()
/linux/Documentation/translations/zh_CN/core-api/
H A Dthis_cpu_ops.rst48 this_cpu_add(pcp, val)

12