Searched refs:part_stat_read (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/include/linux/ |
D | part_stat.h | 33 #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/ |
D | admin-cmd.c | 92 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/ |
D | sysfs.c | 68 (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()
|
D | super.c | 4049 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/ |
D | super.c | 3705 (u64)part_stat_read(sb->s_bdev->bd_part, in f2fs_fill_super()
|
D | f2fs.h | 1678 (((u64)part_stat_read((s)->sb->s_bdev->bd_part, sectors[STAT_WRITE]) - \
|