Searched refs:part_stat_read (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/include/linux/ |
D | part_stat.h | 34 #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]))
|
/linux-6.1.9/drivers/nvme/target/ |
D | admin-cmd.c | 88 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()
|
/linux-6.1.9/fs/ext4/ |
D | sysfs.c | 67 (part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in session_write_kbytes_show() 77 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in lifetime_write_kbytes_show()
|
D | super.c | 5053 part_stat_read(sb->s_bdev, sectors[STAT_WRITE]); in __ext4_fill_super() 5990 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) - in ext4_update_super()
|
/linux-6.1.9/fs/f2fs/ |
D | checkpoint.c | 1432 return (u64)part_stat_read(bdev, sectors[STAT_WRITE]); in get_sectors_written()
|