Searched refs:td (Results 426 - 450 of 1053) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/nfsclient/
H A Dnfs.h163 int (*nr_writebp)(struct buf *bp, int force, struct thread *td);
168 struct ucred *cred, struct thread *td);
251 struct ucred *cred, struct thread *td);
286 void nfs_set_sigmask(struct thread *td, sigset_t *oldset);
287 void nfs_restore_sigmask(struct thread *td, sigset_t *set);
288 int nfs_msleep(struct thread *td, void *ident, struct mtx *mtx,
/freebsd-11-stable/sys/powerpc/powermac/
H A Dgrackle.c243 struct thread *td; local
250 td = curthread;
252 oldfaultbuf = td->td_pcb->pcb_onfault;
253 td->td_pcb->pcb_onfault = &env;
255 td->td_pcb->pcb_onfault = oldfaultbuf;
279 td->td_pcb->pcb_onfault = oldfaultbuf;
/freebsd-11-stable/sys/kern/
H A Dkern_syscalls.c51 lkmnosys(struct thread *td, struct nosys_args *args) argument
54 return (nosys(td, args));
58 lkmressys(struct thread *td, struct nosys_args *args) argument
61 return (nosys(td, args));
81 syscall_thread_enter(struct thread *td, struct sysent *se) argument
97 syscall_thread_exit(struct thread *td, struct sysent *se) argument
H A Dsubr_log.c106 logopen(struct cdev *dev, int flags, int mode, struct thread *td) argument
124 fsetown(td->td_proc->p_pid, &logsoftc.sc_sigio); /* signal process only */
130 logclose(struct cdev *dev, int flag, int mode, struct thread *td) argument
181 logpoll(struct cdev *dev, int events, struct thread *td) argument
190 selrecord(td, &logsoftc.sc_selp);
255 logioctl(struct cdev *dev, u_long com, caddr_t data, int flag, struct thread *td) argument
H A Dkern_sendfile.c421 sendfile_getobj(struct thread *td, struct file *fp, vm_object_t *obj_res, argument
448 error = VOP_GETATTR(vp, &va, td->td_ucred);
492 sendfile_getsock(struct thread *td, int s, struct file **sock_fp, argument
504 error = getsock_cap(td, s, cap_rights_init(&rights, CAP_SEND),
519 struct thread *td)
540 error = sendfile_getobj(td, fp, &obj, &vp, &shmfd, &obj_size, &bsize);
544 error = sendfile_getsock(td, sockfd, &sock_fp, &so);
549 error = mac_socket_check_send(td->td_ucred, so);
657 hdr_uio->uio_td = td;
678 error = VOP_GETATTR(vp, &va, td
517 vn_sendfile(struct file *fp, int sockfd, struct uio *hdr_uio, struct uio *trl_uio, off_t offset, size_t nbytes, off_t *sent, int flags, struct thread *td) argument
917 sendfile(struct thread *td, struct sendfile_args *uap, int compat) argument
1003 sys_sendfile(struct thread *td, struct sendfile_args *uap) argument
1011 freebsd4_sendfile(struct thread *td, struct freebsd4_sendfile_args *uap) argument
[all...]
H A Dimgact_elf.c786 struct thread *td; local
836 td = curthread;
867 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred,
868 NOCRED, NULL, td);
1042 addr = round_page((vm_offset_t)vmspace->vm_daddr + lim_max(td,
1203 struct thread *td; member in struct:coredump_params
1286 p->active_cred, p->file_cred, NULL, p->td));
1340 locked = PROC_LOCKED(p->td->td_proc);
1342 PROC_UNLOCK(p->td->td_proc);
1351 PROC_LOCK(p->td
1372 coredump(struct thread *td, struct vnode *vp, off_t limit, int flags) argument
1632 prepare_notes(struct thread *td, struct note_info_list *list, size_t *sizep) argument
1692 puthdr(struct thread *td, void *hdr, size_t hdrsize, int numsegs, size_t notesz) argument
1960 struct thread *td; local
1988 struct thread *td; local
2009 struct thread *td; local
2025 struct thread *td; local
2068 struct thread *td; local
[all...]
H A Dkern_ffclock.c386 sys_ffclock_getcounter(struct thread *td, struct ffclock_getcounter_args *uap) argument
415 sys_ffclock_setestimate(struct thread *td, struct ffclock_setestimate_args *uap) argument
421 if ((error = priv_check(td, PRIV_CLOCK_SETTIME)) != 0)
447 sys_ffclock_getestimate(struct thread *td, struct ffclock_getestimate_args *uap) argument
462 sys_ffclock_getcounter(struct thread *td, struct ffclock_getcounter_args *uap) argument
469 sys_ffclock_setestimate(struct thread *td, struct ffclock_setestimate_args *uap) argument
476 sys_ffclock_getestimate(struct thread *td, struct ffclock_getestimate_args *uap) argument
H A Dkern_lock.c74 #define TD_SLOCKS_INC(td) ((td)->td_lk_slocks++)
75 #define TD_SLOCKS_DEC(td) ((td)->td_lk_slocks--)
768 sched_tdname(td), "spinning",
786 sched_tdname(td), "running");
793 sched_tdname(td), "spinning",
813 sched_tdname(td), "running");
1010 sched_tdname(td), "spinning",
1028 sched_tdname(td), "runnin
1537 struct thread *td; local
1673 lockmgr_chain(struct thread *td, struct thread **ownerp) argument
1695 struct thread *td; local
[all...]
H A Dvfs_mount.c73 static int vfs_domount(struct thread *td, const char *fstype, char *fspath,
379 sys_nmount(struct thread *td, struct nmount_args *uap) argument
423 error = vfs_donmount(td, flags, auio);
567 vfs_donmount(struct thread *td, uint64_t fsflags, struct uio *fsoptions) argument
714 error = vfs_domount(td, fstype, fspath, fsflags, &optlist);
726 error = vfs_domount(td, fstype, fspath, fsflags, &optlist);
761 sys_mount(struct thread *td, struct mount_args *uap) argument
795 vfsp = vfs_byname_kld(fstype, td, &error);
817 struct thread *td, /* Calling thread. */
833 if (vp == td
816 vfs_domount_first( struct thread *td, struct vfsconf *vfsp, char *fspath, struct vnode *vp, uint64_t fsflags, struct vfsoptlist **optlist ) argument
940 vfs_domount_update( struct thread *td, struct vnode *vp, uint64_t fsflags, struct vfsoptlist **optlist ) argument
1093 vfs_domount( struct thread *td, const char *fstype, char *fspath, uint64_t fsflags, struct vfsoptlist **optlist ) argument
1195 sys_unmount(struct thread *td, struct unmount_args *uap) argument
1323 dounmount(struct mount *mp, int flags, struct thread *td) argument
[all...]
H A Dkern_racct.c336 struct thread *td; local
357 FOREACH_THREAD_IN_PROC(p, td) {
358 if (td == PCPU_GET(idlethread))
363 if (td == pc->pc_idlethread) {
371 thread_lock(td);
373 pctcpu = sched_pctcpu(td);
376 pctcpu_next += sched_pctcpu_delta(td);
385 p_pctcpu += sched_pctcpu(td);
387 thread_unlock(td);
1099 struct thread *td; local
1221 struct thread *td; local
[all...]
H A Dkern_ktr.c288 req->td->td_ucred, ALQ_DEFAULT_CMODE,
321 struct thread *td; local
333 td = curthread;
334 if (td->td_pflags & TDP_INKTR)
336 td->td_pflags |= TDP_INKTR;
340 if (td->td_critnest == 0 &&
341 (TD_IS_IDLETHREAD(td)) == 0 &&
342 td != ald_thread) {
397 td->td_pflags &= ~TDP_INKTR;
H A Dvfs_hash.c73 vfs_hash_get(const struct mount *mp, u_int hash, int flags, struct thread *td, argument
90 error = vget(vp, flags | LK_VNHELD, td);
107 vfs_hash_ref(const struct mount *mp, u_int hash, struct thread *td, argument
146 vfs_hash_insert(struct vnode *vp, u_int hash, int flags, struct thread *td, argument
165 error = vget(vp2, flags | LK_VNHELD, td);
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_file.c95 struct thread *td,
129 fdisp_make_vp(&fdi, op, vp, td, cred);
152 fuse_vnode_open(vp, foo->open_flags | FOPEN_DIRECT_IO, td);
154 fuse_vnode_open(vp, foo->open_flags, td);
164 struct thread *td,
193 fdisp_make_vp(&fdi, op, vp, td, cred);
92 fuse_filehandle_open(struct vnode *vp, fufh_type_t fufh_type, struct fuse_filehandle **fufhp, struct thread *td, struct ucred *cred) argument
162 fuse_filehandle_close(struct vnode *vp, fufh_type_t fufh_type, struct thread *td, struct ucred *cred) argument
H A Dfuse_device.c123 fuse_device_open(struct cdev *dev, int oflags, int devtype, struct thread *td) argument
130 fdata = fdata_alloc(dev, td->td_ucred);
136 td->td_tid);
141 fuse_device_close(struct cdev *dev, int fflag, int devtype, struct thread *td) argument
171 FS_DEBUG("%s: device closed by thread %d.\n", dev->si_name, td->td_tid);
176 fuse_device_poll(struct cdev *dev, int events, struct thread *td) argument
191 selrecord(td, &data->ks_rsel);
/freebsd-11-stable/sys/sys/
H A Dvnode.h630 int change_dir(struct vnode *vp, struct thread *td);
646 int vn_fullpath(struct thread *td, struct vnode *vn,
648 int vn_fullpath_global(struct thread *td, struct vnode *vn,
653 int vn_path_to_global_path(struct thread *td, struct vnode *vp,
669 int vflush(struct mount *mp, int rootrefs, int flags, struct thread *td);
670 int vget(struct vnode *vp, int lockflag, struct thread *td);
684 int flags, struct ucred *file_cred, struct thread *td);
694 struct thread *td, struct file *fp);
700 struct thread *td);
704 struct thread *td);
[all...]
/freebsd-11-stable/sys/nlm/
H A Dnlm_advlock.c109 nlm_msg(struct thread *td, const char *server, const char *msg, int error) argument
113 p = td ? td->td_proc : NULL;
129 nlm_down(struct nlm_feedback_arg *nf, struct thread *td, argument
147 nlm_msg(td, nmp->nm_mountp->mnt_stat.f_mntfromname, msg, error);
151 nlm_up(struct nlm_feedback_arg *nf, struct thread *td, argument
159 nlm_msg(td, nmp->nm_mountp->mnt_stat.f_mntfromname, msg, 0);
175 struct thread *td = curthread; local
181 nlm_down(nf, td, "lockd not responding", 0);
185 nlm_up(nf, td, "lock
198 struct thread *td = curthread; local
402 nlm_set_creds_for_lock(struct thread *td, struct flock *fl) argument
454 struct thread *td = curthread; local
491 struct thread *td = curthread; local
[all...]
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_cond.c412 struct pthread *td; local
441 td = _sleepq_first(sq);
442 mp = td->mutex_obj;
443 cvp->__has_user_waiters = _sleepq_remove(sq, td);
451 &td->wake_addr->value;
454 waddr = &td->wake_addr->value;
469 drop_cb(struct pthread *td, void *arg) argument
475 mp = td->mutex_obj;
483 &td->wake_addr->value;
490 ba->waddrs[ba->count++] = &td
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dinput.c94 tdata_t *td; local
115 td = ctf_load(file, ctfdata->d_buf, ctfdata->d_size, si, label);
116 tdata_build_hashes(td);
120 if (td != NULL) {
121 if (func(td, file, arg) < 0)
224 read_ctf_save_cb(tdata_t *td, char *name __unused, void *retp) argument
228 *tdp = td;
/freebsd-11-stable/sys/nfs/
H A Dkrpc_subr.c136 struct thread *td)
169 PMAPPROC_GETPORT, &m, NULL, td);
192 struct mbuf **data, struct sockaddr **from_p, struct thread *td)
222 if ((error = socreate(AF_INET, &so, SOCK_DGRAM, 0, td->td_ucred, td)))
263 error = sobind(so, (struct sockaddr *)sin, td);
314 NULL, 0, td);
135 krpc_portmap(struct sockaddr_in *sin, u_int prog, u_int vers, u_int16_t *portp, struct thread *td) argument
191 krpc_call(struct sockaddr_in *sa, u_int prog, u_int vers, u_int func, struct mbuf **data, struct sockaddr **from_p, struct thread *td) argument
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dtick.c241 struct thread *td; local
243 td = curthread;
244 td->td_intr_nesting_level++;
247 oldframe = td->td_intr_frame;
248 td->td_intr_frame = tf;
250 td->td_intr_frame = oldframe;
252 td->td_intr_nesting_level--;
/freebsd-11-stable/sys/netipsec/
H A Dkeysock.c278 key_attach(struct socket *so, int proto, struct thread *td) argument
285 if (td != NULL) {
286 error = priv_check(td, PRIV_NET_RAW);
321 key_bind(struct socket *so, struct sockaddr *nam, struct thread *td) argument
342 key_connect(struct socket *so, struct sockaddr *nam, struct thread *td) argument
392 struct mbuf *control, struct thread *td)
394 return(raw_usrreqs.pru_send(so, flags, m, nam, control, td));
391 key_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam, struct mbuf *control, struct thread *td) argument
/freebsd-11-stable/sys/powerpc/powerpc/
H A Delf64_machdep.c52 static void exec_setregs_funcdesc(struct thread *td, struct image_params *imgp,
203 exec_setregs_funcdesc(struct thread *td, struct image_params *imgp, argument
209 tf = trapframe(td);
210 exec_setregs(td, imgp, stack);
229 elf64_dump_thread(struct thread *td, void *dst, size_t *off) argument
235 pcb = td->td_pcb;
237 save_vec_nodrop(td);
/freebsd-11-stable/sys/cam/
H A Dcam_compat.c56 int flag, struct thread *td, d_ioctl_t *cbfnp);
58 int flag, struct thread *td, d_ioctl_t *cbfnp);
63 struct thread *td, d_ioctl_t *cbfnp)
86 error = cam_compat_handle_0x17(dev, cmd, addr, flag, td, cbfnp);
91 error = cam_compat_handle_0x17(dev, cmd, addr, flag, td, cbfnp);
95 error = cam_compat_handle_0x17(dev, cmd, addr, flag, td, cbfnp);
99 error = cam_compat_handle_0x17(dev, cmd, addr, flag, td, cbfnp);
103 error = cam_compat_handle_0x18(dev, cmd, addr, flag, td, cbfnp);
107 error = cam_compat_handle_0x18(dev, cmd, addr, flag, td, cbfnp);
118 struct thread *td, d_ioctl_
62 cam_compat_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td, d_ioctl_t *cbfnp) argument
117 cam_compat_handle_0x17(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td, d_ioctl_t *cbfnp) argument
255 cam_compat_handle_0x18(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td, d_ioctl_t *cbfnp) argument
[all...]
/freebsd-11-stable/sys/i386/ibcs2/
H A Dimgact_coff.c59 static int coff_load_file(struct thread *td, char *name);
155 coff_load_file(struct thread *td, char *name) argument
157 struct proc *p = td->td_proc;
174 UIO_SYSSPACE, name, td);
192 if ((error = VOP_GETATTR(vp, &attr, td->td_ucred)) != 0)
205 if ((error = VOP_ACCESS(vp, VEXEC, td->td_ucred, td)) != 0)
208 if ((error = VOP_OPEN(vp, FREAD, td->td_ucred, td, NULL)) != 0)
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_node.c106 struct thread *td = curthread; /* XXX */ local
125 error = vget(vp, LK_EXCLUSIVE, td);
138 error = vfs_hash_get(mp, smbfs_hash(name, nmlen), LK_EXCLUSIVE, td,
145 (void)VOP_GETATTR(*vpp, &vattr, td->td_ucred);
219 td, &vp2, smbfs_vnode_cmp, &sc);
308 struct thread *td = ap->a_td; local
309 struct ucred *cred = td->td_ucred;
318 smb_makescred(scred, td, cred);
319 smbfs_vinvalbuf(vp, td);

Completed in 161 milliseconds

<<11121314151617181920>>