Searched refs:bd_holders (Results 1 - 2 of 2) sorted by last modified time

/linux-master/include/linux/
H A Dblk_types.h61 int bd_holders; member in struct:block_device
/linux-master/block/
H A Dbdev.c580 * Note that for a whole device bd_holders will be incremented twice,
583 whole->bd_holders++;
585 bdev->bd_holders++;
622 WARN_ON_ONCE(--bdev->bd_holders < 0);
623 WARN_ON_ONCE(--whole->bd_holders < 0);
624 if (!bdev->bd_holders) {
632 if (!whole->bd_holders)
648 WARN_ON_ONCE(bdev->bd_holders);

Completed in 124 milliseconds