Searched refs:whole (Results 1 – 1 of 1) sorted by relevance
540 static bool bd_may_claim(struct block_device *bdev, struct block_device *whole, in bd_may_claim() argument547 else if (whole == bdev) in bd_may_claim()550 else if (whole->bd_holder == bd_may_claim) in bd_may_claim()552 else if (whole->bd_holder != NULL) in bd_may_claim()572 struct block_device *whole = bdev_whole(bdev); in bd_prepare_to_claim() local579 if (!bd_may_claim(bdev, whole, holder)) { in bd_prepare_to_claim()585 if (whole->bd_claiming) { in bd_prepare_to_claim()586 wait_queue_head_t *wq = bit_waitqueue(&whole->bd_claiming, 0); in bd_prepare_to_claim()597 whole->bd_claiming = holder; in bd_prepare_to_claim()603 static void bd_clear_claiming(struct block_device *whole, void *holder) in bd_clear_claiming() argument[all …]