Searched refs:bdevp (Results 1 – 1 of 1) sorted by relevance
14 struct block_device *bdevp; in blkpg_ioctl() local73 bdevp = bdget(part_devt(part)); in blkpg_ioctl()75 if (!bdevp) in blkpg_ioctl()78 mutex_lock(&bdevp->bd_mutex); in blkpg_ioctl()79 if (bdevp->bd_openers) { in blkpg_ioctl()80 mutex_unlock(&bdevp->bd_mutex); in blkpg_ioctl()81 bdput(bdevp); in blkpg_ioctl()85 fsync_bdev(bdevp); in blkpg_ioctl()86 invalidate_bdev(bdevp); in blkpg_ioctl()91 mutex_unlock(&bdevp->bd_mutex); in blkpg_ioctl()[all …]