• Home
  • Raw
  • Download

Lines Matching refs:bdev

500 				struct block_device *bdev)  in blk_trace_setup_lba()  argument
502 if (bdev) { in blk_trace_setup_lba()
503 bt->start_lba = bdev->bd_start_sect; in blk_trace_setup_lba()
504 bt->end_lba = bdev->bd_start_sect + bdev_nr_sectors(bdev); in blk_trace_setup_lba()
515 struct block_device *bdev, in do_blk_trace_setup() argument
566 if (bdev && !bdev_is_partition(bdev)) in do_blk_trace_setup()
600 blk_trace_setup_lba(bt, bdev); in do_blk_trace_setup()
622 struct block_device *bdev, char __user *arg) in __blk_trace_setup() argument
631 ret = do_blk_trace_setup(q, name, dev, bdev, &buts); in __blk_trace_setup()
643 struct block_device *bdev, in blk_trace_setup() argument
649 ret = __blk_trace_setup(q, name, dev, bdev, arg); in blk_trace_setup()
658 dev_t dev, struct block_device *bdev, in compat_blk_trace_setup() argument
677 ret = do_blk_trace_setup(q, name, dev, bdev, &buts); in compat_blk_trace_setup()
730 int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg) in blk_trace_ioctl() argument
736 q = bdev_get_queue(bdev); in blk_trace_ioctl()
744 snprintf(b, sizeof(b), "%pg", bdev); in blk_trace_ioctl()
745 ret = __blk_trace_setup(q, b, bdev->bd_dev, bdev, arg); in blk_trace_ioctl()
749 snprintf(b, sizeof(b), "%pg", bdev); in blk_trace_ioctl()
750 ret = compat_blk_trace_setup(q, b, bdev->bd_dev, bdev, arg); in blk_trace_ioctl()
1632 struct block_device *bdev) in blk_trace_setup_queue() argument
1645 bt->dev = bdev->bd_dev; in blk_trace_setup_queue()
1648 blk_trace_setup_lba(bt, bdev); in blk_trace_setup_queue()
1771 struct block_device *bdev = dev_to_bdev(dev); in sysfs_blk_trace_attr_show() local
1772 struct request_queue *q = bdev_get_queue(bdev); in sysfs_blk_trace_attr_show()
1805 struct block_device *bdev = dev_to_bdev(dev); in sysfs_blk_trace_attr_store() local
1806 struct request_queue *q = bdev_get_queue(bdev); in sysfs_blk_trace_attr_store()
1837 ret = blk_trace_setup_queue(q, bdev); in sysfs_blk_trace_attr_store()
1845 ret = blk_trace_setup_queue(q, bdev); in sysfs_blk_trace_attr_store()