Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/
Dgenhd.h147 #define __disk_stat_add(gendiskp, field, addnd) \ argument
148 (per_cpu_ptr(gendiskp->dkstats, smp_processor_id())->field += addnd)
150 #define disk_stat_read(gendiskp, field) \ argument
152 typeof(gendiskp->dkstats->field) res = 0; \
155 res += per_cpu_ptr(gendiskp->dkstats, i)->field; \
159 static inline void disk_stat_set_all(struct gendisk *gendiskp, int value) { in disk_stat_set_all() argument
162 memset(per_cpu_ptr(gendiskp->dkstats, i), value, in disk_stat_set_all()
167 #define __disk_stat_add(gendiskp, field, addnd) \ argument
168 (gendiskp->dkstats.field += addnd)
169 #define disk_stat_read(gendiskp, field) (gendiskp->dkstats.field) argument
[all …]