Lines Matching refs:block_device
419 void update_io_ticks(struct block_device *part, unsigned long now, bool end);
420 unsigned int part_in_flight(struct block_device *part);
504 int blkdev_report_zones_ioctl(struct block_device *bdev, unsigned int cmd,
506 int blkdev_zone_mgmt_ioctl(struct block_device *bdev, blk_mode_t mode,
539 static inline int blkdev_report_zones_ioctl(struct block_device *bdev, in blkdev_report_zones_ioctl()
544 static inline int blkdev_zone_mgmt_ioctl(struct block_device *bdev, in blkdev_zone_mgmt_ioctl()
551 struct block_device *bdev_alloc(struct gendisk *disk, u8 partno);
552 void bdev_add(struct block_device *bdev, dev_t dev);
553 void bdev_unhash(struct block_device *bdev);
554 void bdev_drop(struct block_device *bdev);
566 void drop_partition(struct block_device *part);
568 void bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors);
609 int truncate_bdev_range(struct block_device *bdev, blk_mode_t mode,
621 bool should_fail_request(struct block_device *part, unsigned int bytes);
623 static inline bool should_fail_request(struct block_device *part, in should_fail_request()
728 int bdev_open(struct block_device *bdev, blk_mode_t mode, void *holder,