Home
last modified time | relevance | path

Searched refs:bdevp (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/block/
Dioctl.c15 struct block_device *bdevp; in blkpg_ioctl() local
77 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 …]
/linux-4.19.296/fs/xfs/
Dxfs_super.c656 struct block_device **bdevp) in xfs_blkdev_get() argument
660 *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()