#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/sx.h>
#include <sys/vnode.h>
#include <fs/devfs/devfs.h>
#include <fs/devfs/devfs_int.h>
Go to the source code of this file.
|
| __FBSDID ("$BSDSUniX$") |
|
static int | cttyopen (struct cdev *dev, int flag, int mode, struct thread *td) |
|
static void | ctty_clone (void *arg, struct ucred *cred, char *name, int namelen, struct cdev **dev) |
|
static void | ctty_drvinit (void *unused) |
|
| SYSINIT (cttydev, SI_SUB_DRIVERS, SI_ORDER_MIDDLE, ctty_drvinit, NULL) |
|
__FBSDID |
( |
"$BSDSUniX$" |
| ) |
|
static void ctty_clone |
( |
void * |
arg, |
|
|
struct ucred * |
cred, |
|
|
char * |
name, |
|
|
int |
namelen, |
|
|
struct cdev ** |
dev |
|
) |
| |
|
static |
static void ctty_drvinit |
( |
void * |
unused | ) |
|
|
static |
static int cttyopen |
( |
struct cdev * |
dev, |
|
|
int |
flag, |
|
|
int |
mode, |
|
|
struct thread * |
td |
|
) |
| |
|
static |
SYSINIT |
( |
cttydev |
, |
|
|
SI_SUB_DRIVERS |
, |
|
|
SI_ORDER_MIDDLE |
, |
|
|
ctty_drvinit |
, |
|
|
NULL |
|
|
) |
| |
struct cdevsw ctty_cdevsw |
|
static |
Initial value:= {
.d_version = D_VERSION,
.d_name = "ctty",
}
Definition at line 42 of file tty_tty.c.
Referenced by ctty_drvinit().