Searched refs:bd_op (Results 1 – 7 of 7) sorted by relevance
347 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 …]
685 if (bdops) bdev->bd_op = bdops; in get_sb_bdev()
178 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()
74 __MOD_INC_USE_COUNT(bdev->bd_op->owner); in ibm_ioctl_unopened()
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()
945 if (bdops) bdev->bd_op = bdops; in sys_swapon()
435 const struct block_device_operations *bd_op; member