• Home
  • Raw
  • Download

Lines Matching refs:bd_inode

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() 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()
423 iput(bdev->bd_inode); in bdput()
435 atomic_inc(&bdev->bd_inode->i_count); in bd_acquire()
451 atomic_inc(&bdev->bd_inode->i_count); in bd_acquire()
453 inode->i_mapping = bdev->bd_inode->i_mapping; in bd_acquire()
476 iput(bdev->bd_inode); in bd_forget()
896 bdev_size = i_size_read(bdev->bd_inode); in check_disk_size_change()
904 i_size_write(bdev->bd_inode, disk_size); in check_disk_size_change()
969 bdev->bd_inode->i_size = size; in bd_set_size()
976 bdev->bd_inode->i_blkbits = blksize_bits(bsize); in bd_set_size()
1003 ret = devcgroup_inode_permission(bdev->bd_inode, perm); in __blkdev_get()
1052 bdev->bd_inode->i_data.backing_dev_info = bdi; in __blkdev_get()
1067 bdev->bd_inode->i_data.backing_dev_info = in __blkdev_get()
1068 whole->bd_inode->i_data.backing_dev_info; in __blkdev_get()
1102 bdev->bd_inode->i_data.backing_dev_info = &default_backing_dev_info; in __blkdev_get()
1149 filp->f_mapping = bdev->bd_inode->i_mapping; in blkdev_open()
1195 bdev->bd_inode->i_data.backing_dev_info = &default_backing_dev_info; in __blkdev_put()