Home
last modified time | relevance | path

Searched refs:bd_inode (Results 1 – 25 of 29) sorted by relevance

12

/fs/
Dblock_dev.c59 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() local
654 inode_lock(bd_inode); in block_llseek()
[all …]
Dbuffer.c197 struct inode *bd_inode = bdev->bd_inode; in __find_get_block_slow() local
198 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() local
1567 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 …]
Dsync.c85 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()
/fs/udf/
Dlowlevel.c61 lblock = i_size_read(bdev->bd_inode) >> sb->s_blocksize_bits; in udf_get_last_block()
Dsuper.c1185 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()
/fs/jfs/
Dresize.c88 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()
Dsuper.c287 *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()
/fs/nfs/blocklayout/
Ddev.c255 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()
/fs/hfsplus/
Dwrapper.c136 *size = i_size_read(sb->s_bdev->bd_inode) >> 9; in hfsplus_get_last_session()
/fs/erofs/
Ddata.c37 struct address_space *const mapping = sb->s_bdev->bd_inode->i_mapping; in erofs_get_meta_page()
Dsuper.c107 page = read_mapping_page(sb->s_bdev->bd_inode->i_mapping, 0, NULL); in erofs_read_superblock()
/fs/hfs/
Dmdb.c41 *size = i_size_read(sb->s_bdev->bd_inode) >> 9; in hfs_get_last_session()
/fs/squashfs/
Dsuper.c133 i_size_read(sb->s_bdev->bd_inode)) in squashfs_fill_super()
/fs/reiserfs/
Dsuper.c1202 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()
/fs/affs/
Dsuper.c392 size = i_size_read(sb->s_bdev->bd_inode) >> 9; in affs_fill_super()
/fs/ext4/
Ddir.c180 sb->s_bdev->bd_inode->i_mapping, in ext4_readdir()
Dsuper.c405 struct inode *bd_inode = sb->s_bdev->bd_inode; in block_device_ejected() local
406 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()
/fs/ntfs/
Dsuper.c2776 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()
/fs/nilfs2/
Dthe_nilfs.c497 u64 sb2off = NILFS_SB2_OFFSET_BYTES(nilfs->ns_bdev->bd_inode->i_size); in nilfs_load_super_block()
Dioctl.c1126 if (range[1] > i_size_read(inode->i_sb->s_bdev->bd_inode)) in nilfs_ioctl_set_alloc_range()
Dsuper.c401 devsize = i_size_read(sb->s_bdev->bd_inode); in nilfs_resize_fs()
/fs/fat/
Dinode.c1542 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()
/fs/cramfs/
Dinode.c185 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in cramfs_blkdev_read()
/fs/btrfs/
Ddev-replace.c218 if (i_size_read(bdev->bd_inode) < in btrfs_init_dev_replace_tgtdev()
Dvolumes.c482 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()

12