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

/linux-master/block/
H A Dbdev.c482 * bd_may_claim - test whether a block device can be claimed
492 static bool bd_may_claim(struct block_device *bdev, void *holder, function
512 * If the whole devices holder is set to bd_may_claim, a partition on
516 whole->bd_holder && whole->bd_holder != bd_may_claim)
544 if (!bd_may_claim(bdev, holder, hops)) {
592 BUG_ON(!bd_may_claim(bdev, holder, hops));
595 * and bd_holder will be set to bd_may_claim before being set to holder
598 whole->bd_holder = bd_may_claim;

Completed in 215 milliseconds