Home
last modified time | relevance | path

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

/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 …]