Lines Matching refs:cdp_flags
159 if ((cdp->cdp_flags & CDP_ACTIVE) == 0) in devfs_dev_exists()
178 KASSERT((cdp->cdp_flags & (CDP_ACTIVE | CDP_ON_ACTIVE_LIST)) == 0, in devfs_free()
207 (de->de_cdp->cdp_flags & CDP_ACTIVE) == 0) in devfs_find()
522 KASSERT((cdp->cdp_flags & CDP_ON_ACTIVE_LIST) != 0, in devfs_populate_loop()
530 if ((cleanup || !(cdp->cdp_flags & CDP_ACTIVE)) && in devfs_populate_loop()
553 if (!(cdp->cdp_flags & CDP_ACTIVE)) { in devfs_populate_loop()
556 cdp->cdp_flags &= ~CDP_ON_ACTIVE_LIST; in devfs_populate_loop()
567 KASSERT((cdp->cdp_flags & CDP_ACTIVE), ("Bogons, I tell ya'!")); in devfs_populate_loop()
708 KASSERT((cdp->cdp_flags & CDP_ON_ACTIVE_LIST) == 0, in devfs_create()
711 cdp->cdp_flags |= (CDP_ACTIVE | CDP_ON_ACTIVE_LIST); in devfs_create()
725 cdp->cdp_flags &= ~CDP_ACTIVE; in devfs_destroy()