Searched refs:i_bdev (Results 1 – 13 of 13) sorted by relevance
167 loff_t size = file->f_dentry->d_inode->i_bdev->bd_inode->i_size; in block_llseek()351 inode->i_bdev = new_bdev; in bdget()373 inode->i_bdev = NULL; in __bd_forget()397 if (inode->i_bdev) { in bd_acquire()398 atomic_inc(&inode->i_bdev->bd_count); in bd_acquire()407 if (!inode->i_bdev) { in bd_acquire()408 inode->i_bdev = bdev; in bd_acquire()411 } else if (inode->i_bdev != bdev) in bd_acquire()422 if (inode->i_bdev) in bd_forget()621 bdev = inode->i_bdev; in blkdev_open()[all …]
115 inode->i_bdev = NULL; in alloc_inode()631 if (inode->i_bdev) in clear_inode()
682 bdev = inode->i_bdev; in get_sb_bdev()
292 down(&inode->i_bdev->bd_sem); in rd_ioctl()293 if (inode->i_bdev->bd_openers <= 2) { in rd_ioctl()297 up(&inode->i_bdev->bd_sem); in rd_ioctl()350 blkdev_put(inode->i_bdev, BDEV_FILE); in initrd_release()
883 err = loop_clr_fd(lo, inode->i_bdev); in lo_ioctl()
788 blkdev_put(p->swap_file->d_inode->i_bdev, BDEV_SWAP); in sys_swapoff()942 bdev = swap_inode->i_bdev; in sys_swapon()
2599 if ( S_ISBLK (inode->i_mode) ) bdput (inode->i_bdev); in devfs_clear_inode()2667 if (!inode->i_bdev->bd_op && de->u.fcb.ops) in _devfs_get_vfs_inode()2668 inode->i_bdev->bd_op = de->u.fcb.ops; in _devfs_get_vfs_inode()2789 if (ops) inode->i_bdev->bd_op = ops; in devfs_open()
2005 journal -> j_dev_bd = jdev_inode -> i_bdev; in journal_init_dev()2012 } else if( jdev_inode -> i_bdev == NULL ) { in journal_init_dev()2015 } else if( ( result = blkdev_get( jdev_inode -> i_bdev, in journal_init_dev()2024 to_kdev_t( jdev_inode -> i_bdev -> bd_dev ); in journal_init_dev()
479 struct block_device *i_bdev; member
2763 if (inode->i_bdev->bd_openers > 1) in md_ioctl()2770 if (inode->i_bdev->bd_openers > 1) in md_ioctl()
1526 inode->i_bdev = bdev; in xfs_mapping_buftarg()
1813 invalidate_bdev(inode->i_bdev, 0); in idefloppy_release()
764 invalidate_bdev(inode->i_bdev, 0); in idedisk_release()