Home
last modified time | relevance | path

Searched refs:i_bdev (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/fs/
Dblock_dev.c167 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 …]
Dinode.c115 inode->i_bdev = NULL; in alloc_inode()
631 if (inode->i_bdev) in clear_inode()
Dsuper.c682 bdev = inode->i_bdev; in get_sb_bdev()
/linux-2.4.37.9/drivers/block/
Drd.c292 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()
Dloop.c883 err = loop_clr_fd(lo, inode->i_bdev); in lo_ioctl()
/linux-2.4.37.9/mm/
Dswapfile.c788 blkdev_put(p->swap_file->d_inode->i_bdev, BDEV_SWAP); in sys_swapoff()
942 bdev = swap_inode->i_bdev; in sys_swapon()
/linux-2.4.37.9/fs/devfs/
Dbase.c2599 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()
/linux-2.4.37.9/fs/reiserfs/
Djournal.c2005 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()
/linux-2.4.37.9/include/linux/
Dfs.h479 struct block_device *i_bdev; member
/linux-2.4.37.9/drivers/md/
Dmd.c2763 if (inode->i_bdev->bd_openers > 1) in md_ioctl()
2770 if (inode->i_bdev->bd_openers > 1) in md_ioctl()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_buf.c1526 inode->i_bdev = bdev; in xfs_mapping_buftarg()
/linux-2.4.37.9/drivers/ide/
Dide-floppy.c1813 invalidate_bdev(inode->i_bdev, 0); in idefloppy_release()
Dide-disk.c764 invalidate_bdev(inode->i_bdev, 0); in idedisk_release()