Home
last modified time | relevance | path

Searched refs:td (Results 301 – 325 of 1684) sorted by relevance

1...<<11121314151617181920>>...68

/freebsd/sys/i386/include/
H A Dcpu.h50 #define cpu_getstack(td) ((td)->td_frame->tf_esp) argument
51 #define cpu_setstack(td, ap) ((td)->td_frame->tf_esp = (ap)) argument
/freebsd/sys/nfs/
H A Dbootp_subr.c257 struct thread *td);
268 struct thread *td);
271 struct thread *td);
636 auio.uio_td = td; in bootpc_call()
641 td); in bootpc_call()
655 td); in bootpc_call()
691 auio.uio_td = td; in bootpc_call()
1525 struct thread *td; in bootpc_init() local
1534 td = curthread; in bootpc_init()
1660 error = socreate(AF_INET, &bootp_so, SOCK_DGRAM, 0, td->td_ucred, td); in bootpc_init()
[all …]
/freebsd/sys/powerpc/booke/
H A Dspe.c59 pcb = td->td_pcb; in save_vec_int()
96 enable_vec(struct thread *td) in enable_vec() argument
102 pcb = td->td_pcb; in enable_vec()
103 tf = trapframe(td); in enable_vec()
110 PCPU_SET(vecthread, td); in enable_vec()
158 save_vec(struct thread *td) in save_vec() argument
162 pcb = td->td_pcb; in save_vec()
164 save_vec_int(td); in save_vec()
187 save_vec_int(td); in save_vec_nodrop()
189 pcb = td->td_pcb; in save_vec_nodrop()
[all …]
/freebsd/sys/amd64/include/
H A Dcpu.h47 #define cpu_getstack(td) ((td)->td_frame->tf_rsp) argument
48 #define cpu_setstack(td, ap) ((td)->td_frame->tf_rsp = (ap)) argument
/freebsd/sys/nlm/
H A Dnlm_advlock.c112 p = td ? td->td_proc : NULL; in nlm_msg()
249 cred = td->td_ucred; in nlm_advlock_internal()
251 crhold(td->td_ucred); in nlm_advlock_internal()
378 cred1 = td->td_ucred; in nlm_advlock_internal()
379 td->td_ucred = cred; in nlm_advlock_internal()
447 td->td_ucred = cred; in nlm_set_creds_for_lock()
461 oldcred = td->td_ucred; in nlm_reclaim_free_lock()
467 crfree(td->td_ucred); in nlm_reclaim_free_lock()
468 td->td_ucred = oldcred; in nlm_reclaim_free_lock()
508 oldcred = td->td_ucred; in nlm_client_recover_lock()
[all …]
/freebsd/contrib/lib9p/pytest/
H A Dp9conn.py775 afid = protocol.td.NOFID
952 'dir': protocol.td.DMDIR,
1026 statobj = protocol.td.stat()
1378 'dir': protocol.td.QTDIR,
1379 None: protocol.td.QTFILE,
1488 if self.supports_all(protocol.td.Tlcreate, protocol.td.Tmkdir):
1503 perm |= protocol.td.DMDIR
1563 if not self.supports_all(protocol.td.Tlopen, protocol.td.Treaddir):
1735 if self.supports_all(protocol.td.Tlopen, protocol.td.Treaddir):
1763 if qid.type == protocol.td.QTDIR:
[all …]
/freebsd/sys/kern/
H A Dkern_tslog.c46 void * td; member
54 tslog(void * td, int type, const char * f, const char * s) in tslog() argument
60 if (td == NULL) in tslog()
61 td = &thread0; in tslog()
68 timestamps[pos].td = td; in tslog()
107 sbuf_printf(sb, "%p", timestamps[i].td); in sysctl_debug_tslog()
H A Dkern_rmlock.c139 struct thread *td; in unlock_rm() local
159 td = curthread; in unlock_rm()
443 tracker->rmp_thread = td; in _rm_rlock()
457 td->td_critnest--; in _rm_rlock()
475 if (td->td_owepreempt) { in _rm_unlock_hard()
476 td->td_critnest++; in _rm_unlock_hard()
520 td->td_critnest--; in _rm_runlock()
818 struct thread *td; in print_tracker() local
820 td = tr->rmp_thread; in print_tracker()
821 db_printf(" thread %p (tid %d, pid %d, \"%s\") {", td, td->td_tid, in print_tracker()
[all …]
H A Dkern_linker.c1220 CURVNET_SET(TD_TO_VNET(td)); in kern_kldload()
1240 td->td_retval[0] = -1; in sys_kldload()
1247 td->td_retval[0] = fileid; in sys_kldload()
1329 td->td_retval[0] = -1; in sys_kldfind()
1339 td->td_retval[0] = lf->id; in sys_kldfind()
1377 td->td_retval[0] = lf->id; in sys_kldnext()
1379 td->td_retval[0] = 0; in sys_kldnext()
1445 td->td_retval[0] = 0; in kern_kldstat()
1487 td->td_retval[0] = 0; in sys_kldfirstmod()
1959 vn_close(nd.ni_vp, FREAD, td->td_ucred, td); in linker_lookup_file()
[all …]
H A Duipc_domain.c68 pr_bind_notsupp(struct socket *so, struct sockaddr *nam, struct thread *td) in pr_bind_notsupp() argument
75 struct thread *td) in pr_bindat_notsupp() argument
81 pr_connect_notsupp(struct socket *so, struct sockaddr *nam, struct thread *td) in pr_connect_notsupp() argument
88 struct thread *td) in pr_connectat_notsupp() argument
101 struct ifnet *ifp, struct thread *td) in pr_control_notsupp() argument
113 pr_listen_notsupp(struct socket *so, int backlog, struct thread *td) in pr_listen_notsupp() argument
138 struct sockaddr *addr, struct mbuf *control, struct thread *td) in pr_send_notsupp() argument
167 struct mbuf *top, struct mbuf *control, int flags, struct thread *td) in pr_sosend_notsupp() argument
181 struct thread *td) in pr_sopoll_notsupp() argument
H A Dkern_racct.c331 struct thread *td; in racct_getpcpu() local
366 thread_lock(td); in racct_getpcpu()
368 pctcpu = sched_pctcpu(td); in racct_getpcpu()
382 thread_unlock(td); in racct_getpcpu()
1102 p = td->td_proc; in ast_racct()
1123 struct thread *td; in racct_proc_throttle() local
1145 thread_lock(td); in racct_proc_throttle()
1165 cpuid = td->td_oncpu; in racct_proc_throttle()
1173 thread_unlock(td); in racct_proc_throttle()
1247 struct thread *td; in racctd() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68k.td1 //===-- M68k.td - Motorola 680x0 target definitions --------*- tablegen -*-===//
15 include "llvm/Target/Target.td"
72 include "M68kSchedule.td"
89 include "M68kRegisterInfo.td"
90 include "GISel/M68kRegisterBanks.td"
96 include "M68kInstrInfo.td"
104 include "M68kCallingConv.td"
/freebsd/tools/regression/pthread/cv_cancel1/
H A Dcv_cancel1.c55 pthread_t td; in main() local
64 pthread_create(&td, NULL, thr_routine, NULL); in main()
70 pthread_cancel(td); in main()
74 pthread_join(td, &result); in main()
/freebsd/sys/dev/usb/
H A Dusb_freebsd_loader.h59 #define USB_TD_GET_PROC(td) (td)->td_proc argument
60 #define USB_PROC_GET_GID(td) (td)->p_pgid argument
H A Dusb_freebsd.h60 #define USB_TD_GET_PROC(td) (td)->td_proc argument
61 #define USB_PROC_GET_GID(td) (td)->p_pgid argument
/freebsd/sys/riscv/riscv/
H A Ddb_trace.c59 db_stack_trace_cmd(struct thread *td, struct unwind_state *frame) in db_stack_trace_cmd() argument
87 !kstack_contains(td, (vm_offset_t)tf, in db_stack_trace_cmd()
98 db_decode_syscall(td, td->td_sa.code); in db_stack_trace_cmd()
116 if (!unwind_frame(td, frame)) in db_stack_trace_cmd()
H A Dmachdep.c238 struct thread *td; in spinlock_enter() local
241 td = curthread; in spinlock_enter()
242 if (td->td_md.md_spinlock_count == 0) { in spinlock_enter()
244 td->td_md.md_spinlock_count = 1; in spinlock_enter()
245 td->td_md.md_saved_sstatus_ie = reg; in spinlock_enter()
248 td->td_md.md_spinlock_count++; in spinlock_enter()
254 struct thread *td; in spinlock_exit() local
257 td = curthread; in spinlock_exit()
258 sstatus_ie = td->td_md.md_saved_sstatus_ie; in spinlock_exit()
259 td->td_md.md_spinlock_count--; in spinlock_exit()
[all …]
/freebsd/sys/netsmb/
H A Dsmb_dev.c126 nsmb_dev_open(struct cdev *dev, int oflags, int devtype, struct thread *td) in nsmb_dev_open() argument
172 nsmb_dev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) in nsmb_dev_ioctl() argument
185 smb_makescred(scred, td, NULL); in nsmb_dev_ioctl()
320 auio.uio_td = td; in nsmb_dev_ioctl()
381 struct thread *td; in smb_dev2share() local
384 td = curthread; in smb_dev2share()
385 error = fget(td, fd, &cap_read_rights, &fp); in smb_dev2share()
388 fptmp = td->td_fpop; in smb_dev2share()
389 td->td_fpop = fp; in smb_dev2share()
391 td->td_fpop = fptmp; in smb_dev2share()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dcheck-gen.c737 for (i = 0; i < sizeof(td)/sizeof(td[0]); i++) { in check_tag_length()
740 buf = map_alloc(OVERRUN, td[i].data, td[i].len, &page); in check_tag_length()
744 if (td[i].ok) { in check_tag_length()
749 if (td[i].ok == 0) { in check_tag_length()
793 for (i = 0; i < sizeof(td)/sizeof(td[0]); i++) { in check_tag_length64()
796 buf = map_alloc(OVERRUN, td[i].data, td[i].len, &page); in check_tag_length64()
800 if (td[i].ok) { in check_tag_length64()
806 if (td[i].ok == 0) { in check_tag_length64()
852 for (i = 0; i < sizeof(td)/sizeof(td[0]); i++) { in check_tag_length64s()
855 buf = map_alloc(OVERRUN, td[i].data, td[i].len, &page); in check_tag_length64s()
[all …]
/freebsd/sys/riscv/include/
H A Dcpu.h45 #define cpu_getstack(td) ((td)->td_frame->tf_sp) argument
46 #define cpu_setstack(td, sp) ((td)->td_frame->tf_sp = (sp)) argument
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVE.td1 //===-- VE.td - Describe the VE Target Machine -------------*- tablegen -*-===//
16 include "llvm/Target/Target.td"
29 include "VERegisterInfo.td"
30 include "VECallingConv.td"
31 include "VEInstrInfo.td"
/freebsd/libexec/kgdb/
H A Dacttrace.py44 td = pcpu['pc_curthread']
45 tid = td['td_tid']
53 p = td['td_proc']
55 p['p_comm'], p['p_pid'], td['td_tid'], pcpu['pc_cpuid']))
/freebsd/lib/libc/tests/nss/
H A Dgetusershell_test.c136 struct usershell_test_data td, td_snap; in run_tests() local
142 TEST_DATA_INIT(usershell, &td, clone_usershell, free_usershell); in run_tests()
149 TEST_DATA_APPEND(usershell, &td, &ushell); in run_tests()
176 rv = DO_2PASS_TEST(usershell, &td, &td_snap, in run_tests()
182 &td, sdump_usershell); in run_tests()
192 TEST_DATA_DESTROY(usershell, &td); in run_tests()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c116 iiburst_new(tdata_t *td, int max) in iiburst_new() argument
119 iiburst->iib_td = td; in iiburst_new()
195 find_iidesc(tdata_t *td, iidesc_match_t *match) in find_iidesc() argument
198 iter_iidescs_by_name(td, match->iim_name, in find_iidesc()
324 hash_add(td->td_iihash, new); in copy_from_strong()
360 iiburst = iiburst_new(td, nent); in sort_iidescs()
397 iidesc = find_iidesc(td, &match); in sort_iidescs()
419 iidesc = find_iidesc(td, &smatch); in sort_iidescs()
422 tolist[*curr] = copy_from_strong(td, &sym, in sort_iidescs()
449 tdata_label_newmax(td, iiburst->iib_maxtypeid); in sort_iidescs()
[all …]
/freebsd/sys/fs/fuse/
H A Dfuse_node.c201 struct thread *td, in fuse_vnode_alloc() argument
216 err = vfs_hash_get(mp, fuse_vnode_hash(nodeid), LK_EXCLUSIVE, td, vpp, in fuse_vnode_alloc()
273 td, &vp2, fuse_vnode_cmp, &nodeid); in fuse_vnode_alloc()
299 struct thread *td = curthread; in fuse_vnode_get() local
313 err = fuse_vnode_alloc(mp, td, nodeid, vtyp, vpp); in fuse_vnode_get()
357 vnode_create_vobject(vp, 0, td); in fuse_vnode_open()
364 struct thread *td = curthread; in fuse_vnode_savesize() local
382 cred = td->td_ucred; in fuse_vnode_savesize()
385 fdisp_make_vp(&fdi, FUSE_SETATTR, vp, td, cred); in fuse_vnode_savesize()
478 struct thread *td) in fuse_vnode_size() argument
[all …]

1...<<11121314151617181920>>...68