Home
last modified time | relevance | path

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

/linux-2.6.39/fs/
Dblock_dev.c1054 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() argument
1077 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() argument
1398 mutex_lock_nested(&bdev->bd_mutex, for_part); in __blkdev_put()
1399 if (for_part) in __blkdev_put()