Lines Matching refs:dev_t
71 static int cnopen(dev_t *, int, int, struct cred *);
72 static int cnclose(dev_t, int, int, struct cred *);
73 static int cnread(dev_t, struct uio *, struct cred *);
74 static int cnwrite(dev_t, struct uio *, struct cred *);
75 static int cnioctl(dev_t, int, intptr_t, int, struct cred *, int *);
76 static int cnpoll(dev_t, short, int, short *, struct pollhead **);
128 extern dev_t rconsdev; /* "hardware" console */
134 extern dev_t uconsdev; /* What the user thinks is the console device */
246 if (getminor((dev_t)arg) == 0 && cn_dip != NULL) { in cn_info()
253 if (getminor((dev_t)arg) == 0) { in cn_info()
275 cnopen(dev_t *dev, int flag, int state, struct cred *cred) in cnopen()
349 cnclose(dev_t dev, int flag, int state, struct cred *cred) in cnclose()
377 cnread(dev_t dev, struct uio *uio, struct cred *cred) in cnread()
405 cnwrite(dev_t dev, struct uio *uio, struct cred *cred) in cnwrite()
435 cnprivateioc(dev_t dev, int cmd, intptr_t arg, int flag, struct cred *cred, in cnprivateioc()
460 cnioctl(dev_t dev, int cmd, intptr_t arg, int flag, struct cred *cred, in cnioctl()
488 cnpoll(dev_t dev, short events, int anyyet, short *reventsp, in cnpoll()