/freebsd-11-stable/sys/dev/hme/ |
H A D | if_hme.c | 615 struct hme_txdesc *td; local 660 td = &sc->sc_rb.rb_txdesc[i]; 661 if (td->htx_m != NULL) { 662 bus_dmamap_sync(sc->sc_tdmatag, td->htx_dmamap, 664 bus_dmamap_unload(sc->sc_tdmatag, td->htx_dmamap); 665 m_freem(td->htx_m); 666 td->htx_m = NULL; 668 STAILQ_INSERT_TAIL(&sc->sc_rb.rb_txfreeq, td, htx_q);
|
/freebsd-11-stable/sys/dev/hpt27xx/ |
H A D | hpt27xx_osm_bsd.c | 1391 static int hpt_open(struct cdev *dev, int flags, int devtype, struct thread *td) 1396 static int hpt_close(struct cdev *dev, int flags, int devtype, struct thread *td) 1401 static int hpt_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td)
|
/freebsd-11-stable/sys/dev/hptnr/ |
H A D | hptnr_osm_bsd.c | 1573 static int hpt_open(struct cdev *dev, int flags, int devtype, struct thread *td) argument 1578 static int hpt_close(struct cdev *dev, int flags, int devtype, struct thread *td) argument 1583 static int hpt_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td) argument
|
/freebsd-11-stable/sys/dev/hptrr/ |
H A D | hptrr_osm_bsd.c | 1220 static int hpt_open(struct cdev *dev, int flags, int devtype, struct thread *td) argument 1225 static int hpt_close(struct cdev *dev, int flags, int devtype, struct thread *td) argument 1230 static int hpt_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td) argument
|
/freebsd-11-stable/sys/dev/hwpmc/ |
H A D | hwpmc_arm.c | 80 struct thread *td; local 86 td = curthread; 93 stackstart = (uintptr_t) td->td_kstack; 94 stackend = (uintptr_t) td->td_kstack + td->td_kstack_pages * PAGE_SIZE; 129 struct thread *td; local 135 td = curthread;
|
H A D | hwpmc_arm64_md.c | 66 struct thread *td; local 72 td = curthread; 79 stackstart = (uintptr_t) td->td_kstack; 80 stackend = (uintptr_t) td->td_kstack + td->td_kstack_pages * PAGE_SIZE; 115 struct thread *td; local 121 td = curthread;
|
H A D | hwpmc_logging.c | 250 pmclog_proc_create(struct thread *td, void **handlep) argument 257 RFHIGHPID, 0, "hwpmc: proc(%d)", td->td_proc->p_pid); 305 struct thread *td; local 312 td = curthread; 316 (void)kern_sigprocmask(td, SIG_UNBLOCK, &unb, NULL, 0); 338 mycred = td->td_ucred; 400 auio.uio_td = td; 403 td->td_ucred = ownercred; 404 error = fo_write(po->po_file, &auio, ownercred, 0, td); 405 td [all...] |
H A D | hwpmc_x86.c | 163 struct thread *td; local 168 td = curthread; 179 stackstart = (uintptr_t) td->td_kstack; 180 stackend = (uintptr_t) td->td_kstack + td->td_kstack_pages * PAGE_SIZE;
|
/freebsd-11-stable/sys/dev/hyperv/utilities/ |
H A D | hv_kvp.c | 697 struct thread *td) 714 struct thread *td __unused) 823 hv_kvp_dev_daemon_poll(struct cdev *dev, int events, struct thread *td) argument 838 selrecord(td, &sc->hv_kvp_selinfo); 696 hv_kvp_dev_open(struct cdev *dev, int oflags, int devtype, struct thread *td) argument
|
H A D | hv_snapshot.c | 528 hv_vss_dev_open(struct cdev *dev, int oflags, int devtype, struct thread *td) argument 531 td_proc = td->td_proc; 549 struct thread *td) 552 td_proc = td->td_proc; 564 struct thread *td) 569 td_proc = td->td_proc; 591 hv_vss_dev_daemon_poll(struct cdev *dev, int events, struct thread *td) argument 603 selrecord(td, &dev_sc->hv_vss_selinfo); 610 hv_appvss_dev_open(struct cdev *dev, int oflags, int devtype, struct thread *td) argument 613 td_proc = td 548 hv_vss_dev_close(struct cdev *dev, int fflag __unused, int devtype __unused, struct thread *td) argument 563 hv_vss_dev_daemon_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) argument 628 hv_appvss_dev_close(struct cdev *dev, int fflag __unused, int devtype __unused, struct thread *td) argument 643 hv_appvss_dev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) argument 671 hv_appvss_dev_poll(struct cdev *dev, int events, struct thread *td) argument [all...] |
/freebsd-11-stable/sys/dev/hyperv/vmbus/amd64/ |
H A D | hyperv_machdep.c | 95 struct thread *td __unused)
|
/freebsd-11-stable/sys/dev/hyperv/vmbus/ |
H A D | vmbus_et.c | 113 struct thread *td; local 116 td = curthread; 117 td->td_intr_nesting_level++; 118 oldframe = td->td_intr_frame; 119 td->td_intr_frame = frame; 121 td->td_intr_frame = oldframe; 122 td->td_intr_nesting_level--;
|
/freebsd-11-stable/sys/dev/ida/ |
H A D | ida.c | 746 ida_ioctl (struct cdev *dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td) argument
|
/freebsd-11-stable/sys/dev/iicbus/ |
H A D | iic.c | 160 iicopen(struct cdev *dev, int flags, int fmt, struct thread *td) argument 358 iicioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td) argument 442 ubuf.uio_td = td; 459 ubuf.uio_td = td;
|
/freebsd-11-stable/sys/dev/io/ |
H A D | iodev.c | 45 struct thread *td); 47 struct thread *td); 49 int fflag, struct thread *td); 67 struct thread *td) 71 error = priv_check(td, PRIV_IO); 74 error = securelevel_gt(td->td_ucred, 0); 77 error = iodev_open(td); 85 struct thread *td) 88 return (iodev_close(td)); 94 int fflag __unused, struct thread *td __unuse 66 ioopen(struct cdev *dev __unused, int flags __unused, int fmt __unused, struct thread *td) argument 84 ioclose(struct cdev *dev __unused, int flags __unused, int fmt __unused, struct thread *td) argument [all...] |
/freebsd-11-stable/sys/dev/ipmi/ |
H A D | ipmi_linux.c | 90 ipmi_linux_ioctl(struct thread *td, struct linux_ioctl_args *args) argument 97 error = fget(td, args->fd, cap_rights_init(&rights, CAP_IOCTL), &fp); 113 error = (fo_ioctl(fp, cmd, (caddr_t)args->arg, td->td_ucred, td)); 114 fdrop(fp, td);
|
/freebsd-11-stable/sys/dev/iscsi/ |
H A D | iscsi.c | 150 int mode, struct thread *td); 2020 struct thread *td) 2019 iscsi_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument
|
/freebsd-11-stable/sys/dev/iscsi_initiator/ |
H A D | isc_soc.c | 176 if((error = sosend(sp->soc, NULL, NULL, mh, 0, 0, sp->td)) != 0) { 198 uio->uio_td = sp->td; 245 sdebug(5, "sp=%p sp->soc=%p uio=%p sp->td=%p", 246 sp, sp->soc, uio, sp->td); 249 error = sosend(sp->soc, NULL, uio, 0, 0, 0, sp->td); 408 uio->uio_td = sp->td; // why ... 476 uio->uio_td = sp->td; // why ... 682 fdrop(sp->fp, sp->td);
|
H A D | iscsi.c | 99 static int i_send(struct cdev *dev, caddr_t arg, struct thread *td); 100 static int i_recv(struct cdev *dev, caddr_t arg, struct thread *td); 101 static int i_setsoc(isc_session_t *sp, int fd, struct thread *td); 123 iscsi_open(struct cdev *dev, int flags, int otype, struct thread *td) argument 137 iscsi_close(struct cdev *dev, int flag, int otyp, struct thread *td) argument 169 iscsi_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, struct thread *td) argument 209 error = i_setsoc(sp, *(u_int *)arg, td); 218 error = i_send(dev, arg, td); 222 error = i_recv(dev, arg, td); 232 sp->proc = td 383 i_setsoc(isc_session_t *sp, int fd, struct thread *td) argument 404 i_send(struct cdev *dev, caddr_t arg, struct thread *td) argument 475 i_recv(struct cdev *dev, caddr_t arg, struct thread *td) argument [all...] |
H A D | iscsivar.h | 127 struct thread *td; member in struct:isc_session
|
/freebsd-11-stable/sys/dev/joy/ |
H A D | joy.c | 128 joyopen(struct cdev *dev, int flags, int fmt, struct thread *td) argument 141 joyclose(struct cdev *dev, int flags, int fmt, struct thread *td) argument 215 joyioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) argument
|
/freebsd-11-stable/sys/dev/ksyms/ |
H A D | ksyms.c | 394 ksyms_open(struct cdev *dev, int flags, int fmt __unused, struct thread *td) argument 407 if (sc->sc_proc == td->td_proc) { 414 sc->sc_proc = td->td_proc;
|
/freebsd-11-stable/sys/dev/mem/ |
H A D | memdev.c | 67 struct thread *td) 72 error = priv_check(td, PRIV_KMEM_READ); 75 error = priv_check(td, PRIV_KMEM_WRITE); 77 error = securelevel_gt(td->td_ucred, 0); 66 memopen(struct cdev *dev __unused, int flags, int fmt __unused, struct thread *td) argument
|
/freebsd-11-stable/sys/dev/mlx/ |
H A D | mlx.c | 758 mlx_open(struct cdev *dev, int flags, int fmt, struct thread *td) argument 774 mlx_close(struct cdev *dev, int flags, int fmt, struct thread *td) argument 790 mlx_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td) argument 1001 caddr_t addr, int32_t flag, struct thread *td) 1000 mlx_submit_ioctl(struct mlx_softc *sc, struct mlx_sysdrive *drive, u_long cmd, caddr_t addr, int32_t flag, struct thread *td) argument
|
H A D | mlx_disk.c | 121 mlxd_ioctl(struct disk *dp, u_long cmd, void *addr, int flag, struct thread *td) argument 131 if ((error = mlx_submit_ioctl(sc->mlxd_controller, sc->mlxd_drive, cmd, addr, flag, td)) != ENOIOCTL) {
|