Searched refs:dkstats (Results 1 – 7 of 7) sorted by relevance
28 (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)
65 struct disk_stats __percpu *dkstats; member
405 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()
101 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()
388 free_percpu(part->dkstats); in hd_free_part()
844 cpu_dkstats = per_cpu_ptr(part->dkstats, cpu); in blkcg_fill_root_iostats()
49055 + p->dkstats = alloc_percpu(struct disk_stats);49056 + if (!p->dkstats) {