Searched refs:BD_INODE (Results 1 – 1 of 1) sorted by relevance
47 static inline struct inode *BD_INODE(struct block_device *bdev) in BD_INODE() function66 struct inode *inode = BD_INODE(bdev); in bdev_write_inode()143 loff_t size = i_size_read(BD_INODE(bdev)); in set_init_blocksize()150 BD_INODE(bdev)->i_blkbits = blksize_bits(bsize); in set_init_blocksize()449 i_size_write(BD_INODE(bdev), (loff_t)sectors << SECTOR_SHIFT); in bdev_set_nr_sectors()456 struct inode *inode = BD_INODE(bdev); in bdev_add()467 remove_inode_hash(BD_INODE(bdev)); in bdev_unhash()472 iput(BD_INODE(bdev)); in bdev_drop()1010 bdev_file = alloc_file_pseudo_noaccount(BD_INODE(bdev), in bdev_file_open_by_dev()1016 ihold(BD_INODE(bdev)); in bdev_file_open_by_dev()[all …]