Home
last modified time | relevance | path

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

12

/fs/
Dblock_dev.c52 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() local
220 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 …]
Dbuffer.c65 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() local
328 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()
Dinode.c185 bdi = sb->s_bdev->bd_inode->i_mapping->backing_dev_info; in inode_init_always()
/fs/udf/
Dlowlevel.c60 lblock = bdev->bd_inode->i_size >> sb->s_blocksize_bits; in udf_get_last_block()
Dsuper.c692 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()
/fs/jfs/
Dresize.c100 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()
Dsuper.c271 *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()
/fs/partitions/
Defi.c142 if (!bdev || !bdev->bd_inode) in last_lba()
144 return (bdev->bd_inode->i_size >> 9) - 1ULL; in last_lba()
Datari.c50 hd_size = bdev->bd_inode->i_size >> 9; in atari_partition()
Dibm.c63 i_size = i_size_read(bdev->bd_inode); in ibm_partition()
Dacorn.c281 nr_sects = (bdev->bd_inode->i_size >> 9) - start_sect; in adfspart_check_ADFS()
Dcheck.c595 struct address_space *mapping = bdev->bd_inode->i_mapping; in read_dev_sector()
Dldm.c366 num_sects = bdev->bd_inode->i_size >> 9; in ldm_validate_privheads()
/fs/hfsplus/
Dwrapper.c66 *size = sb->s_bdev->bd_inode->i_size >> 9; in hfsplus_get_last_session()
/fs/squashfs/
Dsuper.c152 i_size_read(sb->s_bdev->bd_inode)) in squashfs_fill_super()
/fs/hfs/
Dmdb.c40 *size = sb->s_bdev->bd_inode->i_size >> 9; in hfs_get_last_session()
/fs/ext3/
Ddir.c140 sb->s_bdev->bd_inode->i_mapping, in ext3_readdir()
/fs/ext4/
Ddir.c140 sb->s_bdev->bd_inode->i_mapping, in ext4_readdir()
/fs/btrfs/
Dioctl.c495 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()
Dvolumes.c149 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()
/fs/reiserfs/
Dsuper.c954 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()
/fs/cramfs/
Dinode.c137 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping; in cramfs_read()
/fs/affs/
Dsuper.c314 size = sb->s_bdev->bd_inode->i_size >> 9; in affs_fill_super()
/fs/ntfs/
Dsuper.c2812 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()
/fs/ocfs2/cluster/
Dheartbeat.c211 struct address_space *mapping = reg->hr_bdev->bd_inode->i_mapping; in o2hb_wait_on_io()

12