Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dgenhd.h357 #define part_stat_add(cpu, part, field, addnd) do { \ macro
365 part_stat_add(cpu, gendiskp, field, -1)
367 part_stat_add(cpu, gendiskp, field, 1)
369 part_stat_add(cpu, gendiskp, field, -subnd)
/linux-2.6.39/drivers/block/aoe/
Daoecmd.c732 part_stat_add(cpu, part, ticks[rw], duration); in diskstats()
733 part_stat_add(cpu, part, sectors[rw], n_sect); in diskstats()
734 part_stat_add(cpu, part, io_ticks, duration); in diskstats()
/linux-2.6.39/drivers/block/drbd/
Ddrbd_req.c41 part_stat_add(cpu, &mdev->vdisk->part0, sectors[rw], bio_sectors(bio)); in _drbd_start_io_acct()
53 part_stat_add(cpu, &mdev->vdisk->part0, ticks[rw], duration); in _drbd_end_io_acct()
/linux-2.6.39/block/
Dblk-core.c1799 part_stat_add(cpu, part, sectors[rw], bytes >> 9); in blk_account_io_completion()
1821 part_stat_add(cpu, part, ticks[rw], duration); in blk_account_io_done()
/linux-2.6.39/drivers/md/
Ddm.c494 part_stat_add(cpu, &dm_disk(md)->part0, ticks[rw], duration); in end_io_acct()
1394 part_stat_add(cpu, &dm_disk(md)->part0, sectors[rw], bio_sectors(bio)); in _dm_request()
Dmd.c324 part_stat_add(cpu, &mddev->gendisk->part0, sectors[rw], sectors); in md_make_request()