Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dpart_stat.h34 #define part_stat_read(part, field) \ macro
53 (part_stat_read(part, field[STAT_READ]) + \
54 part_stat_read(part, field[STAT_WRITE]) + \
55 part_stat_read(part, field[STAT_DISCARD]))
/openbmc/linux/drivers/nvme/target/
H A Dadmin-cmd.c88 host_reads = part_stat_read(req->ns->bdev, ios[READ]); in nvmet_get_smart_log_nsid()
90 DIV_ROUND_UP(part_stat_read(req->ns->bdev, sectors[READ]), 1000); in nvmet_get_smart_log_nsid()
91 host_writes = part_stat_read(req->ns->bdev, ios[WRITE]); in nvmet_get_smart_log_nsid()
93 DIV_ROUND_UP(part_stat_read(req->ns->bdev, sectors[WRITE]), 1000); in nvmet_get_smart_log_nsid()
117 host_reads += part_stat_read(ns->bdev, ios[READ]); in nvmet_get_smart_log_all()
119 part_stat_read(ns->bdev, sectors[READ]), 1000); in nvmet_get_smart_log_all()
120 host_writes += part_stat_read(ns->bdev, ios[WRITE]); in nvmet_get_smart_log_all()
122 part_stat_read(ns->bdev, sectors[WRITE]), 1000); in nvmet_get_smart_log_all()
/openbmc/linux/fs/ext4/
H A Dsysfs.c68 (part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in session_write_kbytes_show()
78 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in lifetime_write_kbytes_show()
H A Dsuper.c473 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in ext4_maybe_update_superblock()
5239 part_stat_read(sb->s_bdev, sectors[STAT_WRITE]); in __ext4_fill_super()
6125 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in ext4_update_super()
/openbmc/linux/fs/f2fs/
H A Dcheckpoint.c1437 return (u64)part_stat_read(bdev, sectors[STAT_WRITE]); in get_sectors_written()