Searched refs:td (Results 226 - 250 of 1053) sorted by path

1234567891011>>

/freebsd-11-stable/sys/dev/hme/
H A Dif_hme.c615 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 Dhpt27xx_osm_bsd.c1391 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 Dhptnr_osm_bsd.c1573 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 Dhptrr_osm_bsd.c1220 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 Dhwpmc_arm.c80 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 Dhwpmc_arm64_md.c66 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 Dhwpmc_logging.c250 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 Dhwpmc_x86.c163 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 Dhv_kvp.c697 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 Dhv_snapshot.c528 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 Dhyperv_machdep.c95 struct thread *td __unused)
/freebsd-11-stable/sys/dev/hyperv/vmbus/
H A Dvmbus_et.c113 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 Dida.c746 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 Diic.c160 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 Diodev.c45 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 Dipmi_linux.c90 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 Discsi.c150 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 Disc_soc.c176 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 Discsi.c99 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 Discsivar.h127 struct thread *td; member in struct:isc_session
/freebsd-11-stable/sys/dev/joy/
H A Djoy.c128 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 Dksyms.c394 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 Dmemdev.c67 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 Dmlx.c758 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 Dmlx_disk.c121 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) {

Completed in 347 milliseconds

1234567891011>>