Home
last modified time | relevance | path

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

/fs/
Dblock_dev.c1509 static void __blkdev_put(struct block_device *bdev, fmode_t mode, int for_part);
1531 static int __blkdev_get(struct block_device *bdev, fmode_t mode, int for_part) in __blkdev_get() argument
1546 if (!for_part) { in __blkdev_get()
1562 mutex_lock_nested(&bdev->bd_mutex, for_part); in __blkdev_get()
1618 BUG_ON(for_part); in __blkdev_get()
1649 if (for_part) in __blkdev_get()
1852 static void __blkdev_put(struct block_device *bdev, fmode_t mode, int for_part) in __blkdev_put() argument
1857 mutex_lock_nested(&bdev->bd_mutex, for_part); in __blkdev_put()
1858 if (for_part) in __blkdev_put()