Searched refs:si_refcount (Results 1 – 3 of 3) sorted by relevance
147 dev->si_refcount++; in dev_ref()156 dev->si_refcount++; in dev_refl()166 dev->si_refcount--; in dev_rel()167 KASSERT(dev->si_refcount >= 0, in dev_rel()169 if (dev->si_devsw == NULL && dev->si_refcount == 0) { in dev_rel()1184 dev->si_refcount--; in destroy_devl()1186 if (dev->si_refcount > 0) in destroy_devl()1564 dev->si_name, dev->si_refcount, dev->si_usecount, in DB_SHOW_COMMAND()
74 int si_refcount; member
123 KASSERT((*devp)->si_refcount > 0, in devfs_fp_check()764 KASSERT(dev->si_refcount > 0, in devfs_close()929 KASSERT(dev->si_refcount > 0, in devfs_ioctl()