/freebsd-13-stable/sys/dev/nvme/ |
H A D | nvme_ctrlr.c | 1311 nvme_ctrlr_ioctl(struct cdev *cdev, u_long cmd, caddr_t arg, int flag, argument 1317 ctrlr = cdev->si_drv1; 1330 strncpy(gnsid->cdev, device_get_nameunit(ctrlr->dev), 1331 sizeof(gnsid->cdev)); 1332 gnsid->cdev[sizeof(gnsid->cdev) - 1] = '\0'; 1453 status = make_dev_s(&md_args, &ctrlr->cdev, "nvme%d", 1482 if (ctrlr->cdev) 1483 destroy_dev(ctrlr->cdev); [all...] |
/freebsd-13-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-13-stable/sys/kern/ |
H A D | tty.c | 84 static struct cdev *dev_console; 207 * don't have to be used together. ttydev_enter() is used by the cdev 274 ttydev_open(struct cdev *dev, int oflags, int devtype __unused, 374 ttydev_close(struct cdev *dev, int fflag, int devtype __unused, 504 ttydev_read(struct cdev *dev, struct uio *uio, int ioflag) 525 ttydev_write(struct cdev *dev, struct uio *uio, int ioflag) 564 ttydev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, 650 ttydev_poll(struct cdev *dev, int events, struct thread *td) 687 ttydev_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 769 ttydev_kqfilter(struct cdev *de [all...] |
/freebsd-13-stable/sys/dev/mpt/ |
H A D | mpt_user.c | 126 mpt->cdev = make_dev(&mpt_cdevsw, unit, UID_ROOT, GID_OPERATOR, 0640, 128 if (mpt->cdev == NULL) { 135 mpt->cdev->si_drv1 = mpt; 173 destroy_dev(mpt->cdev); 183 mpt_open(struct cdev *dev, int flags, int fmt, struct thread *td) 190 mpt_close(struct cdev *dev, int flags, int fmt, struct thread *td) 595 mpt_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct thread *td)
|
/freebsd-13-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;
|
/freebsd-13-stable/sys/dev/hid/ |
H A D | hidraw.c | 115 struct cdev *dev; 314 hidraw_open(struct cdev *dev, int flag, int mode, struct thread *td) 381 hidraw_read(struct cdev *dev, struct uio *uio, int flag) 461 hidraw_write(struct cdev *dev, struct uio *uio, int flag) 511 hidraw_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, 783 hidraw_poll(struct cdev *dev, int events, struct thread *td) 809 hidraw_kqfilter(struct cdev *dev, struct knote *kn)
|
/freebsd-13-stable/sys/dev/ppbus/ |
H A D | lpt.c | 111 struct cdev *sc_cdev; 112 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) 718 lptread(struct cdev *dev, struct uio *uio, int ioflag) 769 lptwrite(struct cdev *dev, struct uio *uio, int ioflag) 922 lptioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td)
|
/freebsd-13-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) 802 targread(struct cdev *dev, struct uio *uio, int ioflag) 1000 struct cdev *dev;
|
/freebsd-13-stable/sys/dev/adlink/ |
H A D | adlink.c | 108 struct cdev *dev; 166 adlink_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 195 adlink_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td)
|
/freebsd-13-stable/sys/dev/altera/avgen/ |
H A D | altera_avgen.c | 87 altera_avgen_read(struct cdev *dev, struct uio *uio, int flag) 149 altera_avgen_write(struct cdev *dev, struct uio *uio, int flag) 213 altera_avgen_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
|
/freebsd-13-stable/sys/dev/nvdimm/ |
H A D | nvdimm_var.h | 124 struct cdev *spa_dev;
|
/freebsd-13-stable/sys/dev/etherswitch/arswitch/ |
H A D | arswitchvar.h | 57 struct cdev *led;
|
/freebsd-13-stable/sys/dev/gpio/ |
H A D | gpioled_fdt.c | 54 struct cdev *leddev;
|
/freebsd-13-stable/sys/dev/hifn/ |
H A D | hifn7751var.h | 187 struct cdev *sc_pkdev;
|
/freebsd-13-stable/sys/dev/ida/ |
H A D | idavar.h | 136 struct cdev *ida_dev_t;
|
/freebsd-13-stable/sys/dev/ioat/ |
H A D | ioat_test.c | 80 static struct cdev *g_ioat_cdev = NULL; 513 ioat_test_open(struct cdev *dev, int flags, int fmt, struct thread *td) 520 ioat_test_close(struct cdev *dev, int flags, int fmt, struct thread *td) 527 ioat_test_ioctl(struct cdev *dev, unsigned long cmd, caddr_t arg, int flag,
|
/freebsd-13-stable/sys/dev/veriexec/ |
H A D | verified_exec.c | 66 verifiedexecioctl(struct cdev *dev __unused, u_long cmd, caddr_t data,
|
/freebsd-13-stable/sys/dev/wtap/ |
H A D | if_wtap.c | 70 wtap_node_open(struct cdev *dev, int oflags, int devtype, struct thread *p) 79 wtap_node_close(struct cdev *dev, int fflag, int devtype, struct thread *p) 87 wtap_node_write(struct cdev *dev, struct uio *uio, int ioflag) 130 wtap_node_ioctl(struct cdev *dev, u_long cmd, caddr_t data,
|
/freebsd-13-stable/sys/dev/xen/privcmd/ |
H A D | privcmd.c | 196 privcmd_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t size, argument 263 privcmd_ioctl(struct cdev *dev, unsigned long cmd, caddr_t arg, 550 privcmd_open(struct cdev *dev, int flag, int otyp, struct thread *td)
|
/freebsd-13-stable/sys/fs/devfs/ |
H A D | devfs_rule.c | 111 static struct cdev *devfs_rule_getdev(struct devfs_dirent *de); 342 * XXX: a linear search could be done through the cdev list instead. 435 * Get a struct cdev *corresponding to de so we can try to match rules based 436 * on it. If this routine returns NULL, there is no struct cdev *associated 441 static struct cdev * 538 struct cdev *dev; 548 * the struct cdev *match all symlinks and directories. 582 struct cdev *dev;
|
/freebsd-13-stable/sys/fs/ext2fs/ |
H A D | ext2_extern.h | 133 int ext2_gd_csum_verify(struct m_ext2fs *, struct cdev *);
|
/freebsd-13-stable/sys/fs/fuse/ |
H A D | fuse_vfsops.c | 140 fuse_getdevice(const char *fspec, struct thread *td, struct cdev **fdevp) 144 struct cdev *fdev; 307 struct cdev *fdev; 475 struct cdev *fdev;
|
/freebsd-13-stable/sys/fs/msdosfs/ |
H A D | msdosfsmount.h | 85 struct cdev *pm_dev; /* character device mounted */
|
/freebsd-13-stable/sys/dev/qlxgb/ |
H A D | qla_def.h | 133 struct cdev *ioctl_dev;
|
/freebsd-13-stable/sys/powerpc/powermac/ |
H A D | uninorth.c | 274 device_t cdev; local 370 cdev = device_add_child(dev, NULL, -1); 371 if (cdev == NULL) { 380 device_set_ivars(cdev, dinfo);
|