Searched refs:bd_inode (Results 1 – 25 of 35) sorted by relevance
12
59 struct inode *inode = bdev->bd_inode; in bdev_write_inode()80 struct address_space *mapping = bdev->bd_inode->i_mapping; in kill_bdev()92 struct address_space *mapping = bdev->bd_inode->i_mapping; in invalidate_bdev()128 truncate_inode_pages_range(bdev->bd_inode->i_mapping, lstart, lend); in truncate_bdev_range()138 return invalidate_inode_pages2_range(bdev->bd_inode->i_mapping, in truncate_bdev_range()147 loff_t size = i_size_read(bdev->bd_inode); in set_init_blocksize()154 bdev->bd_inode->i_blkbits = blksize_bits(bsize); in set_init_blocksize()168 if (bdev->bd_inode->i_blkbits != blksize_bits(size)) { in set_blocksize()170 bdev->bd_inode->i_blkbits = blksize_bits(size); in set_blocksize()529 return filemap_flush(bdev->bd_inode->i_mapping); in __sync_blockdev()[all …]
191 struct inode *bd_inode = bdev->bd_inode; in __find_get_block_slow() local192 struct address_space *bd_mapping = bd_inode->i_mapping; in __find_get_block_slow()201 index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in __find_get_block_slow()235 1 << bd_inode->i_blkbits); in __find_get_block_slow()906 loff_t sz = i_size_read(bdev->bd_inode); in blkdev_max_block()925 sector_t end_block = blkdev_max_block(I_BDEV(bdev->bd_inode), size); in init_page_buffers()957 struct inode *inode = bdev->bd_inode; in grow_dev_page()1636 struct inode *bd_inode = bdev->bd_inode; in clean_bdev_aliases() local1637 struct address_space *bd_mapping = bd_inode->i_mapping; in clean_bdev_aliases()1639 pgoff_t index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in clean_bdev_aliases()[all …]
88 filemap_fdatawrite(bdev->bd_inode->i_mapping); in fdatawrite_one_bdev()98 filemap_fdatawait_keep_errors(bdev->bd_inode->i_mapping); in fdatawait_one_bdev()
290 file.f_mapping = bdev->bd_inode->i_mapping; in psblk_generic_blk_read()292 file.f_inode = bdev->bd_inode; in psblk_generic_blk_read()320 file.f_mapping = bdev->bd_inode->i_mapping; in psblk_generic_blk_write()322 file.f_inode = bdev->bd_inode; in psblk_generic_blk_write()328 inode_lock(bdev->bd_inode); in psblk_generic_blk_write()332 inode_unlock(bdev->bd_inode); in psblk_generic_blk_write()
59 lblock = i_size_read(bdev->bd_inode) >> sb->s_blocksize_bits; in udf_get_last_block()
1180 sector_t blocks = i_size_read(sb->s_bdev->bd_inode) >> in udf_load_vat()1844 i_size_read(sb->s_bdev->bd_inode) >> sb->s_blocksize_bits) in udf_check_anchor_block()1906 if (last[i] >= i_size_read(sb->s_bdev->bd_inode) >> in udf_scan_anchors()
89 VolumeSize = i_size_read(sb->s_bdev->bd_inode) >> sb->s_blocksize_bits; in jfs_extendfs()202 sbi->direct_inode->i_size = i_size_read(sb->s_bdev->bd_inode); in jfs_extendfs()
288 *newLVSize = i_size_read(sb->s_bdev->bd_inode) >> in parse_options()556 inode->i_size = i_size_read(sb->s_bdev->bd_inode); in jfs_fill_super()
255 d->len = i_size_read(d->bdev->bd_inode); in bl_parse_simple()370 d->len = i_size_read(d->bdev->bd_inode); in bl_parse_scsi()
134 *size = i_size_read(sb->s_bdev->bd_inode) >> 9; in hfsplus_get_last_session()
483 nblocks = (u64)i_size_read(nilfs->ns_sb->s_bdev->bd_inode) >> in nilfs_store_disk_layout()595 u64 sb2off, devsize = nilfs->ns_bdev->bd_inode->i_size; in nilfs_load_super_block()
37 struct address_space *const mapping = sb->s_bdev->bd_inode->i_mapping; in erofs_get_meta_page()
264 page = read_mapping_page(sb->s_bdev->bd_inode->i_mapping, 0, NULL); in erofs_read_superblock()
202 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in ext4_check_bdev_write_error()
200 sb->s_bdev->bd_inode->i_mapping, in ext4_readdir()
263 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in exfat_zeroed_cluster()
39 *size = i_size_read(sb->s_bdev->bd_inode) >> 9; in hfs_get_last_session()
133 i_size_read(sb->s_bdev->bd_inode)) in squashfs_fill_super()
1203 i_size_read(s->s_bdev->bd_inode) >> s-> in reiserfs_parse_options()1983 if (s->s_bdev && s->s_bdev->bd_inode in reiserfs_fill_super()1984 && i_size_read(s->s_bdev->bd_inode) < in reiserfs_fill_super()
310 mapping = journal->j_fs_dev->bd_inode->i_mapping; in jbd2_journal_recover()
392 size = i_size_read(sb->s_bdev->bd_inode) >> 9; in affs_fill_super()
2776 if (!i_size_read(sb->s_bdev->bd_inode)) { in ntfs_fill_super()2781 vol->nr_blocks = i_size_read(sb->s_bdev->bd_inode) >> in ntfs_fill_super()2820 vol->nr_blocks = i_size_read(sb->s_bdev->bd_inode) >> in ntfs_fill_super()
1544 bd_sects = i_size_read(sb->s_bdev->bd_inode) / SECTOR_SIZE; in fat_read_static_bpb()1946 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in fat_flush_inodes()
185 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in cramfs_blkdev_read()
3534 struct address_space *mapping = bdev->bd_inode->i_mapping; in btrfs_read_dev_one_super()3537 if (bytenr + BTRFS_SUPER_INFO_SIZE >= i_size_read(bdev->bd_inode)) in btrfs_read_dev_one_super()3601 struct address_space *mapping = device->bdev->bd_inode->i_mapping; in write_dev_supers()3696 page = find_get_page(device->bdev->bd_inode->i_mapping, in wait_dev_supers()