Lines Matching refs:flag
69 int cnopen(__unused dev_t dev, int flag, int devtype, proc_t pp);
70 int cnclose(__unused dev_t dev, int flag, int mode, proc_t pp);
74 int cnselect(__unused dev_t dev, int flag, void *wql, proc_t p);
84 int cnopen(__unused dev_t dev, int flag, int devtype, struct proc *pp)
87 return ((*cdevsw[major(dev)].d_open) (dev, flag, devtype, pp));
90 int cnclose(__unused dev_t dev, int flag, int mode, struct proc *pp)
93 return ((*cdevsw[major(dev)].d_close) (dev, flag, mode, pp));
108 int cnioctl(__unused dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
130 return ((*cdevsw[major(dev)].d_ioctl) (dev, cmd, addr, flag, p));
133 int cnselect(__unused dev_t dev, int flag, void *wql, struct proc *p)
136 return ((*cdevsw[major(dev)].d_select) (dev, flag, wql, p));