Home
last modified time | relevance | path

Searched refs:dkstats (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dpart_stat.h28 (per_cpu_ptr((part)->dkstats, (cpu))->field)
35 typeof((part)->dkstats->field) res = 0; \
38 res += per_cpu_ptr((part)->dkstats, _cpu)->field; \
47 memset(per_cpu_ptr(part->dkstats, i), value, in part_stat_set_all()
57 __this_cpu_add((part)->dkstats->field, addnd)
Dgenhd.h65 struct disk_stats __percpu *dkstats; member
/kernel/linux/linux-5.10/block/partitions/
Dcore.c405 p->dkstats = alloc_percpu(struct disk_stats); in add_partition()
406 if (!p->dkstats) { in add_partition()
483 free_percpu(p->dkstats); in add_partition()
/kernel/linux/linux-5.10/block/
Dgenhd.c101 struct disk_stats *ptr = per_cpu_ptr(part->dkstats, cpu); in part_stat_read_all()
1739 disk->part0.dkstats = alloc_percpu(struct disk_stats); in __alloc_disk_node()
1740 if (!disk->part0.dkstats) in __alloc_disk_node()
1746 free_percpu(disk->part0.dkstats); in __alloc_disk_node()
Dblk.h388 free_percpu(part->dkstats); in hd_free_part()
Dblk-cgroup.c844 cpu_dkstats = per_cpu_ptr(part->dkstats, cpu); in blkcg_fill_root_iostats()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch49055 + p->dkstats = alloc_percpu(struct disk_stats);
49056 + if (!p->dkstats) {