Searched refs:bdevp (Results 1 – 2 of 2) sorted by relevance
553 struct block_device *bdevp; in bdev_del_partition() local557 bdevp = bdget_disk(bdev->bd_disk, partno); in bdev_del_partition()558 if (!bdevp) in bdev_del_partition()561 mutex_lock(&bdevp->bd_mutex); in bdev_del_partition()570 if (bdevp->bd_openers) in bdev_del_partition()573 sync_blockdev(bdevp); in bdev_del_partition()574 invalidate_bdev(bdevp); in bdev_del_partition()580 mutex_unlock(&bdevp->bd_mutex); in bdev_del_partition()581 bdput(bdevp); in bdev_del_partition()590 struct block_device *bdevp; in bdev_resize_partition() local[all …]
319 struct block_device **bdevp) in xfs_blkdev_get() argument323 *bdevp = blkdev_get_by_path(name, FMODE_READ|FMODE_WRITE|FMODE_EXCL, in xfs_blkdev_get()325 if (IS_ERR(*bdevp)) { in xfs_blkdev_get()326 error = PTR_ERR(*bdevp); in xfs_blkdev_get()