block_device 83 arch/m68k/emu/nfblock.c static int nfhd_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 103 arch/um/drivers/ubd_kern.c static int ubd_open(struct block_device *bdev, fmode_t mode); block_device 105 arch/um/drivers/ubd_kern.c static int ubd_ioctl(struct block_device *bdev, fmode_t mode, block_device 107 arch/um/drivers/ubd_kern.c static int ubd_getgeo(struct block_device *bdev, struct hd_geometry *geo); block_device 1213 arch/um/drivers/ubd_kern.c static int ubd_open(struct block_device *bdev, fmode_t mode) block_device 1416 arch/um/drivers/ubd_kern.c static int ubd_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 1426 arch/um/drivers/ubd_kern.c static int ubd_ioctl(struct block_device *bdev, fmode_t mode, block_device 125 arch/xtensa/platforms/iss/simdisk.c static int simdisk_open(struct block_device *bdev, fmode_t mode) block_device 433 block/blk-flush.c int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, block_device 25 block/blk-lib.c int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, block_device 97 block/blk-lib.c int blkdev_issue_discard(struct block_device *bdev, sector_t sector, block_device 131 block/blk-lib.c static int __blkdev_issue_write_same(struct block_device *bdev, sector_t sector, block_device 192 block/blk-lib.c int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, block_device 212 block/blk-lib.c static int __blkdev_issue_write_zeroes(struct block_device *bdev, block_device 268 block/blk-lib.c static int __blkdev_issue_zero_pages(struct block_device *bdev, block_device 324 block/blk-lib.c int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, block_device 358 block/blk-lib.c int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, block_device 632 block/blk-settings.c int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev, block_device 653 block/blk-settings.c void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, block_device 89 block/blk-zoned.c unsigned int blkdev_nr_zones(struct block_device *bdev) block_device 104 block/blk-zoned.c static bool blkdev_report_zone(struct block_device *bdev, struct blk_zone *rep) block_device 163 block/blk-zoned.c int blkdev_report_zones(struct block_device *bdev, sector_t sector, block_device 209 block/blk-zoned.c static int __blkdev_reset_all_zones(struct block_device *bdev, gfp_t gfp_mask) block_device 224 block/blk-zoned.c static inline bool blkdev_allow_reset_all_zones(struct block_device *bdev, block_device 253 block/blk-zoned.c int blkdev_reset_zones(struct block_device *bdev, block_device 314 block/blk-zoned.c int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, block_device 374 block/blk-zoned.c int blkdev_reset_zones_ioctl(struct block_device *bdev, fmode_t mode, block_device 52 block/compat_ioctl.c static int compat_hdio_getgeo(struct gendisk *disk, struct block_device *bdev, block_device 81 block/compat_ioctl.c static int compat_hdio_ioctl(struct block_device *bdev, fmode_t mode, block_device 118 block/compat_ioctl.c static int compat_cdrom_read_audio(struct block_device *bdev, fmode_t mode, block_device 145 block/compat_ioctl.c static int compat_cdrom_generic_command(struct block_device *bdev, fmode_t mode, block_device 184 block/compat_ioctl.c static int compat_blkpg_ioctl(struct block_device *bdev, fmode_t mode, block_device 210 block/compat_ioctl.c static int compat_blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, block_device 320 block/compat_ioctl.c struct block_device *bdev = inode->i_bdev; block_device 600 block/genhd.c struct block_device *bdev; block_device 926 block/genhd.c struct block_device *bdget_disk(struct gendisk *disk, int partno) block_device 929 block/genhd.c struct block_device *bdev = NULL; block_device 1570 block/genhd.c void set_device_ro(struct block_device *bdev, int flag) block_device 1595 block/genhd.c int bdev_read_only(struct block_device *bdev) block_device 1607 block/genhd.c struct block_device *bdev = bdget_disk(disk, partno); block_device 14 block/ioctl.c static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) block_device 16 block/ioctl.c struct block_device *bdevp; block_device 163 block/ioctl.c int __blkdev_reread_part(struct block_device *bdev) block_device 189 block/ioctl.c int blkdev_reread_part(struct block_device *bdev) block_device 201 block/ioctl.c static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, block_device 234 block/ioctl.c static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, block_device 298 block/ioctl.c int __blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, block_device 315 block/ioctl.c static int blkdev_pr_register(struct block_device *bdev, block_device 333 block/ioctl.c static int blkdev_pr_reserve(struct block_device *bdev, block_device 351 block/ioctl.c static int blkdev_pr_release(struct block_device *bdev, block_device 369 block/ioctl.c static int blkdev_pr_preempt(struct block_device *bdev, block_device 387 block/ioctl.c static int blkdev_pr_clear(struct block_device *bdev, block_device 425 block/ioctl.c static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, block_device 442 block/ioctl.c static int blkdev_roset(struct block_device *bdev, fmode_t mode, block_device 459 block/ioctl.c static int blkdev_getgeo(struct block_device *bdev, block_device 486 block/ioctl.c static int blkdev_bszset(struct block_device *bdev, fmode_t mode, block_device 513 block/ioctl.c int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, block_device 47 block/partition-generic.c const char *bdevname(struct block_device *bdev, char *buf) block_device 442 block/partition-generic.c static int drop_partitions(struct gendisk *disk, struct block_device *bdev) block_device 463 block/partition-generic.c struct block_device *bdev, block_device 512 block/partition-generic.c int rescan_partitions(struct gendisk *disk, struct block_device *bdev) block_device 642 block/partition-generic.c int invalidate_partitions(struct gendisk *disk, struct block_device *bdev) block_device 662 block/partition-generic.c unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p) block_device 79 block/partitions/aix.c static u64 last_lba(struct block_device *bdev) block_device 143 block/partitions/check.c check_partition(struct gendisk *hd, struct block_device *bdev) block_device 11 block/partitions/check.h struct block_device *bdev; block_device 29 block/partitions/check.h check_partition(struct gendisk *, struct block_device *); block_device 134 block/partitions/efi.c static u64 last_lba(struct block_device *bdev) block_device 241 block/partitions/efi.c struct block_device *bdev = state->bdev; block_device 292 block/partitions/ibm.c struct block_device *bdev = state->bdev; block_device 675 block/scsi_ioctl.c int scsi_verify_blk_ioctl(struct block_device *bd, unsigned int cmd) block_device 687 block/scsi_ioctl.c int scsi_cmd_blk_ioctl(struct block_device *bd, fmode_t mode, block_device 491 drivers/ata/libata-scsi.c int ata_std_bios_param(struct scsi_device *sdev, struct block_device *bdev, block_device 1525 drivers/block/amiflop.c static int fd_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 1535 drivers/block/amiflop.c static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, block_device 1610 drivers/block/amiflop.c static int fd_ioctl(struct block_device *bdev, fmode_t mode, block_device 1657 drivers/block/amiflop.c static int floppy_open(struct block_device *bdev, fmode_t mode) block_device 220 drivers/block/aoe/aoeblk.c aoeblk_open(struct block_device *bdev, fmode_t mode) block_device 285 drivers/block/aoe/aoeblk.c aoeblk_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 301 drivers/block/aoe/aoeblk.c aoeblk_ioctl(struct block_device *bdev, fmode_t mode, uint cmd, ulong arg) block_device 893 drivers/block/aoe/aoecmd.c struct block_device *bd; block_device 442 drivers/block/ataflop.c static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, unsigned int block_device 447 drivers/block/ataflop.c static int floppy_open(struct block_device *bdev, fmode_t mode); block_device 1559 drivers/block/ataflop.c static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, block_device 1742 drivers/block/ataflop.c static int fd_ioctl(struct block_device *bdev, fmode_t mode, block_device 1889 drivers/block/ataflop.c static int floppy_open(struct block_device *bdev, fmode_t mode) block_device 1926 drivers/block/ataflop.c static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) block_device 314 drivers/block/brd.c static int brd_rw_page(struct block_device *bdev, sector_t sector, block_device 594 drivers/block/drbd/drbd_int.h struct block_device *backing_bdev; block_device 595 drivers/block/drbd/drbd_int.h struct block_device *md_bdev; block_device 844 drivers/block/drbd/drbd_int.h struct block_device *this_bdev; block_device 1858 drivers/block/drbd/drbd_int.h static inline sector_t drbd_get_capacity(struct block_device *bdev) block_device 53 drivers/block/drbd/drbd_main.c static int drbd_open(struct block_device *bdev, fmode_t mode); block_device 1912 drivers/block/drbd/drbd_main.c static int drbd_open(struct block_device *bdev, fmode_t mode) block_device 1708 drivers/block/drbd/drbd_nl.c static struct block_device *open_backing_dev(struct drbd_device *device, block_device 1711 drivers/block/drbd/drbd_nl.c struct block_device *bdev; block_device 1739 drivers/block/drbd/drbd_nl.c struct block_device *bdev; block_device 1768 drivers/block/drbd/drbd_nl.c static void close_backing_dev(struct drbd_device *device, struct block_device *bdev, block_device 1513 drivers/block/drbd/drbd_receiver.c struct block_device *bdev = device->ldev->backing_bdev; block_device 1610 drivers/block/drbd/drbd_receiver.c struct block_device *bdev = device->ldev->backing_bdev; block_device 419 drivers/block/floppy.c static struct block_device *opened_bdev[N_DRIVE]; block_device 3224 drivers/block/floppy.c static int invalidate_drive(struct block_device *bdev) block_device 3234 drivers/block/floppy.c int drive, int type, struct block_device *bdev) block_device 3264 drivers/block/floppy.c struct block_device *bdev = opened_bdev[cnt]; block_device 3371 drivers/block/floppy.c static int fd_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 3406 drivers/block/floppy.c static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, block_device 3588 drivers/block/floppy.c static int fd_ioctl(struct block_device *bdev, fmode_t mode, block_device 3676 drivers/block/floppy.c static int compat_set_geometry(struct block_device *bdev, fmode_t mode, unsigned int cmd, block_device 3880 drivers/block/floppy.c static int fd_compat_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, block_device 4000 drivers/block/floppy.c static int floppy_open(struct block_device *bdev, fmode_t mode) block_device 4146 drivers/block/floppy.c static int __floppy_read_block_0(struct block_device *bdev, int drive) block_device 234 drivers/block/loop.c struct block_device *bdev = lo->lo_device; block_device 640 drivers/block/loop.c struct block_device *bdev) block_device 657 drivers/block/loop.c static int loop_validate_file(struct file *file, struct block_device *bdev) block_device 688 drivers/block/loop.c static int loop_change_fd(struct loop_device *lo, struct block_device *bdev, block_device 937 drivers/block/loop.c struct block_device *file_bdev = file_inode->i_sb->s_bdev; block_device 952 drivers/block/loop.c struct block_device *bdev, unsigned int arg) block_device 957 drivers/block/loop.c struct block_device *claimed_bdev = NULL; block_device 1118 drivers/block/loop.c struct block_device *bdev = lo->lo_device; block_device 1263 drivers/block/loop.c struct block_device *bdev; block_device 1611 drivers/block/loop.c static int lo_ioctl(struct block_device *bdev, fmode_t mode, block_device 1774 drivers/block/loop.c static int lo_compat_ioctl(struct block_device *bdev, fmode_t mode, block_device 1809 drivers/block/loop.c static int lo_open(struct block_device *bdev, fmode_t mode) block_device 50 drivers/block/loop.h struct block_device *lo_device; block_device 3201 drivers/block/mtip32xx/mtip32xx.c static int mtip_block_ioctl(struct block_device *dev, block_device 3239 drivers/block/mtip32xx/mtip32xx.c static int mtip_block_compat_ioctl(struct block_device *dev, block_device 3321 drivers/block/mtip32xx/mtip32xx.c static int mtip_block_getgeo(struct block_device *dev, block_device 3343 drivers/block/mtip32xx/mtip32xx.c static int mtip_block_open(struct block_device *dev, fmode_t mode) block_device 466 drivers/block/mtip32xx/mtip32xx.h struct block_device *bdev; block_device 302 drivers/block/nbd.c struct block_device *bdev = bdget_disk(nbd->disk, 0); block_device 1118 drivers/block/nbd.c static void nbd_bdev_reset(struct block_device *bdev) block_device 1295 drivers/block/nbd.c static int nbd_start_device_ioctl(struct nbd_device *nbd, struct block_device *bdev) block_device 1324 drivers/block/nbd.c struct block_device *bdev) block_device 1350 drivers/block/nbd.c static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd, block_device 1403 drivers/block/nbd.c static int nbd_ioctl(struct block_device *bdev, fmode_t mode, block_device 1449 drivers/block/nbd.c static int nbd_open(struct block_device *bdev, fmode_t mode) block_device 1493 drivers/block/nbd.c struct block_device *bdev = bdget_disk(disk, 0); block_device 1428 drivers/block/null_blk_main.c static int null_open(struct block_device *bdev, fmode_t mode) block_device 231 drivers/block/paride/pcd.c static int pcd_block_open(struct block_device *bdev, fmode_t mode) block_device 253 drivers/block/paride/pcd.c static int pcd_block_ioctl(struct block_device *bdev, fmode_t mode, block_device 791 drivers/block/paride/pd.c static int pd_open(struct block_device *bdev, fmode_t mode) block_device 806 drivers/block/paride/pd.c static int pd_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 823 drivers/block/paride/pd.c static int pd_ioctl(struct block_device *bdev, fmode_t mode, block_device 208 drivers/block/paride/pf.c static int pf_open(struct block_device *bdev, fmode_t mode); block_device 211 drivers/block/paride/pf.c static int pf_ioctl(struct block_device *bdev, fmode_t mode, block_device 213 drivers/block/paride/pf.c static int pf_getgeo(struct block_device *bdev, struct hd_geometry *geo); block_device 328 drivers/block/paride/pf.c static int pf_open(struct block_device *bdev, fmode_t mode) block_device 353 drivers/block/paride/pf.c static int pf_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 371 drivers/block/paride/pf.c static int pf_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) block_device 1101 drivers/block/pktcdvd.c struct block_device *pkt_bdev; block_device 2260 drivers/block/pktcdvd.c static int pkt_open(struct block_device *bdev, fmode_t mode) block_device 2569 drivers/block/pktcdvd.c struct block_device *bdev; block_device 2628 drivers/block/pktcdvd.c static int pkt_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) block_device 659 drivers/block/rbd.c static int rbd_open(struct block_device *bdev, fmode_t mode) block_device 706 drivers/block/rbd.c static int rbd_ioctl(struct block_device *bdev, fmode_t mode, block_device 724 drivers/block/rbd.c static int rbd_compat_ioctl(struct block_device *bdev, fmode_t mode, block_device 54 drivers/block/rsxx/dev.c static int rsxx_blkdev_ioctl(struct block_device *bdev, block_device 71 drivers/block/rsxx/dev.c static int rsxx_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 3088 drivers/block/skd_main.c static int skd_bdev_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 123 drivers/block/sunvdc.c static int vdc_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 143 drivers/block/sunvdc.c static int vdc_ioctl(struct block_device *bdev, fmode_t mode, block_device 609 drivers/block/swim.c static int floppy_open(struct block_device *bdev, fmode_t mode) block_device 659 drivers/block/swim.c static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) block_device 686 drivers/block/swim.c static int floppy_ioctl(struct block_device *bdev, fmode_t mode, block_device 713 drivers/block/swim.c static int floppy_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 249 drivers/block/swim3.c static int floppy_ioctl(struct block_device *bdev, fmode_t mode, block_device 251 drivers/block/swim3.c static int floppy_open(struct block_device *bdev, fmode_t mode); block_device 868 drivers/block/swim3.c static int floppy_locked_ioctl(struct block_device *bdev, fmode_t mode, block_device 896 drivers/block/swim3.c static int floppy_ioctl(struct block_device *bdev, fmode_t mode, block_device 908 drivers/block/swim3.c static int floppy_open(struct block_device *bdev, fmode_t mode) block_device 977 drivers/block/swim3.c static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) block_device 404 drivers/block/sx8.c static int carm_bdev_getgeo(struct block_device *bdev, struct hd_geometry *geo); block_device 430 drivers/block/sx8.c static int carm_bdev_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 763 drivers/block/umem.c static int mm_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 143 drivers/block/virtio_blk.c static int virtblk_ioctl(struct block_device *bdev, fmode_t mode, block_device 421 drivers/block/virtio_blk.c static int virtblk_open(struct block_device *bd, fmode_t mode) block_device 445 drivers/block/virtio_blk.c static int virtblk_getgeo(struct block_device *bd, struct hd_geometry *geo) block_device 1014 drivers/block/xen-blkback/blkback.c struct block_device *bdev = blkif->vbd.bdev; block_device 225 drivers/block/xen-blkback/common.h struct block_device *bdev; block_device 375 drivers/block/xen-blkback/common.h struct block_device *bdev; block_device 458 drivers/block/xen-blkback/xenbus.c struct block_device *bdev; block_device 549 drivers/block/xen-blkback/xenbus.c struct block_device *bdev = be->blkif->vbd.bdev; block_device 476 drivers/block/xen-blkfront.c static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg) block_device 492 drivers/block/xen-blkfront.c static int blkif_ioctl(struct block_device *bdev, fmode_t mode, block_device 2136 drivers/block/xen-blkfront.c struct block_device *bdev = NULL; block_device 2499 drivers/block/xen-blkfront.c struct block_device *bdev = NULL; block_device 2559 drivers/block/xen-blkfront.c static int blkif_open(struct block_device *bdev, fmode_t mode) block_device 2590 drivers/block/xen-blkfront.c struct block_device *bdev; block_device 913 drivers/block/xsysace.c static int ace_open(struct block_device *bdev, fmode_t mode) block_device 950 drivers/block/xsysace.c static int ace_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 149 drivers/block/z2ram.c static int z2_open(struct block_device *bdev, fmode_t mode) block_device 393 drivers/block/zram/zram_drv.c struct block_device *bdev; block_device 453 drivers/block/zram/zram_drv.c struct block_device *bdev = NULL; block_device 1608 drivers/block/zram/zram_drv.c static void zram_slot_free_notify(struct block_device *bdev, block_device 1625 drivers/block/zram/zram_drv.c static int zram_rw_page(struct block_device *bdev, sector_t sector, block_device 1760 drivers/block/zram/zram_drv.c struct block_device *bdev; block_device 1799 drivers/block/zram/zram_drv.c static int zram_open(struct block_device *bdev, fmode_t mode) block_device 1972 drivers/block/zram/zram_drv.c struct block_device *bdev; block_device 120 drivers/block/zram/zram_drv.h struct block_device *bdev; block_device 1155 drivers/cdrom/cdrom.c int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev, block_device 2472 drivers/cdrom/cdrom.c struct block_device *bdev) block_device 3329 drivers/cdrom/cdrom.c int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, block_device 478 drivers/cdrom/gdrom.c static int gdrom_bdops_open(struct block_device *bdev, fmode_t mode) block_device 503 drivers/cdrom/gdrom.c static int gdrom_bdops_ioctl(struct block_device *bdev, fmode_t mode, block_device 31 drivers/char/raw.c struct block_device *binding; block_device 58 drivers/char/raw.c struct block_device *bdev; block_device 105 drivers/char/raw.c struct block_device *bdev; block_device 124 drivers/char/raw.c struct block_device *bdev = filp->private_data; block_device 191 drivers/char/raw.c struct block_device *bdev; block_device 46 drivers/dax/super.c int bdev_dax_pgoff(struct block_device *bdev, sector_t sector, size_t size, block_device 60 drivers/dax/super.c struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) block_device 70 drivers/dax/super.c struct block_device *bdev, int blocksize, sector_t start, block_device 160 drivers/dax/super.c bool __bdev_dax_supported(struct block_device *bdev, int blocksize) block_device 318 drivers/dax/super.c bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, block_device 1609 drivers/ide/ide-cd.c static int idecd_open(struct block_device *bdev, fmode_t mode) block_device 1679 drivers/ide/ide-cd.c static int idecd_locked_ioctl(struct block_device *bdev, fmode_t mode, block_device 1701 drivers/ide/ide-cd.c static int idecd_ioctl(struct block_device *bdev, fmode_t mode, block_device 17 drivers/ide/ide-disk.h int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int, block_device 19 drivers/ide/ide-disk_ioctl.c int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, block_device 27 drivers/ide/ide-floppy.h int ide_floppy_ioctl(ide_drive_t *, struct block_device *, fmode_t, block_device 274 drivers/ide/ide-floppy_ioctl.c int ide_floppy_ioctl(ide_drive_t *drive, struct block_device *bdev, block_device 184 drivers/ide/ide-gd.c static int ide_gd_open(struct block_device *bdev, fmode_t mode) block_device 242 drivers/ide/ide-gd.c static int ide_gd_unlocked_open(struct block_device *bdev, fmode_t mode) block_device 276 drivers/ide/ide-gd.c static int ide_gd_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 335 drivers/ide/ide-gd.c static int ide_gd_ioctl(struct block_device *bdev, fmode_t mode, block_device 20 drivers/ide/ide-ioctls.c int ide_setting_ioctl(ide_drive_t *drive, struct block_device *bdev, block_device 236 drivers/ide/ide-ioctls.c int generic_ide_ioctl(ide_drive_t *drive, struct block_device *bdev, block_device 1894 drivers/ide/ide-tape.c static int idetape_open(struct block_device *bdev, fmode_t mode) block_device 1917 drivers/ide/ide-tape.c static int idetape_ioctl(struct block_device *bdev, fmode_t mode, block_device 301 drivers/md/bcache/bcache.h struct block_device *bdev; block_device 413 drivers/md/bcache/bcache.h struct block_device *bdev; block_device 62 drivers/md/bcache/super.c static const char *read_super(struct cache_sb *sb, struct block_device *bdev, block_device 648 drivers/md/bcache/super.c static int open_dev(struct block_device *b, fmode_t mode) block_device 666 drivers/md/bcache/super.c static int ioctl_dev(struct block_device *b, fmode_t mode, block_device 1356 drivers/md/bcache/super.c struct block_device *bdev, block_device 2263 drivers/md/bcache/super.c struct block_device *bdev, struct cache *ca) block_device 2339 drivers/md/bcache/super.c static bool bch_is_open_backing(struct block_device *bdev) block_device 2354 drivers/md/bcache/super.c static bool bch_is_open_cache(struct block_device *bdev) block_device 2367 drivers/md/bcache/super.c static bool bch_is_open(struct block_device *bdev) block_device 2378 drivers/md/bcache/super.c struct block_device *bdev = NULL; block_device 589 drivers/md/bcache/util.h static inline sector_t bdev_sectors(struct block_device *bdev) block_device 88 drivers/md/dm-bufio.c struct block_device *bdev; block_device 1605 drivers/md/dm-bufio.c struct dm_bufio_client *dm_bufio_client_create(struct block_device *bdev, unsigned block_size, block_device 108 drivers/md/dm-cache-metadata.c struct block_device *bdev; block_device 742 drivers/md/dm-cache-metadata.c static struct dm_cache_metadata *metadata_open(struct block_device *bdev, block_device 790 drivers/md/dm-cache-metadata.c static struct dm_cache_metadata *lookup(struct block_device *bdev) block_device 803 drivers/md/dm-cache-metadata.c static struct dm_cache_metadata *lookup_or_open(struct block_device *bdev, block_device 848 drivers/md/dm-cache-metadata.c struct dm_cache_metadata *dm_cache_metadata_open(struct block_device *bdev, block_device 59 drivers/md/dm-cache-metadata.h struct dm_cache_metadata *dm_cache_metadata_open(struct block_device *bdev, block_device 3435 drivers/md/dm-cache-target.c static bool origin_dev_supports_discard(struct block_device *origin_bdev) block_device 3448 drivers/md/dm-cache-target.c struct block_device *origin_bdev = cache->origin_dev->bdev; block_device 3471 drivers/md/dm-cache-target.c struct block_device *origin_bdev = cache->origin_dev->bdev; block_device 118 drivers/md/dm-clone-metadata.c struct block_device *bdev; block_device 563 drivers/md/dm-clone-metadata.c struct dm_clone_metadata *dm_clone_metadata_open(struct block_device *bdev, block_device 67 drivers/md/dm-clone-metadata.h struct dm_clone_metadata *dm_clone_metadata_open(struct block_device *bdev, block_device 2038 drivers/md/dm-clone-target.c static bool bdev_supports_discards(struct block_device *bdev) block_device 2051 drivers/md/dm-clone-target.c struct block_device *dest_dev = clone->dest_dev->bdev; block_device 2073 drivers/md/dm-clone-target.c struct block_device *dest_bdev = clone->dest_dev->bdev; block_device 107 drivers/md/dm-core.h struct block_device *bdev; block_device 462 drivers/md/dm-dust.c static int dust_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) block_device 261 drivers/md/dm-era-target.c struct block_device *bdev; block_device 777 drivers/md/dm-era-target.c static struct era_metadata *metadata_open(struct block_device *bdev, block_device 169 drivers/md/dm-exception-store.h static inline sector_t get_dev_size(struct block_device *bdev) block_device 447 drivers/md/dm-flakey.c static int flakey_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) block_device 122 drivers/md/dm-linear.c static int linear_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) block_device 171 drivers/md/dm-linear.c struct block_device *bdev = lc->dev->bdev; block_device 186 drivers/md/dm-linear.c struct block_device *bdev = lc->dev->bdev; block_device 200 drivers/md/dm-linear.c struct block_device *bdev = lc->dev->bdev; block_device 841 drivers/md/dm-log-writes.c struct block_device **bdev) block_device 490 drivers/md/dm-mpath.c struct block_device *bdev; block_device 780 drivers/md/dm-mpath.c static int setup_scsi_dh(struct block_device *bdev, struct multipath *m, block_device 1852 drivers/md/dm-mpath.c struct block_device **bdev) block_device 189 drivers/md/dm-snap.c static int bdev_equal(struct block_device *lhs, struct block_device *rhs) block_device 313 drivers/md/dm-snap.c struct block_device *bdev; block_device 380 drivers/md/dm-snap.c static unsigned origin_hash(struct block_device *bdev) block_device 385 drivers/md/dm-snap.c static struct origin *__lookup_origin(struct block_device *origin) block_device 404 drivers/md/dm-snap.c static struct dm_origin *__lookup_dm_origin(struct block_device *origin) block_device 551 drivers/md/dm-snap.c struct block_device *bdev = snap->origin->bdev; block_device 593 drivers/md/dm-snap.c struct block_device *bdev = s->origin->bdev; block_device 1791 drivers/md/dm-snap.c struct block_device *bdev = s->origin->bdev; block_device 2282 drivers/md/dm-snap.c static uint32_t get_origin_minimum_chunksize(struct block_device *bdev) block_device 323 drivers/md/dm-stripe.c struct block_device *bdev; block_device 344 drivers/md/dm-stripe.c struct block_device *bdev; block_device 363 drivers/md/dm-stripe.c struct block_device *bdev; block_device 515 drivers/md/dm-switch.c static int switch_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) block_device 284 drivers/md/dm-table.c struct block_device *bdev = dev->bdev; block_device 408 drivers/md/dm-table.c struct block_device *bdev; block_device 471 drivers/md/dm-table.c struct block_device *bdev = dev->bdev; block_device 148 drivers/md/dm-thin-metadata.c struct block_device *bdev; block_device 892 drivers/md/dm-thin-metadata.c struct dm_pool_metadata *dm_pool_metadata_open(struct block_device *bdev, block_device 44 drivers/md/dm-thin-metadata.h struct dm_pool_metadata *dm_pool_metadata_open(struct block_device *bdev, block_device 234 drivers/md/dm-thin.c struct block_device *data_dev; block_device 235 drivers/md/dm-thin.c struct block_device *md_dev; block_device 567 drivers/md/dm-thin.c static struct pool *__pool_table_lookup_metadata_dev(struct block_device *md_dev) block_device 2858 drivers/md/dm-thin.c struct block_device *data_bdev = pt->data_dev->bdev; block_device 2948 drivers/md/dm-thin.c struct block_device *metadata_dev, block_device 2949 drivers/md/dm-thin.c struct block_device *data_dev, block_device 3098 drivers/md/dm-thin.c struct block_device *metadata_dev, block_device 3099 drivers/md/dm-thin.c struct block_device *data_dev, block_device 3236 drivers/md/dm-thin.c static sector_t get_dev_size(struct block_device *bdev) block_device 3241 drivers/md/dm-thin.c static void warn_if_metadata_device_too_big(struct block_device *bdev) block_device 3251 drivers/md/dm-thin.c static sector_t get_metadata_dev_size(struct block_device *bdev) block_device 3261 drivers/md/dm-thin.c static dm_block_t get_metadata_dev_size_in_blocks(struct block_device *bdev) block_device 747 drivers/md/dm-verity-target.c static int verity_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) block_device 923 drivers/md/dm-zoned-target.c static int dmz_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) block_device 52 drivers/md/dm-zoned.h struct block_device *bdev; block_device 329 drivers/md/dm.c static int dm_blk_open(struct block_device *bdev, fmode_t mode) block_device 436 drivers/md/dm.c static int dm_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 493 drivers/md/dm.c struct block_device **bdev) block_device 533 drivers/md/dm.c static int dm_blk_ioctl(struct block_device *bdev, fmode_t mode, block_device 745 drivers/md/dm.c struct block_device *bdev; block_device 1108 drivers/md/dm.c static bool dm_dax_supported(struct dax_device *dax_dev, struct block_device *bdev, block_device 3054 drivers/md/dm.c static int dm_call_pr(struct block_device *bdev, iterate_devices_callout_fn fn, block_device 3095 drivers/md/dm.c static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, block_device 3119 drivers/md/dm.c static int dm_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, block_device 3140 drivers/md/dm.c static int dm_pr_release(struct block_device *bdev, u64 key, enum pr_type type) block_device 3160 drivers/md/dm.c static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, block_device 3181 drivers/md/dm.c static int dm_pr_clear(struct block_device *bdev, u64 key) block_device 215 drivers/md/md-bitmap.c struct block_device *bdev; block_device 2402 drivers/md/md.c struct block_device *bdev; block_device 2417 drivers/md/md.c struct block_device *bdev = rdev->bdev; block_device 4276 drivers/md/md.c static int do_md_stop(struct mddev *mddev, int ro, struct block_device *bdev); block_device 4277 drivers/md/md.c static int md_set_readonly(struct mddev *mddev, struct block_device *bdev); block_device 6082 drivers/md/md.c static int md_set_readonly(struct mddev *mddev, struct block_device *bdev) block_device 6145 drivers/md/md.c struct block_device *bdev) block_device 7240 drivers/md/md.c static int md_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 7276 drivers/md/md.c static int md_ioctl(struct block_device *bdev, fmode_t mode, block_device 7573 drivers/md/md.c static int md_compat_ioctl(struct block_device *bdev, fmode_t mode, block_device 7592 drivers/md/md.c static int md_open(struct block_device *bdev, fmode_t mode) block_device 50 drivers/md/md.h struct block_device *meta_bdev; block_device 51 drivers/md/md.h struct block_device *bdev; /* block device handle */ block_device 537 drivers/md/md.h static inline void md_sync_acct(struct block_device *bdev, unsigned long nr_sectors) block_device 378 drivers/md/persistent-data/dm-block-manager.c struct dm_block_manager *dm_block_manager_create(struct block_device *bdev, block_device 35 drivers/md/persistent-data/dm-block-manager.h struct block_device *bdev, unsigned block_size, block_device 1318 drivers/md/raid5-cache.c struct block_device *bdev = log->rdev->bdev; block_device 628 drivers/md/raid5-ppl.c struct block_device *bdev = NULL; block_device 1937 drivers/memstick/core/ms_block.c static int msb_bd_open(struct block_device *bdev, fmode_t mode) block_device 1989 drivers/memstick/core/ms_block.c static int msb_bd_getgeo(struct block_device *bdev, block_device 181 drivers/memstick/core/mspro_block.c static int mspro_block_bd_open(struct block_device *bdev, fmode_t mode) block_device 230 drivers/memstick/core/mspro_block.c static int mspro_block_bd_getgeo(struct block_device *bdev, block_device 2085 drivers/message/fusion/mptscsih.c mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, block_device 125 drivers/message/fusion/mptscsih.h extern int mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev, sector_t capacity, int geom[]); block_device 304 drivers/mmc/core/block.c static int mmc_blk_open(struct block_device *bdev, fmode_t mode) block_device 335 drivers/mmc/core/block.c mmc_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 769 drivers/mmc/core/block.c static int mmc_blk_check_blkdev(struct block_device *bdev) block_device 781 drivers/mmc/core/block.c static int mmc_blk_ioctl(struct block_device *bdev, fmode_t mode, block_device 818 drivers/mmc/core/block.c static int mmc_blk_compat_ioctl(struct block_device *bdev, fmode_t mode, block_device 37 drivers/mtd/devices/block2mtd.c struct block_device *blkdev; block_device 223 drivers/mtd/devices/block2mtd.c struct block_device *bdev; block_device 204 drivers/mtd/mtd_blkdevs.c static int blktrans_open(struct block_device *bdev, fmode_t mode) block_device 281 drivers/mtd/mtd_blkdevs.c static int blktrans_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 301 drivers/mtd/mtd_blkdevs.c static int blktrans_ioctl(struct block_device *bdev, fmode_t mode, block_device 123 drivers/mtd/mtdsuper.c struct block_device *bdev; block_device 219 drivers/mtd/ubi/block.c static int ubiblock_open(struct block_device *bdev, fmode_t mode) block_device 275 drivers/mtd/ubi/block.c static int ubiblock_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 1486 drivers/nvdimm/btt.c static int btt_rw_page(struct block_device *bdev, sector_t sector, block_device 1502 drivers/nvdimm/btt.c static int btt_getgeo(struct block_device *bd, struct hd_geometry *geo) block_device 221 drivers/nvdimm/pmem.c static int pmem_rw_page(struct block_device *bdev, sector_t sector, block_device 1560 drivers/nvme/host/core.c static int nvme_ioctl(struct block_device *bdev, fmode_t mode, block_device 1605 drivers/nvme/host/core.c static int nvme_open(struct block_device *bdev, fmode_t mode) block_device 1635 drivers/nvme/host/core.c static int nvme_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 1932 drivers/nvme/host/core.c static int nvme_pr_command(struct block_device *bdev, u32 cdw10, block_device 1958 drivers/nvme/host/core.c static int nvme_pr_register(struct block_device *bdev, u64 old, block_device 1972 drivers/nvme/host/core.c static int nvme_pr_reserve(struct block_device *bdev, u64 key, block_device 1985 drivers/nvme/host/core.c static int nvme_pr_preempt(struct block_device *bdev, u64 old, u64 new, block_device 1992 drivers/nvme/host/core.c static int nvme_pr_clear(struct block_device *bdev, u64 key) block_device 1998 drivers/nvme/host/core.c static int nvme_pr_release(struct block_device *bdev, u64 key, enum pr_type type) block_device 2046 drivers/nvme/host/core.c static int nvme_ns_head_open(struct block_device *bdev, fmode_t mode) block_device 11 drivers/nvme/target/io-cmd-bdev.c void nvmet_bdev_set_limits(struct block_device *bdev, struct nvme_id_ns *id) block_device 55 drivers/nvme/target/nvmet.h struct block_device *bdev; block_device 368 drivers/nvme/target/nvmet.h void nvmet_bdev_set_limits(struct block_device *bdev, struct nvme_id_ns *id); block_device 3304 drivers/s390/block/dasd.c static int dasd_open(struct block_device *bdev, fmode_t mode) block_device 3370 drivers/s390/block/dasd.c static int dasd_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 101 drivers/s390/block/dasd_genhd.c struct block_device *bdev; block_device 147 drivers/s390/block/dasd_genhd.c struct block_device *bdev; block_device 558 drivers/s390/block/dasd_int.h struct block_device *bdev; block_device 847 drivers/s390/block/dasd_int.h int dasd_ioctl(struct block_device *, fmode_t, unsigned int, unsigned long); block_device 44 drivers/s390/block/dasd_ioctl.c dasd_ioctl_enable(struct block_device *bdev) block_device 70 drivers/s390/block/dasd_ioctl.c dasd_ioctl_disable(struct block_device *bdev) block_device 229 drivers/s390/block/dasd_ioctl.c struct block_device *bdev = bdget_disk(block->gdp, 0); block_device 262 drivers/s390/block/dasd_ioctl.c dasd_ioctl_format(struct block_device *bdev, void __user *argp) block_device 299 drivers/s390/block/dasd_ioctl.c static int dasd_ioctl_check_format(struct block_device *bdev, void __user *argp) block_device 350 drivers/s390/block/dasd_ioctl.c static int dasd_ioctl_release_space(struct block_device *bdev, void __user *argp) block_device 538 drivers/s390/block/dasd_ioctl.c dasd_ioctl_set_ro(struct block_device *bdev, void __user *argp) block_device 576 drivers/s390/block/dasd_ioctl.c int dasd_ioctl(struct block_device *bdev, fmode_t mode, block_device 32 drivers/s390/block/dcssblk.c static int dcssblk_open(struct block_device *bdev, fmode_t mode); block_device 809 drivers/s390/block/dcssblk.c dcssblk_open(struct block_device *bdev, fmode_t mode) block_device 233 drivers/s390/block/xpram.c static int xpram_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 1698 drivers/scsi/3w-9xxx.c static int twa_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) block_device 1408 drivers/scsi/3w-sas.c static int twl_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) block_device 1343 drivers/scsi/3w-xxxx.c static int tw_scsi_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 3384 drivers/scsi/BusLogic.c static int blogic_diskparam(struct scsi_device *sdev, struct block_device *dev, block_device 1287 drivers/scsi/BusLogic.h static int blogic_diskparam(struct scsi_device *, struct block_device *, sector_t, int *); block_device 296 drivers/scsi/aacraid/linit.c static int aac_biosparm(struct scsi_device *sdev, struct block_device *bdev, block_device 7185 drivers/scsi/advansys.c advansys_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 1223 drivers/scsi/aha152x.c static int aha152x_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 982 drivers/scsi/aha1542.c struct block_device *bdev, sector_t capacity, int geom[]) block_device 505 drivers/scsi/aha1740.c struct block_device *dev, block_device 723 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 695 drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_linux_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 112 drivers/scsi/arcmsr/arcmsr_hba.c struct block_device *bdev, sector_t capacity, int *info); block_device 354 drivers/scsi/arcmsr/arcmsr_hba.c struct block_device *bdev, sector_t capacity, int *geom) block_device 1637 drivers/scsi/atp870u.c static int atp870u_biosparam(struct scsi_device *disk, struct block_device *dev, block_device 1060 drivers/scsi/dc395x.c struct block_device *bdev, sector_t capacity, int *info) block_device 481 drivers/scsi/dpt_i2o.c static int adpt_bios_param(struct scsi_device *sdev, struct block_device *dev, block_device 35 drivers/scsi/dpti.h static int adpt_bios_param(struct scsi_device * sdev, struct block_device *dev, block_device 463 drivers/scsi/fdomain.c struct block_device *bdev, sector_t capacity, block_device 3359 drivers/scsi/gdth.c static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip) block_device 945 drivers/scsi/imm.c static int imm_biosparam(struct scsi_device *sdev, struct block_device *dev, block_device 2664 drivers/scsi/initio.c static int i91u_biosparam(struct scsi_device *sdev, struct block_device *dev, block_device 4745 drivers/scsi/ipr.c struct block_device *block_device, block_device 1140 drivers/scsi/ips.c static int ips_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 401 drivers/scsi/ips.h static int ips_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 877 drivers/scsi/libsas/sas_scsi_host.c struct block_device *bdev, block_device 2794 drivers/scsi/megaraid.c megaraid_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 957 drivers/scsi/megaraid.h static int megaraid_biosparam(struct scsi_device *, struct block_device *, block_device 3073 drivers/scsi/megaraid/megaraid_sas_base.c megasas_bios_param(struct scsi_device *sdev, struct block_device *bdev, block_device 2482 drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_bios_param(struct scsi_device *sdev, struct block_device *bdev, block_device 2147 drivers/scsi/mvumi.c mvumi_bios_param(struct scsi_device *sdev, struct block_device *bdev, block_device 1777 drivers/scsi/myrb.c static int myrb_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 594 drivers/scsi/pcmcia/sym53c500_cs.c struct block_device *dev, block_device 821 drivers/scsi/ppa.c static int ppa_biosparam(struct scsi_device *sdev, struct block_device *dev, block_device 1034 drivers/scsi/qla1280.c qla1280_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 468 drivers/scsi/qlogicfas408.c int qlogicfas408_biosparam(struct scsi_device *disk, struct block_device *dev, block_device 109 drivers/scsi/qlogicfas408.h struct block_device *dev, block_device 36 drivers/scsi/scsicam.c unsigned char *scsi_bios_ptable(struct block_device *dev) block_device 40 drivers/scsi/scsicam.c struct block_device *bdev = dev->bd_contains; block_device 68 drivers/scsi/scsicam.c int scsicam_bios_param(struct block_device *bdev, sector_t capacity, int *ip) block_device 1334 drivers/scsi/sd.c static int sd_open(struct block_device *bdev, fmode_t mode) block_device 1423 drivers/scsi/sd.c static int sd_getgeo(struct block_device *bdev, struct hd_geometry *geo) block_device 1462 drivers/scsi/sd.c static int sd_ioctl(struct block_device *bdev, fmode_t mode, block_device 1694 drivers/scsi/sd.c static int sd_compat_ioctl(struct block_device *bdev, fmode_t mode, block_device 1744 drivers/scsi/sd.c static int sd_pr_command(struct block_device *bdev, u8 sa, block_device 1774 drivers/scsi/sd.c static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, block_device 1784 drivers/scsi/sd.c static int sd_pr_reserve(struct block_device *bdev, u64 key, enum pr_type type, block_device 1792 drivers/scsi/sd.c static int sd_pr_release(struct block_device *bdev, u64 key, enum pr_type type) block_device 1797 drivers/scsi/sd.c static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, block_device 1804 drivers/scsi/sd.c static int sd_pr_clear(struct block_device *bdev, u64 key) block_device 524 drivers/scsi/sr.c static int sr_block_open(struct block_device *bdev, fmode_t mode) block_device 559 drivers/scsi/sr.c static int sr_block_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, block_device 1459 drivers/scsi/stex.c struct block_device *bdev, sector_t capacity, int geom[]) block_device 1448 drivers/scsi/storvsc_drv.c static int storvsc_get_chs(struct scsi_device *sdev, struct block_device * bdev, block_device 545 drivers/scsi/wd719x.c static int wd719x_biosparam(struct scsi_device *sdev, struct block_device *bdev, block_device 3974 drivers/staging/exfat/exfat_super.c struct block_device *bdev = sb->s_bdev; block_device 562 drivers/target/target_core_file.c struct block_device *bdev = inode->i_bdev; block_device 73 drivers/target/target_core_iblock.c struct block_device *bd = NULL; block_device 193 drivers/target/target_core_iblock.c struct block_device *bd, block_device 394 drivers/target/target_core_iblock.c struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; block_device 411 drivers/target/target_core_iblock.c iblock_execute_zero_out(struct block_device *bdev, struct se_cmd *cmd) block_device 446 drivers/target/target_core_iblock.c struct block_device *bdev = IBLOCK_DEV(cmd->se_dev)->ibd_bd; block_device 599 drivers/target/target_core_iblock.c struct block_device *bd = ib_dev->ibd_bd; block_device 795 drivers/target/target_core_iblock.c struct block_device *bd = ib_dev->ibd_bd; block_device 804 drivers/target/target_core_iblock.c struct block_device *bd = ib_dev->ibd_bd; block_device 818 drivers/target/target_core_iblock.c struct block_device *bd = ib_dev->ibd_bd; block_device 827 drivers/target/target_core_iblock.c struct block_device *bd = ib_dev->ibd_bd; block_device 835 drivers/target/target_core_iblock.c struct block_device *bd = ib_dev->ibd_bd; block_device 856 drivers/target/target_core_iblock.c struct block_device *bd = ib_dev->ibd_bd; block_device 25 drivers/target/target_core_iblock.h struct block_device *ibd_bd; block_device 360 drivers/target/target_core_pscsi.c struct block_device *bd; block_device 22 drivers/target/target_core_pscsi.h struct block_device; block_device 44 drivers/target/target_core_pscsi.h struct block_device *pdv_bd; block_device 41 fs/block_dev.c struct block_device bdev; block_device 52 fs/block_dev.c struct block_device *I_BDEV(struct inode *inode) block_device 58 fs/block_dev.c static void bdev_write_inode(struct block_device *bdev) block_device 79 fs/block_dev.c void kill_bdev(struct block_device *bdev) block_device 92 fs/block_dev.c void invalidate_bdev(struct block_device *bdev) block_device 108 fs/block_dev.c static void set_init_blocksize(struct block_device *bdev) block_device 122 fs/block_dev.c int set_blocksize(struct block_device *bdev, int size) block_device 207 fs/block_dev.c struct block_device *bdev = I_BDEV(bdev_file_inode(file)); block_device 293 fs/block_dev.c struct block_device *bdev = I_BDEV(kiocb->ki_filp->f_mapping->host); block_device 343 fs/block_dev.c struct block_device *bdev = I_BDEV(inode); block_device 486 fs/block_dev.c int __sync_blockdev(struct block_device *bdev, int wait) block_device 499 fs/block_dev.c int sync_blockdev(struct block_device *bdev) block_device 510 fs/block_dev.c int fsync_bdev(struct block_device *bdev) block_device 534 fs/block_dev.c struct super_block *freeze_bdev(struct block_device *bdev) block_device 581 fs/block_dev.c int thaw_bdev(struct block_device *bdev, struct super_block *sb) block_device 664 fs/block_dev.c struct block_device *bdev = I_BDEV(bd_inode); block_device 700 fs/block_dev.c int bdev_read_page(struct block_device *bdev, sector_t sector, block_device 738 fs/block_dev.c int bdev_write_page(struct block_device *bdev, sector_t sector, block_device 787 fs/block_dev.c struct block_device *bdev = &ei->bdev; block_device 803 fs/block_dev.c struct block_device *bdev = &BDEV_I(inode)->bdev; block_device 901 fs/block_dev.c struct block_device *bdget(dev_t dev) block_device 903 fs/block_dev.c struct block_device *bdev; block_device 940 fs/block_dev.c struct block_device *bdgrab(struct block_device *bdev) block_device 949 fs/block_dev.c struct block_device *bdev; block_device 959 fs/block_dev.c void bdput(struct block_device *bdev) block_device 966 fs/block_dev.c static struct block_device *bd_acquire(struct inode *inode) block_device 968 fs/block_dev.c struct block_device *bdev; block_device 1011 fs/block_dev.c struct block_device *bdev = NULL; block_device 1038 fs/block_dev.c static bool bd_may_claim(struct block_device *bdev, struct block_device *whole, block_device 1074 fs/block_dev.c static int bd_prepare_to_claim(struct block_device *bdev, block_device 1075 fs/block_dev.c struct block_device *whole, void *holder) block_device 1099 fs/block_dev.c static struct gendisk *bdev_get_gendisk(struct block_device *bdev, int *partno) block_device 1143 fs/block_dev.c struct block_device *bd_start_claiming(struct block_device *bdev, void *holder) block_device 1146 fs/block_dev.c struct block_device *whole; block_device 1192 fs/block_dev.c static void bd_clear_claiming(struct block_device *whole, void *holder) block_device 1210 fs/block_dev.c void bd_finish_claiming(struct block_device *bdev, struct block_device *whole, block_device 1238 fs/block_dev.c void bd_abort_claiming(struct block_device *bdev, struct block_device *whole, block_device 1254 fs/block_dev.c static struct bd_holder_disk *bd_find_holder_disk(struct block_device *bdev, block_device 1303 fs/block_dev.c int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk) block_device 1368 fs/block_dev.c void bd_unlink_disk_holder(struct block_device *bdev, struct gendisk *disk) block_device 1400 fs/block_dev.c static void flush_disk(struct block_device *bdev, bool kill_dirty) block_device 1420 fs/block_dev.c void check_disk_size_change(struct gendisk *disk, struct block_device *bdev, block_device 1459 fs/block_dev.c struct block_device *bdev = bdget_disk(disk, 0); block_device 1483 fs/block_dev.c int check_disk_change(struct block_device *bdev) block_device 1502 fs/block_dev.c void bd_set_size(struct block_device *bdev, loff_t size) block_device 1510 fs/block_dev.c static void __blkdev_put(struct block_device *bdev, fmode_t mode, int for_part); block_device 1512 fs/block_dev.c static void bdev_disk_changed(struct block_device *bdev, bool invalidate) block_device 1532 fs/block_dev.c static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) block_device 1614 fs/block_dev.c struct block_device *whole; block_device 1696 fs/block_dev.c int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder) block_device 1698 fs/block_dev.c struct block_device *whole = NULL; block_device 1760 fs/block_dev.c struct block_device *blkdev_get_by_path(const char *path, fmode_t mode, block_device 1763 fs/block_dev.c struct block_device *bdev; block_device 1805 fs/block_dev.c struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder) block_device 1807 fs/block_dev.c struct block_device *bdev; block_device 1824 fs/block_dev.c struct block_device *bdev; block_device 1853 fs/block_dev.c static void __blkdev_put(struct block_device *bdev, fmode_t mode, int for_part) block_device 1856 fs/block_dev.c struct block_device *victim = NULL; block_device 1889 fs/block_dev.c void blkdev_put(struct block_device *bdev, fmode_t mode) block_device 1939 fs/block_dev.c struct block_device *bdev = I_BDEV(bdev_file_inode(filp)); block_device 1946 fs/block_dev.c struct block_device *bdev = I_BDEV(bdev_file_inode(file)); block_device 2059 fs/block_dev.c struct block_device *bdev = I_BDEV(bdev_file_inode(file)); block_device 2139 fs/block_dev.c int ioctl_by_bdev(struct block_device *bdev, unsigned cmd, unsigned long arg) block_device 2159 fs/block_dev.c struct block_device *lookup_bdev(const char *pathname) block_device 2161 fs/block_dev.c struct block_device *bdev; block_device 2193 fs/block_dev.c int __invalidate_device(struct block_device *bdev, bool kill_dirty) block_device 2214 fs/block_dev.c void iterate_bdevs(void (*func)(struct block_device *, void *), void *arg) block_device 2221 fs/block_dev.c struct block_device *bdev; block_device 188 fs/btrfs/check-integrity.c struct block_device *bdev; block_device 265 fs/btrfs/check-integrity.c struct block_device *bdev, block_device 275 fs/btrfs/check-integrity.c struct block_device *bdev_ref_to, block_device 277 fs/btrfs/check-integrity.c struct block_device *bdev_ref_from, block_device 513 fs/btrfs/check-integrity.c struct block_device *bdev, block_device 562 fs/btrfs/check-integrity.c struct block_device *bdev_ref_to, block_device 564 fs/btrfs/check-integrity.c struct block_device *bdev_ref_from, block_device 774 fs/btrfs/check-integrity.c struct block_device *const superblock_bdev = device->bdev; block_device 1755 fs/btrfs/check-integrity.c struct block_device *bdev = dev_state->bdev; block_device 323 fs/btrfs/compression.c struct block_device *bdev; block_device 556 fs/btrfs/compression.c struct block_device *bdev; block_device 186 fs/btrfs/dev-replace.c struct block_device *bdev; block_device 3407 fs/btrfs/disk-io.c int btrfs_read_dev_one_super(struct block_device *bdev, int copy_num, block_device 3438 fs/btrfs/disk-io.c struct buffer_head *btrfs_read_dev_super(struct block_device *bdev) block_device 57 fs/btrfs/disk-io.h struct buffer_head *btrfs_read_dev_super(struct block_device *bdev); block_device 58 fs/btrfs/disk-io.h int btrfs_read_dev_one_super(struct block_device *bdev, int copy_num, block_device 1234 fs/btrfs/extent-tree.c static int btrfs_issue_discard(struct block_device *bdev, u64 start, u64 len, block_device 2938 fs/btrfs/extent_io.c struct block_device *bdev, block_device 3072 fs/btrfs/extent_io.c struct block_device *bdev; block_device 3427 fs/btrfs/extent_io.c struct block_device *bdev; block_device 3856 fs/btrfs/extent_io.c struct block_device *bdev = fs_info->fs_devices->latest_bdev; block_device 46 fs/btrfs/extent_map.h struct block_device *bdev; block_device 1479 fs/btrfs/super.c struct block_device *bdev = NULL; block_device 1001 fs/btrfs/sysfs.c void btrfs_kobject_uevent(struct block_device *bdev, enum kobject_action action) block_device 29 fs/btrfs/sysfs.h void btrfs_kobject_uevent(struct block_device *bdev, enum kobject_action action); block_device 469 fs/btrfs/volumes.c int flush, struct block_device **bdev, block_device 786 fs/btrfs/volumes.c struct block_device *bdev; block_device 1103 fs/btrfs/volumes.c struct block_device *path_bdev; block_device 1439 fs/btrfs/volumes.c static int btrfs_read_disk_super(struct block_device *bdev, u64 bytenr, block_device 1506 fs/btrfs/volumes.c struct block_device *bdev; block_device 2395 fs/btrfs/volumes.c struct block_device *bdev; block_device 2598 fs/btrfs/volumes.c struct block_device *bdev; block_device 7610 fs/btrfs/volumes.c void btrfs_scratch_superblocks(struct block_device *bdev, const char *device_path) block_device 78 fs/btrfs/volumes.h struct block_device *bdev; block_device 237 fs/btrfs/volumes.h struct block_device *latest_bdev; block_device 487 fs/btrfs/volumes.h void btrfs_scratch_superblocks(struct block_device *bdev, const char *device_path); block_device 194 fs/buffer.c __find_get_block_slow(struct block_device *bdev, sector_t block) block_device 534 fs/buffer.c void write_boundary_block(struct block_device *bdev, block_device 878 fs/buffer.c static sector_t blkdev_max_block(struct block_device *bdev, unsigned int size) block_device 894 fs/buffer.c init_page_buffers(struct page *page, struct block_device *bdev, block_device 929 fs/buffer.c grow_dev_page(struct block_device *bdev, sector_t block, block_device 993 fs/buffer.c grow_buffers(struct block_device *bdev, sector_t block, int size, gfp_t gfp) block_device 1022 fs/buffer.c __getblk_slow(struct block_device *bdev, sector_t block, block_device 1255 fs/buffer.c lookup_bh_lru(struct block_device *bdev, sector_t block, unsigned size) block_device 1290 fs/buffer.c __find_get_block(struct block_device *bdev, sector_t block, unsigned size) block_device 1315 fs/buffer.c __getblk_gfp(struct block_device *bdev, sector_t block, block_device 1330 fs/buffer.c void __breadahead(struct block_device *bdev, sector_t block, unsigned size) block_device 1340 fs/buffer.c void __breadahead_gfp(struct block_device *bdev, sector_t block, unsigned size, block_device 1364 fs/buffer.c __bread_gfp(struct block_device *bdev, sector_t block, block_device 1574 fs/buffer.c void clean_bdev_aliases(struct block_device *bdev, sector_t block, sector_t len) block_device 683 fs/dax.c static int copy_user_dax(struct block_device *bdev, struct dax_device *dax_dev, block_device 940 fs/dax.c struct block_device *bdev, struct writeback_control *wbc) block_device 1047 fs/dax.c static bool dax_range_is_aligned(struct block_device *bdev, block_device 1060 fs/dax.c int __dax_zero_page_range(struct block_device *bdev, block_device 1096 fs/dax.c struct block_device *bdev = iomap->bdev; block_device 429 fs/direct-io.c struct block_device *bdev, block_device 1165 fs/direct-io.c struct block_device *bdev, struct iov_iter *iter, block_device 1395 fs/direct-io.c struct block_device *bdev, struct iov_iter *iter, block_device 1441 fs/ext4/ext4.h struct block_device *journal_bdev; block_device 241 fs/ext4/readpage.c struct block_device *bdev = inode->i_sb->s_bdev; block_device 884 fs/ext4/super.c static struct block_device *ext4_blkdev_get(dev_t dev, struct super_block *sb) block_device 886 fs/ext4/super.c struct block_device *bdev; block_device 903 fs/ext4/super.c static void ext4_blkdev_put(struct block_device *bdev) block_device 910 fs/ext4/super.c struct block_device *bdev; block_device 4840 fs/ext4/super.c struct block_device *bdev; block_device 240 fs/f2fs/data.c struct block_device *f2fs_target_device(struct f2fs_sb_info *sbi, block_device 243 fs/f2fs/data.c struct block_device *bdev = sbi->sb->s_bdev; block_device 279 fs/f2fs/data.c struct block_device *b = f2fs_target_device(sbi, blk_addr, NULL); block_device 2754 fs/f2fs/data.c struct block_device *bdev = inode->i_sb->s_bdev; block_device 299 fs/f2fs/f2fs.h struct block_device *bdev; /* bdev */ block_device 1086 fs/f2fs/f2fs.h struct block_device *bdev; block_device 3208 fs/f2fs/f2fs.h struct block_device *f2fs_target_device(struct f2fs_sb_info *sbi, block_device 3628 fs/f2fs/f2fs.h static inline bool f2fs_bdev_support_discard(struct block_device *bdev) block_device 559 fs/f2fs/segment.c struct block_device *bdev) block_device 935 fs/f2fs/segment.c struct block_device *bdev, block_t lstart, block_device 967 fs/f2fs/segment.c struct block_device *bdev, block_t lstart, block_device 1110 fs/f2fs/segment.c struct block_device *bdev, block_t lstart, block_device 1118 fs/f2fs/segment.c struct block_device *bdev = dc->bdev; block_device 1221 fs/f2fs/segment.c struct block_device *bdev, block_t lstart, block_device 1293 fs/f2fs/segment.c struct block_device *bdev, block_t lstart, block_device 1384 fs/f2fs/segment.c struct block_device *bdev, block_t blkstart, block_t blklen) block_device 1754 fs/f2fs/segment.c struct block_device *bdev, block_t blkstart, block_t blklen) block_device 1792 fs/f2fs/segment.c struct block_device *bdev, block_t blkstart, block_t blklen) block_device 1805 fs/f2fs/segment.c struct block_device *bdev; block_device 1815 fs/f2fs/segment.c struct block_device *bdev2 = block_device 2867 fs/f2fs/super.c struct block_device *bdev = FDEV(devi).bdev; block_device 25 fs/internal.h extern int __sync_blockdev(struct block_device *bdev, int wait); block_device 32 fs/internal.h static inline int __sync_blockdev(struct block_device *bdev, int wait) block_device 549 fs/isofs/inode.c struct block_device *bdev = sb->s_bdev; block_device 1111 fs/jbd2/journal.c static journal_t *journal_init_common(struct block_device *bdev, block_device 1112 fs/jbd2/journal.c struct block_device *fs_dev, block_device 1208 fs/jbd2/journal.c journal_t *jbd2_journal_init_dev(struct block_device *bdev, block_device 1209 fs/jbd2/journal.c struct block_device *fs_dev, block_device 331 fs/jbd2/revoke.c struct block_device *bdev; block_device 1069 fs/jfs/jfs_logmgr.c struct block_device *bdev; block_device 1446 fs/jfs/jfs_logmgr.c struct block_device *bdev; block_device 359 fs/jfs/jfs_logmgr.h struct block_device *bdev; /* 4: log lv pointer */ block_device 71 fs/mpage.c mpage_alloc(struct block_device *bdev, block_device 170 fs/mpage.c struct block_device *bdev = NULL; block_device 511 fs/mpage.c struct block_device *bdev = NULL; block_device 514 fs/mpage.c struct block_device *boundary_bdev = NULL; block_device 119 fs/nfs/blocklayout/blocklayout.c bl_alloc_init_bio(int npg, struct block_device *bdev, sector_t disk_sector, block_device 98 fs/nfs/blocklayout/blocklayout.h struct block_device *bdev; block_device 111 fs/nfs/blocklayout/blocklayout.h struct block_device *bdev; block_device 239 fs/nfs/blocklayout/dev.c struct block_device *bdev; block_device 308 fs/nfs/blocklayout/dev.c static struct block_device * block_device 311 fs/nfs/blocklayout/dev.c struct block_device *bdev; block_device 333 fs/nfs/blocklayout/dev.c static struct block_device * block_device 336 fs/nfs/blocklayout/dev.c struct block_device *bdev; block_device 356 fs/nfs/blocklayout/dev.c struct block_device *bdev; block_device 214 fs/nfsd/blocklayout.c static int nfsd4_scsi_identify_device(struct block_device *bdev, block_device 408 fs/nfsd/blocklayout.c struct block_device *bdev = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_bdev; block_device 1186 fs/nilfs2/super.c struct block_device *bdev; block_device 99 fs/nilfs2/the_nilfs.h struct block_device *ns_bdev; block_device 220 fs/ocfs2/cluster/heartbeat.c struct block_device *hr_bdev; block_device 791 fs/quota/quota.c struct block_device *bdev; block_device 2320 fs/reiserfs/journal.c static struct buffer_head *reiserfs_breada(struct block_device *dev, block_device 304 fs/reiserfs/reiserfs.h struct block_device *j_dev_bd; block_device 743 fs/super.c static struct super_block *__get_super(struct block_device *bdev, bool excl) block_device 786 fs/super.c struct super_block *get_super(struct block_device *bdev) block_device 792 fs/super.c static struct super_block *__get_super_thawed(struct block_device *bdev, block_device 818 fs/super.c struct super_block *get_super_thawed(struct block_device *bdev) block_device 833 fs/super.c struct super_block *get_super_exclusive_thawed(struct block_device *bdev) block_device 847 fs/super.c struct super_block *get_active_super(struct block_device *bdev) block_device 1281 fs/super.c struct block_device *bdev; block_device 1367 fs/super.c struct block_device *bdev; block_device 1440 fs/super.c struct block_device *bdev = sb->s_bdev; block_device 83 fs/sync.c static void fdatawrite_one_bdev(struct block_device *bdev, void *arg) block_device 88 fs/sync.c static void fdatawait_one_bdev(struct block_device *bdev, void *arg) block_device 32 fs/udf/lowlevel.c struct block_device *bdev = sb->s_bdev; block_device 52 fs/udf/lowlevel.c struct block_device *bdev = sb->s_bdev; block_device 32 fs/xfs/xfs_aops.c struct block_device * block_device 699 fs/xfs/xfs_aops.c struct block_device *bdev, block_device 766 fs/xfs/xfs_aops.c struct block_device *bdev = xfs_find_bdev_for_inode(inode); block_device 31 fs/xfs/xfs_aops.h extern struct block_device *xfs_find_bdev_for_inode(struct inode *); block_device 14 fs/xfs/xfs_bio_io.c struct block_device *bdev, block_device 1742 fs/xfs/xfs_buf.c struct block_device *bdev) block_device 1750 fs/xfs/xfs_buf.c struct block_device *bdev, block_device 81 fs/xfs/xfs_buf.h struct block_device *bt_bdev; block_device 345 fs/xfs/xfs_buf.h struct block_device *, struct dax_device *); block_device 30 fs/xfs/xfs_discard.c struct block_device *bdev = mp->m_ddev_targp->bt_bdev; block_device 222 fs/xfs/xfs_linux.h int xfs_rw_bdev(struct block_device *bdev, sector_t sector, unsigned int count, block_device 632 fs/xfs/xfs_super.c struct block_device **bdevp) block_device 648 fs/xfs/xfs_super.c struct block_device *bdev) block_device 668 fs/xfs/xfs_super.c struct block_device *logdev = mp->m_logdev_targp->bt_bdev; block_device 676 fs/xfs/xfs_super.c struct block_device *rtdev = mp->m_rtdev_targp->bt_bdev; block_device 701 fs/xfs/xfs_super.c struct block_device *ddev = mp->m_super->s_bdev; block_device 704 fs/xfs/xfs_super.c struct block_device *logdev = NULL, *rtdev = NULL; block_device 71 fs/xfs/xfs_super.h struct block_device; block_device 17 include/linux/blk_types.h struct block_device; block_device 359 include/linux/blkdev.h extern unsigned int blkdev_nr_zones(struct block_device *bdev); block_device 360 include/linux/blkdev.h extern int blkdev_report_zones(struct block_device *bdev, block_device 363 include/linux/blkdev.h extern int blkdev_reset_zones(struct block_device *bdev, sector_t sectors, block_device 367 include/linux/blkdev.h extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, block_device 369 include/linux/blkdev.h extern int blkdev_reset_zones_ioctl(struct block_device *bdev, fmode_t mode, block_device 374 include/linux/blkdev.h static inline unsigned int blkdev_nr_zones(struct block_device *bdev) block_device 384 include/linux/blkdev.h static inline int blkdev_report_zones_ioctl(struct block_device *bdev, block_device 391 include/linux/blkdev.h static inline int blkdev_reset_zones_ioctl(struct block_device *bdev, block_device 866 include/linux/blkdev.h extern int scsi_verify_blk_ioctl(struct block_device *, unsigned int); block_device 867 include/linux/blkdev.h extern int scsi_cmd_blk_ioctl(struct block_device *, fmode_t, block_device 898 include/linux/blkdev.h static inline struct request_queue *bdev_get_queue(struct block_device *bdev) block_device 1096 include/linux/blkdev.h extern int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev, block_device 1098 include/linux/blkdev.h extern void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, block_device 1210 include/linux/blkdev.h extern int blkdev_issue_flush(struct block_device *, gfp_t, sector_t *); block_device 1211 include/linux/blkdev.h extern int blkdev_issue_write_same(struct block_device *bdev, sector_t sector, block_device 1216 include/linux/blkdev.h extern int blkdev_issue_discard(struct block_device *bdev, sector_t sector, block_device 1218 include/linux/blkdev.h extern int __blkdev_issue_discard(struct block_device *bdev, sector_t sector, block_device 1225 include/linux/blkdev.h extern int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, block_device 1228 include/linux/blkdev.h extern int blkdev_issue_zeroout(struct block_device *bdev, sector_t sector, block_device 1307 include/linux/blkdev.h static inline unsigned int bdev_logical_block_size(struct block_device *bdev) block_device 1317 include/linux/blkdev.h static inline unsigned int bdev_physical_block_size(struct block_device *bdev) block_device 1327 include/linux/blkdev.h static inline int bdev_io_min(struct block_device *bdev) block_device 1337 include/linux/blkdev.h static inline int bdev_io_opt(struct block_device *bdev) block_device 1359 include/linux/blkdev.h static inline int bdev_alignment_offset(struct block_device *bdev) block_device 1403 include/linux/blkdev.h static inline int bdev_discard_alignment(struct block_device *bdev) block_device 1413 include/linux/blkdev.h static inline unsigned int bdev_write_same(struct block_device *bdev) block_device 1423 include/linux/blkdev.h static inline unsigned int bdev_write_zeroes_sectors(struct block_device *bdev) block_device 1433 include/linux/blkdev.h static inline enum blk_zoned_model bdev_zoned_model(struct block_device *bdev) block_device 1443 include/linux/blkdev.h static inline bool bdev_is_zoned(struct block_device *bdev) block_device 1453 include/linux/blkdev.h static inline sector_t bdev_zone_sectors(struct block_device *bdev) block_device 1485 include/linux/blkdev.h static inline unsigned int block_size(struct block_device *bdev) block_device 1492 include/linux/blkdev.h unsigned char *read_dev_sector(struct block_device *, sector_t, Sector *); block_device 1560 include/linux/blkdev.h struct blk_integrity *bdev_get_integrity(struct block_device *bdev) block_device 1618 include/linux/blkdev.h struct block_device; block_device 1637 include/linux/blkdev.h static inline struct blk_integrity *bdev_get_integrity(struct block_device *b) block_device 1697 include/linux/blkdev.h int (*open) (struct block_device *, fmode_t); block_device 1699 include/linux/blkdev.h int (*rw_page)(struct block_device *, sector_t, struct page *, unsigned int); block_device 1700 include/linux/blkdev.h int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); block_device 1701 include/linux/blkdev.h int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); block_device 1708 include/linux/blkdev.h int (*getgeo)(struct block_device *, struct hd_geometry *); block_device 1710 include/linux/blkdev.h void (*swap_slot_free_notify) (struct block_device *, unsigned long); block_device 1717 include/linux/blkdev.h extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int, block_device 1719 include/linux/blkdev.h extern int bdev_read_page(struct block_device *, sector_t, struct page *); block_device 1720 include/linux/blkdev.h extern int bdev_write_page(struct block_device *, sector_t, struct page *, block_device 1778 include/linux/blkdev.h struct block_device; block_device 1815 include/linux/blkdev.h static inline int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, block_device 34 include/linux/blktrace_api.h extern int blk_trace_ioctl(struct block_device *, unsigned, char __user *); block_device 81 include/linux/blktrace_api.h struct block_device *bdev, block_device 72 include/linux/buffer_head.h struct block_device *b_bdev; block_device 175 include/linux/buffer_head.h void clean_bdev_aliases(struct block_device *bdev, sector_t block, block_device 185 include/linux/buffer_head.h struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block, block_device 187 include/linux/buffer_head.h struct buffer_head *__getblk_gfp(struct block_device *bdev, sector_t block, block_device 191 include/linux/buffer_head.h void __breadahead(struct block_device *, sector_t block, unsigned int size); block_device 192 include/linux/buffer_head.h void __breadahead_gfp(struct block_device *, sector_t block, unsigned int size, block_device 194 include/linux/buffer_head.h struct buffer_head *__bread_gfp(struct block_device *, block_device 206 include/linux/buffer_head.h void write_boundary_block(struct block_device *bdev, block_device 377 include/linux/buffer_head.h static inline struct buffer_head *getblk_unmovable(struct block_device *bdev, block_device 384 include/linux/buffer_head.h static inline struct buffer_head *__getblk(struct block_device *bdev, block_device 402 include/linux/buffer_head.h __bread(struct block_device *bdev, sector_t block, unsigned size) block_device 98 include/linux/cdrom.h extern int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev, block_device 101 include/linux/cdrom.h extern int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, block_device 29 include/linux/dax.h bool (*dax_supported)(struct dax_device *, struct block_device *, int, block_device 113 include/linux/dax.h int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff); block_device 115 include/linux/dax.h bool __bdev_dax_supported(struct block_device *bdev, int blocksize); block_device 116 include/linux/dax.h static inline bool bdev_dax_supported(struct block_device *bdev, int blocksize) block_device 122 include/linux/dax.h struct block_device *bdev, int blocksize, sector_t start, block_device 125 include/linux/dax.h struct block_device *bdev, int blocksize, sector_t start, block_device 142 include/linux/dax.h struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev); block_device 144 include/linux/dax.h struct block_device *bdev, struct writeback_control *wbc); block_device 150 include/linux/dax.h static inline bool bdev_dax_supported(struct block_device *bdev, block_device 157 include/linux/dax.h struct block_device *bdev, int blocksize, sector_t start, block_device 172 include/linux/dax.h static inline struct dax_device *fs_dax_get_by_bdev(struct block_device *bdev) block_device 183 include/linux/dax.h struct block_device *bdev, struct writeback_control *wbc) block_device 206 include/linux/dax.h bool dax_supported(struct dax_device *dax_dev, struct block_device *bdev, block_device 225 include/linux/dax.h int __dax_zero_page_range(struct block_device *bdev, block_device 229 include/linux/dax.h static inline int __dax_zero_page_range(struct block_device *bdev, block_device 94 include/linux/device-mapper.h typedef int (*dm_prepare_ioctl_fn) (struct dm_target *ti, struct block_device **bdev); block_device 148 include/linux/device-mapper.h struct block_device *bdev; block_device 24 include/linux/dm-bufio.h dm_bufio_client_create(struct block_device *bdev, unsigned block_size, block_device 18 include/linux/dm-io.h struct block_device *bdev; block_device 486 include/linux/fs.h struct block_device * bd_contains; block_device 717 include/linux/fs.h struct block_device *i_bdev; block_device 903 include/linux/fs.h extern struct block_device *I_BDEV(struct inode *inode); block_device 1456 include/linux/fs.h struct block_device *s_bdev; block_device 2573 include/linux/fs.h extern struct block_device *bdget(dev_t); block_device 2574 include/linux/fs.h extern struct block_device *bdgrab(struct block_device *bdev); block_device 2575 include/linux/fs.h extern void bd_set_size(struct block_device *, loff_t size); block_device 2577 include/linux/fs.h extern void bdput(struct block_device *); block_device 2578 include/linux/fs.h extern void invalidate_bdev(struct block_device *); block_device 2579 include/linux/fs.h extern void iterate_bdevs(void (*)(struct block_device *, void *), void *); block_device 2580 include/linux/fs.h extern int sync_blockdev(struct block_device *bdev); block_device 2581 include/linux/fs.h extern void kill_bdev(struct block_device *); block_device 2582 include/linux/fs.h extern struct super_block *freeze_bdev(struct block_device *); block_device 2585 include/linux/fs.h extern int thaw_bdev(struct block_device *bdev, struct super_block *sb); block_device 2586 include/linux/fs.h extern int fsync_bdev(struct block_device *); block_device 2596 include/linux/fs.h static inline int sync_blockdev(struct block_device *bdev) { return 0; } block_device 2597 include/linux/fs.h static inline void kill_bdev(struct block_device *bdev) {} block_device 2598 include/linux/fs.h static inline void invalidate_bdev(struct block_device *bdev) {} block_device 2600 include/linux/fs.h static inline struct super_block *freeze_bdev(struct block_device *sb) block_device 2605 include/linux/fs.h static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb) block_device 2615 include/linux/fs.h static inline void iterate_bdevs(void (*f)(struct block_device *, void *), void *arg) block_device 2628 include/linux/fs.h extern int ioctl_by_bdev(struct block_device *, unsigned, unsigned long); block_device 2629 include/linux/fs.h extern int blkdev_ioctl(struct block_device *, fmode_t, unsigned, unsigned long); block_device 2631 include/linux/fs.h extern int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder); block_device 2632 include/linux/fs.h extern struct block_device *blkdev_get_by_path(const char *path, fmode_t mode, block_device 2634 include/linux/fs.h extern struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, block_device 2636 include/linux/fs.h extern struct block_device *bd_start_claiming(struct block_device *bdev, block_device 2638 include/linux/fs.h extern void bd_finish_claiming(struct block_device *bdev, block_device 2639 include/linux/fs.h struct block_device *whole, void *holder); block_device 2640 include/linux/fs.h extern void bd_abort_claiming(struct block_device *bdev, block_device 2641 include/linux/fs.h struct block_device *whole, void *holder); block_device 2642 include/linux/fs.h extern void blkdev_put(struct block_device *bdev, fmode_t mode); block_device 2643 include/linux/fs.h extern int __blkdev_reread_part(struct block_device *bdev); block_device 2644 include/linux/fs.h extern int blkdev_reread_part(struct block_device *bdev); block_device 2647 include/linux/fs.h extern int bd_link_disk_holder(struct block_device *bdev, struct gendisk *disk); block_device 2648 include/linux/fs.h extern void bd_unlink_disk_holder(struct block_device *bdev, block_device 2651 include/linux/fs.h static inline int bd_link_disk_holder(struct block_device *bdev, block_device 2656 include/linux/fs.h static inline void bd_unlink_disk_holder(struct block_device *bdev, block_device 2699 include/linux/fs.h extern const char *bdevname(struct block_device *bdev, char *buffer); block_device 2700 include/linux/fs.h extern struct block_device *lookup_bdev(const char *); block_device 2715 include/linux/fs.h struct block_device *bdev, bool verbose); block_device 2717 include/linux/fs.h extern int check_disk_change(struct block_device *); block_device 2718 include/linux/fs.h extern int __invalidate_device(struct block_device *, bool); block_device 3090 include/linux/fs.h extern int bdev_read_only(struct block_device *); block_device 3092 include/linux/fs.h extern int set_blocksize(struct block_device *, int); block_device 3167 include/linux/fs.h struct block_device *bdev, struct iov_iter *iter, block_device 3284 include/linux/fs.h extern struct super_block *get_super(struct block_device *); block_device 3285 include/linux/fs.h extern struct super_block *get_super_thawed(struct block_device *); block_device 3286 include/linux/fs.h extern struct super_block *get_super_exclusive_thawed(struct block_device *bdev); block_device 3287 include/linux/fs.h extern struct super_block *get_active_super(struct block_device *bdev); block_device 439 include/linux/genhd.h extern struct block_device *bdget_disk(struct gendisk *disk, int partno); block_device 441 include/linux/genhd.h extern void set_device_ro(struct block_device *bdev, int flag); block_device 458 include/linux/genhd.h static inline sector_t get_start_sect(struct block_device *bdev) block_device 625 include/linux/genhd.h extern int rescan_partitions(struct gendisk *disk, struct block_device *bdev); block_device 626 include/linux/genhd.h extern int invalidate_partitions(struct gendisk *disk, struct block_device *bdev); block_device 414 include/linux/ide.h int (*ioctl)(struct ide_drive_s *, struct block_device *, block_device 1092 include/linux/ide.h int ide_setting_ioctl(ide_drive_t *, struct block_device *, unsigned int, block_device 1095 include/linux/ide.h int generic_ide_ioctl(ide_drive_t *, struct block_device *, unsigned, unsigned long); block_device 66 include/linux/iomap.h struct block_device *bdev; /* block device for I/O */ block_device 922 include/linux/jbd2.h struct block_device *j_dev; block_device 947 include/linux/jbd2.h struct block_device *j_fs_dev; block_device 1384 include/linux/jbd2.h extern journal_t * jbd2_journal_init_dev(struct block_device *bdev, block_device 1385 include/linux/jbd2.h struct block_device *fs_dev, block_device 1180 include/linux/libata.h struct block_device *bdev, block_device 16 include/linux/pci-p2pdma.h struct block_device; block_device 165 include/linux/pktcdvd.h struct block_device *bdev; /* dev attached */ block_device 8 include/linux/pr.h int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key, block_device 10 include/linux/pr.h int (*pr_reserve)(struct block_device *bdev, u64 key, block_device 12 include/linux/pr.h int (*pr_release)(struct block_device *bdev, u64 key, block_device 14 include/linux/pr.h int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key, block_device 16 include/linux/pr.h int (*pr_clear)(struct block_device *bdev, u64 key); block_device 252 include/linux/swap.h struct block_device *bdev; /* swap device or bdev of swap file */ block_device 460 include/linux/swap.h extern int swap_type_of(dev_t, sector_t, struct block_device **); block_device 462 include/linux/swap.h extern sector_t map_swap_page(struct page *, struct block_device **); block_device 24 include/scsi/libsas.h struct block_device; block_device 669 include/scsi/libsas.h extern int sas_bios_param(struct scsi_device *, struct block_device *, block_device 14 include/scsi/scsi_host.h struct block_device; block_device 291 include/scsi/scsi_host.h int (* bios_param)(struct scsi_device *, struct block_device *, block_device 16 include/scsi/scsicam.h extern int scsicam_bios_param (struct block_device *bdev, sector_t capacity, int *ip); block_device 19 include/scsi/scsicam.h extern unsigned char *scsi_bios_ptable(struct block_device *bdev); block_device 1421 include/trace/events/f2fs.h TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen), block_device 1445 include/trace/events/f2fs.h TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen), block_device 1452 include/trace/events/f2fs.h TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen), block_device 1459 include/trace/events/f2fs.h TP_PROTO(struct block_device *dev, block_t blkstart, block_t blklen), block_device 1466 include/trace/events/f2fs.h TP_PROTO(struct block_device *dev, block_t blkstart), block_device 1487 include/trace/events/f2fs.h TP_PROTO(struct block_device *dev, unsigned int nobarrier, block_device 223 kernel/power/swap.c static struct block_device *hib_resume_bdev; block_device 456 kernel/trace/blktrace.c struct block_device *bdev) block_device 476 kernel/trace/blktrace.c struct block_device *bdev, block_device 563 kernel/trace/blktrace.c struct block_device *bdev, char __user *arg) block_device 584 kernel/trace/blktrace.c struct block_device *bdev, block_device 599 kernel/trace/blktrace.c dev_t dev, struct block_device *bdev, block_device 698 kernel/trace/blktrace.c int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg) block_device 1646 kernel/trace/blktrace.c struct block_device *bdev) block_device 1784 kernel/trace/blktrace.c static struct request_queue *blk_trace_get_queue(struct block_device *bdev) block_device 1798 kernel/trace/blktrace.c struct block_device *bdev; block_device 1842 kernel/trace/blktrace.c struct block_device *bdev; block_device 890 lib/vsprintf.c char *bdev_name(char *buf, char *end, struct block_device *bdev, block_device 36 mm/page_io.c struct block_device *bdev; block_device 51 mm/swapfile.c static sector_t map_swap_entry(swp_entry_t, struct block_device**); block_device 706 mm/swapfile.c void (*swap_slot_free_notify)(struct block_device *, unsigned long); block_device 1760 mm/swapfile.c int swap_type_of(dev_t device, sector_t offset, struct block_device **bdev_p) block_device 1762 mm/swapfile.c struct block_device *bdev = NULL; block_device 1808 mm/swapfile.c struct block_device *bdev; block_device 2257 mm/swapfile.c static sector_t map_swap_entry(swp_entry_t entry, struct block_device **bdev) block_device 2274 mm/swapfile.c sector_t map_swap_page(struct page *page, struct block_device **bdev) block_device 2411 mm/swapfile.c struct block_device *bdev; block_device 2662 mm/swapfile.c struct block_device *bdev = I_BDEV(inode); block_device 6872 net/bluetooth/mgmt.c { block_device, MGMT_BLOCK_DEVICE_SIZE },