Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dpart_stat.h33 #define part_stat_read(part, field) \ macro
52 (part_stat_read(part, field[STAT_READ]) + \
53 part_stat_read(part, field[STAT_WRITE]) + \
54 part_stat_read(part, field[STAT_DISCARD]))
/Linux-v5.10/drivers/nvme/target/
Dadmin-cmd.c92 host_reads = part_stat_read(ns->bdev->bd_part, ios[READ]); in nvmet_get_smart_log_nsid()
93 data_units_read = DIV_ROUND_UP(part_stat_read(ns->bdev->bd_part, in nvmet_get_smart_log_nsid()
95 host_writes = part_stat_read(ns->bdev->bd_part, ios[WRITE]); in nvmet_get_smart_log_nsid()
96 data_units_written = DIV_ROUND_UP(part_stat_read(ns->bdev->bd_part, in nvmet_get_smart_log_nsid()
123 host_reads += part_stat_read(ns->bdev->bd_part, ios[READ]); in nvmet_get_smart_log_all()
125 part_stat_read(ns->bdev->bd_part, sectors[READ]), 1000); in nvmet_get_smart_log_all()
126 host_writes += part_stat_read(ns->bdev->bd_part, ios[WRITE]); in nvmet_get_smart_log_all()
128 part_stat_read(ns->bdev->bd_part, sectors[WRITE]), 1000); in nvmet_get_smart_log_all()
/Linux-v5.10/fs/ext4/
Dsysfs.c68 (part_stat_read(sb->s_bdev->bd_part, in session_write_kbytes_show()
81 ((part_stat_read(sb->s_bdev->bd_part, in lifetime_write_kbytes_show()
Dsuper.c4049 part_stat_read(sb->s_bdev->bd_part, sectors[STAT_WRITE]); in ext4_fill_super()
5511 ((part_stat_read(sb->s_bdev->bd_part, in ext4_commit_super()
/Linux-v5.10/fs/f2fs/
Dsuper.c3705 (u64)part_stat_read(sb->s_bdev->bd_part, in f2fs_fill_super()
Df2fs.h1678 (((u64)part_stat_read((s)->sb->s_bdev->bd_part, sectors[STAT_WRITE]) - \