/freebsd-11-stable/sys/dev/nvme/ |
H A D | nvme_ctrlr.c | 1039 nvme_ctrlr_ioctl(struct cdev *cdev, u_long cmd, caddr_t arg, int flag, argument 1045 ctrlr = cdev->si_drv1; 1058 strncpy(gnsid->cdev, device_get_nameunit(ctrlr->dev), 1059 sizeof(gnsid->cdev)); 1226 status = make_dev_s(&md_args, &ctrlr->cdev, "nvme%d", 1255 if (ctrlr->cdev) 1256 destroy_dev(ctrlr->cdev);
|
/freebsd-11-stable/share/examples/drivers/ |
H A D | make_device_driver.sh | 207 struct cdev *dev; 826 ${1}ioctl (struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) 848 ${1}open(struct cdev *dev, int oflags, int devtype, struct thread *td) 860 ${1}close(struct cdev *dev, int fflag, int devtype, struct thread *td) 872 ${1}read(struct cdev *dev, struct uio *uio, int ioflag) 887 ${1}write(struct cdev *dev, struct uio *uio, int ioflag) 902 ${1}mmap(struct cdev *dev, vm_offset_t offset, vm_paddr_t *paddr, int nprot) 921 ${1}poll(struct cdev *dev, int which, struct thread *td)
|
/freebsd-11-stable/sys/sparc64/fhc/ |
H A D | fhc.c | 63 struct cdev *sc_led_dev; 165 device_t cdev; local 313 cdev = device_add_child(dev, NULL, -1); 314 if (cdev == NULL) { 322 device_set_ivars(cdev, fdi);
|
H A D | clkbrd.c | 61 struct cdev *sc_led_dev;
|
/freebsd-11-stable/sys/cam/ |
H A D | cam_compat.c | 55 static int cam_compat_handle_0x17(struct cdev *dev, u_long cmd, caddr_t addr, 57 static int cam_compat_handle_0x18(struct cdev *dev, u_long cmd, caddr_t addr, 62 cam_compat_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, 117 cam_compat_handle_0x17(struct cdev *dev, u_long cmd, caddr_t addr, int flag, 255 cam_compat_handle_0x18(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
|
/freebsd-11-stable/sys/dev/xen/evtchn/ |
H A D | evtchn_dev.c | 188 evtchn_open(struct cdev *dev, int flag, int otyp, struct thread *td) 242 evtchn_read(struct cdev *dev, struct uio *uio, int ioflag) 318 evtchn_write(struct cdev *dev, struct uio *uio, int ioflag) 391 evtchn_ioctl(struct cdev *dev, unsigned long cmd, caddr_t arg, 532 evtchn_poll(struct cdev *dev, int events, struct thread *td)
|
/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | socket.c | 299 isc_socket_connev_t *cdev; /* connect() done event */ member in struct:IoCompletionInfo 368 static void send_connectdone_event(isc_socket_t *sock, isc_socket_connev_t **cdev); 1988 send_connectdone_event(isc_socket_t *sock, isc_socket_connev_t **cdev) { argument 1991 INSIST(cdev != NULL && *cdev != NULL); 1993 task = (*cdev)->ev_sender; 1994 (*cdev)->ev_sender = sock; 1998 isc_task_sendanddetach(&task, (isc_event_t **)cdev); 2108 isc_socket_connev_t *cdev; local 2123 cdev 3424 isc_socket_connev_t *cdev; local [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | tty.c | 80 static struct cdev *dev_console; 197 * don't have to be used together. ttydev_enter() is used by the cdev 264 ttydev_open(struct cdev *dev, int oflags, int devtype __unused, 363 ttydev_close(struct cdev *dev, int fflag, int devtype __unused, 476 ttydev_read(struct cdev *dev, struct uio *uio, int ioflag) 497 ttydev_write(struct cdev *dev, struct uio *uio, int ioflag) 534 ttydev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, 620 ttydev_poll(struct cdev *dev, int events, struct thread *td) 657 ttydev_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 739 ttydev_kqfilter(struct cdev *de [all...] |
/freebsd-11-stable/sys/dev/bktr/ |
H A D | bktr_os.c | 578 bktr_open( struct cdev *dev, int flags, int fmt, struct thread *td ) 678 bktr_close( struct cdev *dev, int flags, int fmt, struct thread *td ) 717 bktr_read( struct cdev *dev, struct uio *uio, int ioflag ) 745 bktr_write( struct cdev *dev, struct uio *uio, int ioflag ) 755 bktr_ioctl( struct cdev *dev, ioctl_cmd_t cmd, caddr_t arg, int flag, struct thread *td ) 794 bktr_mmap( struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 826 bktr_poll( struct cdev *dev, int events, struct thread *td)
|
/freebsd-11-stable/sys/dev/ppbus/ |
H A D | lpt.c | 109 struct cdev *sc_cdev; 110 struct cdev *sc_cdev_bypass; 484 lptopen(struct cdev *dev, int flags, int fmt, struct thread *td) 608 lptclose(struct cdev *dev, int flags, int fmt, struct thread *td) 719 lptread(struct cdev *dev, struct uio *uio, int ioflag) 770 lptwrite(struct cdev *dev, struct uio *uio, int ioflag) 923 lptioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td)
|
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_hpet.c | 118 struct cdev *pdev; 382 hpet_open(struct cdev *cdev, int oflags, int devtype, struct thread *td) argument 386 sc = cdev->si_drv1; 394 hpet_mmap(struct cdev *cdev, vm_ooffset_t offset, vm_paddr_t *paddr, argument 399 sc = cdev->si_drv1;
|
H A D | acpivar.h | 52 struct cdev *acpi_dev_t; 96 struct cdev *cdev; member in struct:apm_clone_data
|
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_target.c | 205 targopen(struct cdev *dev, int flags, int fmt, struct thread *td) 228 targioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td) 297 targpoll(struct cdev *dev, int poll_events, struct thread *td) 323 targkqfilter(struct cdev *dev, struct knote *kn) 524 targwrite(struct cdev *dev, struct uio *uio, int ioflag) 803 targread(struct cdev *dev, struct uio *uio, int ioflag) 1001 struct cdev *dev;
|
/freebsd-11-stable/sys/dev/mpt/ |
H A D | mpt_user.c | 124 mpt->cdev = make_dev(&mpt_cdevsw, unit, UID_ROOT, GID_OPERATOR, 0640, 126 if (mpt->cdev == NULL) { 133 mpt->cdev->si_drv1 = mpt; 171 destroy_dev(mpt->cdev); 181 mpt_open(struct cdev *dev, int flags, int fmt, struct thread *td) 188 mpt_close(struct cdev *dev, int flags, int fmt, struct thread *td) 593 mpt_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct thread *td)
|
/freebsd-11-stable/sys/dev/adlink/ |
H A D | adlink.c | 106 struct cdev *dev; 164 adlink_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 193 adlink_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td)
|
/freebsd-11-stable/sys/dev/xen/privcmd/ |
H A D | privcmd.c | 193 privcmd_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t size, argument 226 privcmd_ioctl(struct cdev *dev, unsigned long cmd, caddr_t arg,
|
/freebsd-11-stable/sys/dev/qlxgb/ |
H A D | qla_def.h | 131 struct cdev *ioctl_dev;
|
/freebsd-11-stable/sys/netsmb/ |
H A D | smb_dev.h | 158 struct cdev * dev;
|
/freebsd-11-stable/sys/dev/mlx/ |
H A D | mlxvar.h | 112 struct cdev *mlx_dev_t;
|
/freebsd-11-stable/sys/powerpc/powermac/ |
H A D | uninorth.c | 273 device_t cdev; local 369 cdev = device_add_child(dev, NULL, -1); 370 if (cdev == NULL) { 379 device_set_ivars(cdev, dinfo);
|
/freebsd-11-stable/sys/dev/ida/ |
H A D | idavar.h | 134 struct cdev *ida_dev_t;
|
/freebsd-11-stable/sys/dev/tdfx/ |
H A D | tdfx_pci.c | 243 * make_dev registers the cdev to access the 3dfx card from /dev 383 tdfx_open(struct cdev *dev, int flags, int fmt, struct thread *td) 386 * The open cdev method handles open(2) calls to /dev/3dfx[n] 400 tdfx_close(struct cdev *dev, int fflag, int devtype, struct thread *td) 403 * The close cdev method handles close(2) calls to /dev/3dfx[n] 416 tdfx_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 772 tdfx_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td)
|
/freebsd-11-stable/sys/fs/devfs/ |
H A D | devfs_rule.c | 109 static struct cdev *devfs_rule_getdev(struct devfs_dirent *de); 340 * XXX: a linear search could be done through the cdev list instead. 433 * Get a struct cdev *corresponding to de so we can try to match rules based 434 * on it. If this routine returns NULL, there is no struct cdev *associated 439 static struct cdev * 536 struct cdev *dev; 546 * the struct cdev *match all symlinks and directories. 580 struct cdev *dev;
|
/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | msdosfsmount.h | 81 struct cdev *pm_dev; /* character device mounted */
|
/freebsd-11-stable/sys/dev/tws/ |
H A D | tws.h | 221 struct cdev *tws_cdev; /* controller device */
|