Searched refs:for_part (Results 1 – 1 of 1) sorted by relevance
1054 static int __blkdev_put(struct block_device *bdev, fmode_t mode, int for_part);1063 static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) in __blkdev_get() argument1077 if (!for_part) { in __blkdev_get()1093 mutex_lock_nested(&bdev->bd_mutex, for_part); in __blkdev_get()1147 BUG_ON(for_part); in __blkdev_get()1178 if (for_part) in __blkdev_get()1392 static int __blkdev_put(struct block_device *bdev, fmode_t mode, int for_part) in __blkdev_put() argument1398 mutex_lock_nested(&bdev->bd_mutex, for_part); in __blkdev_put()1399 if (for_part) in __blkdev_put()