Searched refs:bdevp (Results 1 – 2 of 2) sorted by relevance
15 struct block_device *bdevp; in blkpg_ioctl() local77 bdevp = bdget(part_devt(part)); in blkpg_ioctl()79 if (!bdevp) in blkpg_ioctl()82 mutex_lock(&bdevp->bd_mutex); in blkpg_ioctl()83 if (bdevp->bd_openers) { in blkpg_ioctl()84 mutex_unlock(&bdevp->bd_mutex); in blkpg_ioctl()85 bdput(bdevp); in blkpg_ioctl()89 fsync_bdev(bdevp); in blkpg_ioctl()90 invalidate_bdev(bdevp); in blkpg_ioctl()95 mutex_unlock(&bdevp->bd_mutex); in blkpg_ioctl()[all …]
656 struct block_device **bdevp) in xfs_blkdev_get() argument660 *bdevp = blkdev_get_by_path(name, FMODE_READ|FMODE_WRITE|FMODE_EXCL, in xfs_blkdev_get()662 if (IS_ERR(*bdevp)) { in xfs_blkdev_get()663 error = PTR_ERR(*bdevp); in xfs_blkdev_get()