Lines Matching refs:cdev
89 struct cdev *dev;
123 SYSCTL_INT(_debug_sizeof, OID_AUTO, cdev, CTLFLAG_RD,
124 SYSCTL_NULL_INT_PTR, sizeof(struct cdev), "sizeof(struct cdev)");
129 struct cdev *
133 struct cdev *cdev;
145 cdev = &cdp->cdp_c;
146 LIST_INIT(&cdev->si_children);
148 cdev->si_atime = cdev->si_mtime = cdev->si_ctime = ts;
150 return (cdev);
175 devfs_free(struct cdev *cdev)
179 cdp = cdev2priv(cdev);
180 if (cdev->si_cred != NULL)
181 crfree(cdev->si_cred);
518 struct cdev *pdev;
702 devfs_create(struct cdev *dev)
716 devfs_destroy(struct cdev *dev)