Lines Matching refs:dev_t
48 int (*cn_getc)(dev_t);
50 void (*cn_putc)(dev_t, int);
52 void (*cn_pollc)(dev_t, int);
54 void (*cn_bell)(dev_t, u_int, u_int, u_int);
55 dev_t cn_dev; /* major/minor of device */
79 int cnopen(dev_t, int, int, struct proc *);
80 int cnclose(dev_t, int, int, struct proc *);
81 int cnread(dev_t, struct uio *, int);
82 int cnwrite(dev_t, struct uio *, int);
83 int cnioctl(dev_t, u_long, caddr_t, int, struct proc *);
84 int cnkqfilter(dev_t, struct knote *);
89 void nullcnpollc(dev_t, int);
94 #define dev_type_cngetc(n) int n(dev_t)
95 #define dev_type_cnputc(n) void n(dev_t, int)
96 #define dev_type_cnpollc(n) void n(dev_t, int)
97 #define dev_type_cnbell(n) void n(dev_t, u_int, u_int, u_int)