• Home
  • Raw
  • Download

Lines Matching refs:block_device

373 int blkdev_report_zones(struct block_device *bdev, sector_t sector,
376 extern int blkdev_zone_mgmt(struct block_device *bdev, enum req_opf op,
382 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
384 extern int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode,
394 static inline int blkdev_report_zones_ioctl(struct block_device *bdev, in blkdev_report_zones_ioctl()
401 static inline int blkdev_zone_mgmt_ioctl(struct block_device *bdev, in blkdev_zone_mgmt_ioctl()
938 extern int scsi_verify_blk_ioctl(struct block_device *, unsigned int);
939 extern int scsi_cmd_blk_ioctl(struct block_device *, fmode_t,
972 static inline struct request_queue *bdev_get_queue(struct block_device *bdev) in bdev_get_queue()
1184 extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev,
1298 int blkdev_issue_flush(struct block_device *, gfp_t);
1326 static inline int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask) in blkdev_issue_flush()
1339 extern int blkdev_issue_write_same(struct block_device *bdev, sector_t sector,
1344 extern int blkdev_issue_discard(struct block_device *bdev, sector_t sector,
1346 extern int __blkdev_issue_discard(struct block_device *bdev, sector_t sector,
1353 extern int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
1356 extern int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
1382 static inline bool bdev_is_partition(struct block_device *bdev) in bdev_is_partition()
1448 static inline unsigned int bdev_logical_block_size(struct block_device *bdev) in bdev_logical_block_size()
1458 static inline unsigned int bdev_physical_block_size(struct block_device *bdev) in bdev_physical_block_size()
1468 static inline int bdev_io_min(struct block_device *bdev) in bdev_io_min()
1478 static inline int bdev_io_opt(struct block_device *bdev) in bdev_io_opt()
1500 static inline int bdev_alignment_offset(struct block_device *bdev) in bdev_alignment_offset()
1559 static inline int bdev_discard_alignment(struct block_device *bdev) in bdev_discard_alignment()
1569 static inline unsigned int bdev_write_same(struct block_device *bdev) in bdev_write_same()
1579 static inline unsigned int bdev_write_zeroes_sectors(struct block_device *bdev) in bdev_write_zeroes_sectors()
1589 static inline enum blk_zoned_model bdev_zoned_model(struct block_device *bdev) in bdev_zoned_model()
1599 static inline bool bdev_is_zoned(struct block_device *bdev) in bdev_is_zoned()
1609 static inline sector_t bdev_zone_sectors(struct block_device *bdev) in bdev_zone_sectors()
1618 static inline unsigned int bdev_max_open_zones(struct block_device *bdev) in bdev_max_open_zones()
1627 static inline unsigned int bdev_max_active_zones(struct block_device *bdev) in bdev_max_active_zones()
1659 static inline unsigned int block_size(struct block_device *bdev) in block_size()
1720 struct blk_integrity *bdev_get_integrity(struct block_device *bdev) in bdev_get_integrity()
1784 struct block_device;
1803 static inline struct blk_integrity *bdev_get_integrity(struct block_device *b) in bdev_get_integrity()
1876 int (*open) (struct block_device *, fmode_t);
1878 int (*rw_page)(struct block_device *, sector_t, struct page *, unsigned int);
1879 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
1880 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
1885 int (*getgeo)(struct block_device *, struct hd_geometry *);
1887 void (*swap_slot_free_notify) (struct block_device *, unsigned long);
1900 extern int blkdev_compat_ptr_ioctl(struct block_device *, fmode_t,
1906 extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int,
1908 extern int bdev_read_page(struct block_device *, sector_t, struct page *);
1909 extern int bdev_write_page(struct block_device *, sector_t, struct page *,
2010 int bdev_read_only(struct block_device *bdev);
2011 int set_blocksize(struct block_device *bdev, int size);
2013 const char *bdevname(struct block_device *bdev, char *buffer);
2014 struct block_device *lookup_bdev(const char *);
2026 struct block_device *blkdev_get_by_path(const char *path, fmode_t mode,
2028 struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder);
2029 int bd_prepare_to_claim(struct block_device *bdev, struct block_device *whole,
2031 void bd_abort_claiming(struct block_device *bdev, struct block_device *whole,
2033 void blkdev_put(struct block_device *bdev, fmode_t mode);
2035 struct block_device *I_BDEV(struct inode *inode);
2036 struct block_device *bdget_part(struct hd_struct *part);
2037 struct block_device *bdgrab(struct block_device *bdev);
2038 void bdput(struct block_device *);
2041 void invalidate_bdev(struct block_device *bdev);
2042 int truncate_bdev_range(struct block_device *bdev, fmode_t mode, loff_t lstart,
2044 int sync_blockdev(struct block_device *bdev);
2046 static inline void invalidate_bdev(struct block_device *bdev) in invalidate_bdev()
2049 static inline int truncate_bdev_range(struct block_device *bdev, fmode_t mode, in truncate_bdev_range()
2054 static inline int sync_blockdev(struct block_device *bdev) in sync_blockdev()
2059 int fsync_bdev(struct block_device *bdev);
2061 int freeze_bdev(struct block_device *bdev);
2062 int thaw_bdev(struct block_device *bdev);