Home
last modified time | relevance | path

Searched refs:bd_op (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/fs/
Dblock_dev.c347 new_bdev->bd_op = NULL; in bdget()
549 if (!bdev->bd_op->ioctl) in ioctl_by_bdev()
552 res = bdev->bd_op->ioctl(bdev->bd_inode, NULL, cmd, arg); in ioctl_by_bdev()
564 if (!bdev->bd_op) in do_open()
565 bdev->bd_op = get_blkfops(MAJOR(dev)); in do_open()
566 if (bdev->bd_op) { in do_open()
568 if (bdev->bd_op->owner) in do_open()
569 __MOD_INC_USE_COUNT(bdev->bd_op->owner); in do_open()
570 if (bdev->bd_op->open) in do_open()
571 ret = bdev->bd_op->open(inode, file); in do_open()
[all …]
Dsuper.c685 if (bdops) bdev->bd_op = bdops; in get_sb_bdev()
/linux-2.4.37.9/drivers/char/
Draw.c178 if (b && b->bd_inode && b->bd_op && b->bd_op->ioctl) { in raw_ioctl()
179 err = b->bd_op->ioctl(b->bd_inode, NULL, command, arg); in raw_ioctl()
/linux-2.4.37.9/fs/partitions/
Dibm.c74 __MOD_INC_USE_COUNT(bdev->bd_op->owner); in ibm_ioctl_unopened()
/linux-2.4.37.9/fs/devfs/
Dbase.c2667 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/mm/
Dswapfile.c945 if (bdops) bdev->bd_op = bdops; in sys_swapon()
/linux-2.4.37.9/include/linux/
Dfs.h435 const struct block_device_operations *bd_op; member