Searched refs:bd_inode (Results 1 – 25 of 29) 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()93 struct address_space *mapping = bdev->bd_inode->i_mapping; in invalidate_bdev()110 loff_t size = i_size_read(bdev->bd_inode); in set_init_blocksize()118 bdev->bd_inode->i_blkbits = blksize_bits(bsize); in set_init_blocksize()135 bdev->bd_inode->i_blkbits = blksize_bits(size); in set_blocksize()490 return filemap_flush(bdev->bd_inode->i_mapping); in __sync_blockdev()491 return filemap_write_and_wait(bdev->bd_inode->i_mapping); in __sync_blockdev()651 struct inode *bd_inode = bdev_file_inode(file); in block_llseek() local654 inode_lock(bd_inode); in block_llseek()[all …]
197 struct inode *bd_inode = bdev->bd_inode; in __find_get_block_slow() local198 struct address_space *bd_mapping = bd_inode->i_mapping; in __find_get_block_slow()207 index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in __find_get_block_slow()241 1 << bd_inode->i_blkbits); in __find_get_block_slow()882 loff_t sz = i_size_read(bdev->bd_inode); in blkdev_max_block()901 sector_t end_block = blkdev_max_block(I_BDEV(bdev->bd_inode), size); in init_page_buffers()933 struct inode *inode = bdev->bd_inode; in grow_dev_page()1566 struct inode *bd_inode = bdev->bd_inode; in clean_bdev_aliases() local1567 struct address_space *bd_mapping = bd_inode->i_mapping; in clean_bdev_aliases()1569 pgoff_t index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in clean_bdev_aliases()[all …]
85 filemap_fdatawrite(bdev->bd_inode->i_mapping); in fdatawrite_one_bdev()95 filemap_fdatawait_keep_errors(bdev->bd_inode->i_mapping); in fdatawait_one_bdev()
61 lblock = i_size_read(bdev->bd_inode) >> sb->s_blocksize_bits; in udf_get_last_block()
1185 sector_t blocks = i_size_read(sb->s_bdev->bd_inode) >> in udf_load_vat()1825 i_size_read(sb->s_bdev->bd_inode) >> sb->s_blocksize_bits) in udf_check_anchor_block()1887 if (last[i] >= i_size_read(sb->s_bdev->bd_inode) >> in udf_scan_anchors()
88 VolumeSize = i_size_read(sb->s_bdev->bd_inode) >> sb->s_blocksize_bits; in jfs_extendfs()201 sbi->direct_inode->i_size = i_size_read(sb->s_bdev->bd_inode); in jfs_extendfs()
287 *newLVSize = i_size_read(sb->s_bdev->bd_inode) >> in parse_options()555 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()
136 *size = i_size_read(sb->s_bdev->bd_inode) >> 9; in hfsplus_get_last_session()
37 struct address_space *const mapping = sb->s_bdev->bd_inode->i_mapping; in erofs_get_meta_page()
107 page = read_mapping_page(sb->s_bdev->bd_inode->i_mapping, 0, NULL); in erofs_read_superblock()
41 *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()
1202 i_size_read(s->s_bdev->bd_inode) >> s-> in reiserfs_parse_options()1988 if (s->s_bdev && s->s_bdev->bd_inode in reiserfs_fill_super()1989 && i_size_read(s->s_bdev->bd_inode) < in reiserfs_fill_super()
392 size = i_size_read(sb->s_bdev->bd_inode) >> 9; in affs_fill_super()
180 sb->s_bdev->bd_inode->i_mapping, in ext4_readdir()
405 struct inode *bd_inode = sb->s_bdev->bd_inode; in block_device_ejected() local406 struct backing_dev_info *bdi = inode_to_bdi(bd_inode); in block_device_ejected()4215 blocks_count = sb->s_bdev->bd_inode->i_size >> sb->s_blocksize_bits; in ext4_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()
497 u64 sb2off = NILFS_SB2_OFFSET_BYTES(nilfs->ns_bdev->bd_inode->i_size); in nilfs_load_super_block()
1126 if (range[1] > i_size_read(inode->i_sb->s_bdev->bd_inode)) in nilfs_ioctl_set_alloc_range()
401 devsize = i_size_read(sb->s_bdev->bd_inode); in nilfs_resize_fs()
1542 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()
218 if (i_size_read(bdev->bd_inode) < in btrfs_init_dev_replace_tgtdev()
482 filemap_write_and_wait((*bdev)->bd_inode->i_mapping); in btrfs_get_bdev_and_sb()1402 if (bytenr + PAGE_SIZE >= i_size_read(bdev->bd_inode)) in btrfs_read_disk_super()1415 *page = read_cache_page_gfp(bdev->bd_inode->i_mapping, in btrfs_read_disk_super()2577 filemap_write_and_wait(bdev->bd_inode->i_mapping); in btrfs_init_new_device()2616 device->total_bytes = round_down(i_size_read(bdev->bd_inode), in btrfs_init_new_device()