Searched refs:bd_may_claim (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/
H A Dblock_dev.c742 * bd_may_claim - test whether a block device can be claimed
755 static bool bd_may_claim(struct block_device *bdev, struct block_device *whole, bd_may_claim() function
765 else if (whole->bd_holder == bd_may_claim) bd_may_claim()
796 if (!bd_may_claim(bdev, whole, holder)) bd_prepare_to_claim()
1365 BUG_ON(!bd_may_claim(bdev, whole, holder)); blkdev_get()
1369 * will be set to bd_may_claim before being blkdev_get()
1373 whole->bd_holder = bd_may_claim; blkdev_get()

Completed in 83 milliseconds