Searched refs:bd_inode (Results 1 – 25 of 29) sorted by relevance
12
52 loff_t sz = i_size_read(bdev->bd_inode); in max_block()65 if (bdev->bd_inode->i_mapping->nrpages == 0) in kill_bdev()68 truncate_inode_pages(bdev->bd_inode->i_mapping, 0); in kill_bdev()85 bdev->bd_inode->i_blkbits = blksize_bits(size); in set_blocksize()216 struct inode *bd_inode = file->f_mapping->host; in block_llseek() local220 mutex_lock(&bd_inode->i_mutex); in block_llseek()221 size = i_size_read(bd_inode); in block_llseek()237 mutex_unlock(&bd_inode->i_mutex); in block_llseek()389 bdev->bd_inode = inode; in bdget()415 ret += bdev->bd_inode->i_mapping->nrpages; in nr_blockdev_pages()[all …]
65 blk_run_address_space(bd->bd_inode->i_mapping); in sync_buffer()177 ret = filemap_write_and_wait(bdev->bd_inode->i_mapping); in sync_blockdev()327 struct inode *bd_inode = bdev->bd_inode; in __find_get_block_slow() local328 struct address_space *bd_mapping = bd_inode->i_mapping; in __find_get_block_slow()336 index = block >> (PAGE_CACHE_SHIFT - bd_inode->i_blkbits); in __find_get_block_slow()369 printk("device blocksize: %d\n", 1 << bd_inode->i_blkbits); in __find_get_block_slow()412 struct address_space *mapping = bdev->bd_inode->i_mapping; in invalidate_bdev()1092 struct inode *inode = bdev->bd_inode; in grow_dev_page()
185 bdi = sb->s_bdev->bd_inode->i_mapping->backing_dev_info; in inode_init_always()
60 lblock = bdev->bd_inode->i_size >> sb->s_blocksize_bits; in udf_get_last_block()
692 sb->s_bdev->bd_inode->i_size >> sb->s_blocksize_bits) in udf_check_anchor_block()726 if (last[i] >= sb->s_bdev->bd_inode->i_size >> in udf_scan_anchors()
100 VolumeSize = sb->s_bdev->bd_inode->i_size >> sb->s_blocksize_bits; in jfs_extendfs()213 sbi->direct_inode->i_size = sb->s_bdev->bd_inode->i_size; in jfs_extendfs()
271 *newLVSize = sb->s_bdev->bd_inode->i_size >> in parse_options()471 inode->i_size = sb->s_bdev->bd_inode->i_size; in jfs_fill_super()
142 if (!bdev || !bdev->bd_inode) in last_lba()144 return (bdev->bd_inode->i_size >> 9) - 1ULL; in last_lba()
50 hd_size = bdev->bd_inode->i_size >> 9; in atari_partition()
63 i_size = i_size_read(bdev->bd_inode); in ibm_partition()
281 nr_sects = (bdev->bd_inode->i_size >> 9) - start_sect; in adfspart_check_ADFS()
595 struct address_space *mapping = bdev->bd_inode->i_mapping; in read_dev_sector()
366 num_sects = bdev->bd_inode->i_size >> 9; in ldm_validate_privheads()
66 *size = sb->s_bdev->bd_inode->i_size >> 9; in hfsplus_get_last_session()
152 i_size_read(sb->s_bdev->bd_inode)) in squashfs_fill_super()
40 *size = sb->s_bdev->bd_inode->i_size >> 9; in hfs_get_last_session()
140 sb->s_bdev->bd_inode->i_mapping, in ext3_readdir()
140 sb->s_bdev->bd_inode->i_mapping, in ext4_readdir()
495 new_size = device->bdev->bd_inode->i_size; in btrfs_ioctl_resize()527 if (new_size > device->bdev->bd_inode->i_size) { in btrfs_ioctl_resize()
149 bdi = device->bdev->bd_inode->i_mapping->backing_dev_info; in run_scheduled_bios()1295 filemap_write_and_wait(bdev->bd_inode->i_mapping); in btrfs_init_new_device()1338 device->total_bytes = i_size_read(bdev->bd_inode); in btrfs_init_new_device()
954 s->s_bdev->bd_inode->i_size >> s-> in reiserfs_parse_options()1666 if (s->s_bdev && s->s_bdev->bd_inode in reiserfs_fill_super()1667 && i_size_read(s->s_bdev->bd_inode) < in reiserfs_fill_super()
137 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in cramfs_read()
314 size = sb->s_bdev->bd_inode->i_size >> 9; in affs_fill_super()
2812 if (!i_size_read(sb->s_bdev->bd_inode)) { in ntfs_fill_super()2817 vol->nr_blocks = i_size_read(sb->s_bdev->bd_inode) >> in ntfs_fill_super()2856 vol->nr_blocks = i_size_read(sb->s_bdev->bd_inode) >> in ntfs_fill_super()
211 struct address_space *mapping = reg->hr_bdev->bd_inode->i_mapping; in o2hb_wait_on_io()