| /src/sys/arch/m68k/m68k/ |
| m68k_machdep.c | 93 struct trapframe *tf = (struct trapframe *)l->l_md.md_regs; local 96 memset(tf, 0, sizeof(*tf)); 98 tf->tf_sr = PSL_USERSET; 99 tf->tf_pc = pack->ep_entry & ~1; 100 tf->tf_regs[D0] = 0; 101 tf->tf_regs[D1] = 0; 102 tf->tf_regs[D2] = 0; 103 tf->tf_regs[D3] = 0; 104 tf->tf_regs[D4] = 0 [all...] |
| /src/sys/arch/sh3/include/ |
| userret.h | 68 struct trapframe *tf = l->l_md.md_regs; local 76 tf->tf_ubc = UBC_CYCLE_INSN | UBC_CYCLE_READ 82 tf->tf_ubc = UBC_CYCLE_INSN | UBC_CYCLE_READ;
|
| /src/sys/arch/arm/arm/ |
| compat_13_machdep.c | 62 struct trapframe * const tf = lwp_trapframe(l); local 83 tf->tf_r0 = context.sc_r0; 84 tf->tf_r1 = context.sc_r1; 85 tf->tf_r2 = context.sc_r2; 86 tf->tf_r3 = context.sc_r3; 87 tf->tf_r4 = context.sc_r4; 88 tf->tf_r5 = context.sc_r5; 89 tf->tf_r6 = context.sc_r6; 90 tf->tf_r7 = context.sc_r7; 91 tf->tf_r8 = context.sc_r8 [all...] |
| process_machdep.c | 154 struct trapframe * const tf = lwp_trapframe(l); local 156 KASSERT(tf != NULL); 157 memcpy((void *)regs->r, (void *)&tf->tf_r0, sizeof(regs->r)); 158 regs->r_sp = tf->tf_usr_sp; 159 regs->r_lr = tf->tf_usr_lr; 160 regs->r_pc = tf->tf_pc; 161 regs->r_cpsr = tf->tf_spsr; 163 KASSERT(VALID_PSR(tf->tf_spsr)); 166 if (tf->tf_spsr & PSR_T_bit) 192 struct trapframe * const tf = lwp_trapframe(l) local 228 struct trapframe * const tf = lwp_trapframe(l); local [all...] |
| /src/sys/arch/hppa/hppa/ |
| process_machdep.c | 51 struct trapframe *tf = l->l_md.md_regs; local 53 regs->r_regs[ 0] = tf->tf_ipsw; 54 regs->r_regs[ 1] = tf->tf_r1; 55 regs->r_regs[ 2] = tf->tf_rp; 56 regs->r_regs[ 3] = tf->tf_r3; 57 regs->r_regs[ 4] = tf->tf_r4; 58 regs->r_regs[ 5] = tf->tf_r5; 59 regs->r_regs[ 6] = tf->tf_r6; 60 regs->r_regs[ 7] = tf->tf_r7; 61 regs->r_regs[ 8] = tf->tf_r8 123 struct trapframe *tf = l->l_md.md_regs; local [all...] |
| /src/sys/arch/i386/i386/ |
| compat_13_machdep.c | 54 struct trapframe *tf; local 67 tf = l->l_md.md_regs; 75 if (((context.sc_eflags ^ tf->tf_eflags) & PSL_USERSTATIC) != 0 || 79 tf->tf_gs = context.sc_gs; 80 tf->tf_fs = context.sc_fs; 81 tf->tf_es = context.sc_es; 82 tf->tf_ds = context.sc_ds; 83 tf->tf_eflags &= ~PSL_USER; 84 tf->tf_eflags |= context.sc_eflags & PSL_USER; 86 tf->tf_edi = context.sc_edi [all...] |
| /src/sys/arch/mips/mips/ |
| core_machdep.c | 73 struct trapframe tf; member in struct:cpustate 87 cpustate.tf = *l->l_md.md_utf;
|
| process_machdep.c | 127 struct trapframe * const tf = l->l_md.md_utf; local 130 sr = tf->tf_regs[_R_SR]; 131 tf->tf_registers = *regs; 132 tf->tf_regs[_R_SR] = sr;
|
| /src/sys/arch/powerpc/powerpc/ |
| compat_13_machdep.c | 80 struct trapframe * const tf = l->l_md.md_utf; local 97 memcpy(tf->tf_fixreg, sc.sc_frame.fixreg, sizeof(tf->tf_fixreg)); 98 tf->tf_lr = sc.sc_frame.lr; 99 tf->tf_cr = sc.sc_frame.cr; 100 tf->tf_xer = sc.sc_frame.xer; 101 tf->tf_ctr = sc.sc_frame.ctr; 102 tf->tf_srr0 = sc.sc_frame.srr0; 103 tf->tf_srr1 = sc.sc_frame.srr1; 105 tf->tf_vrsave = sc.sc_frame.vrsave [all...] |
| /src/sys/arch/riscv/riscv/ |
| core_machdep.c | 66 struct CORENAME(trapframe) tf; 82 const struct trapframe * const tf = l->l_md.md_utf; local 84 cpustate.tf.tf_reg[i] = tf->tf_reg[i]; 86 cpustate.tf.tf_pc = tf->tf_pc; 87 cpustate.tf.tf_tval = tf->tf_tval; 88 cpustate.tf.tf_cause = tf->tf_cause [all...] |
| fpu.c | 75 // struct trapframe * const tf = l->l_md.md_utf; 132 struct trapframe * const tf = l->l_md.md_utf; local 145 tf->tf_sr &= ~SR_FS; 146 tf->tf_sr |= __SHIFTIN(SR_FS_CLEAN, SR_FS);
|
| /src/sys/arch/sparc/sparc/ |
| compat_13_machdep.c | 72 struct trapframe *tf; local 86 tf = l->l_md.md_tf; 95 tf->tf_psr = (tf->tf_psr & ~PSR_ICC) | (scp->sc_psr & PSR_ICC); 96 tf->tf_pc = scp->sc_pc; 97 tf->tf_npc = scp->sc_npc; 98 tf->tf_global[1] = scp->sc_g1; 99 tf->tf_out[0] = scp->sc_o0; 100 tf->tf_out[6] = scp->sc_sp;
|
| /src/sys/arch/sparc64/sparc64/ |
| compat_13_machdep.c | 70 struct trapframe64 *tf; local 112 tf = l->l_md.md_tf; 132 tf->tf_tstate = (int64_t)(tf->tf_tstate & ~TSTATE_CCR) | (scp->sc_tstate & TSTATE_CCR); 134 tf->tf_tstate = (int64_t)(tf->tf_tstate & ~TSTATE_CCR) | PSRCC_TO_TSTATE(scp->sc_psr); 136 tf->tf_pc = scp->sc_pc; 137 tf->tf_npc = scp->sc_npc; 138 tf->tf_global[1] = scp->sc_g1; 139 tf->tf_out[0] = scp->sc_o0 [all...] |
| netbsd32_machdep_13.c | 98 struct trapframe64 *tf; local 131 tf = l->l_md.md_tf; 149 tf->tf_tstate = (int64_t)(tf->tf_tstate & ~TSTATE_CCR) | PSRCC_TO_TSTATE(sc.sc_psr); 150 tf->tf_pc = (int64_t)sc.sc_pc; 151 tf->tf_npc = (int64_t)sc.sc_npc; 152 tf->tf_global[1] = (int64_t)sc.sc_g1; 153 tf->tf_out[0] = (int64_t)sc.sc_o0; 154 tf->tf_out[6] = (int64_t)sc.sc_sp; 158 (int)tf->tf_pc, (int)tf->tf_out[6], (int)tf->tf_tstate) [all...] |
| process_machdep.c | 115 struct trapframe64* tf = l->l_md.md_tf; local 122 regs->r_tstate = tf->tf_tstate; 123 regs->r_pc = tf->tf_pc; 124 regs->r_npc = tf->tf_npc; 125 regs->r_y = tf->tf_y; 127 regs->r_global[i] = tf->tf_global[i]; 128 regs->r_out[i] = tf->tf_out[i]; 134 regp->r_psr = TSTATECCR_TO_PSR(tf->tf_tstate); 135 regp->r_pc = tf->tf_pc; 136 regp->r_npc = tf->tf_npc 149 struct trapframe64* tf = l->l_md.md_tf; local [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/d/ |
| d-frontend.cc | 64 TypeFunction *tf = fd->type->toTypeFunction (); local 68 tree result = d_build_call (tf, decl, NULL, arguments);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
| thread_check.c | 30 tf (void *arg) function 36 sprintf(number, "tf(%ld): begin", (long)arg); 42 sprintf(number, "tf(%ld): end", (long)arg); 54 if (pthread_create (&th[n], NULL, tf, (void *) (long int) n) != 0)
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
| thread_check.c | 30 tf (void *arg) function 36 sprintf(number, "tf(%ld): begin", (long)arg); 42 sprintf(number, "tf(%ld): end", (long)arg); 54 if (pthread_create (&th[n], NULL, tf, (void *) (long int) n) != 0)
|
| /src/sys/arch/aarch64/aarch64/ |
| exec_machdep.c | 145 struct trapframe * const tf = lwp_trapframe(l); local 155 memset(tf, 0, sizeof(*tf)); 156 tf->tf_reg[2] = p->p_psstrp; 157 tf->tf_pc = pack->ep_entry; 158 tf->tf_sp = stack & -16L; 159 tf->tf_spsr = SPSR_M_EL0T;
|
| /src/sys/arch/amd64/amd64/ |
| netbsd32_machdep_13.c | 91 struct trapframe *tf; local 105 tf = l->l_md.md_regs; 114 tf->tf_gs = context.sc_gs & 0xFFFF; 115 tf->tf_fs = context.sc_fs & 0xFFFF; 116 tf->tf_es = context.sc_es & 0xFFFF; 117 tf->tf_ds = context.sc_ds & 0xFFFF; 118 tf->tf_rflags = context.sc_eflags; 119 tf->tf_rdi = context.sc_edi; 120 tf->tf_rsi = context.sc_esi; 121 tf->tf_rbp = context.sc_ebp [all...] |
| /src/sys/arch/amiga/stand/dumpfont/ |
| dumpfont.c | 35 struct TextFont *tf; local 48 tf = OpenFont (& ta); 49 if (! tf) 55 SetFont (&rp, tf); 97 CloseFont (tf);
|
| /src/sys/arch/vax/vax/ |
| compat_13_machdep.c | 126 struct trapframe * const tf = l->l_md.md_utf; local 152 tf->tf_fp = ksc.sc_fp; 153 tf->tf_ap = ksc.sc_ap; 154 tf->tf_pc = ksc.sc_pc; 155 tf->tf_sp = ksc.sc_sp; 156 tf->tf_psl = ksc.sc_ps; 162 int vers, struct lwp *l, struct trapframe *tf, vaddr_t sp, int onstack, 170 sigctx.sc_pc = tf->tf_pc; 171 sigctx.sc_ps = tf->tf_psl; 172 sigctx.sc_ap = tf->tf_ap [all...] |
| compat_16_machdep.c | 123 struct trapframe * const tf = l->l_md.md_utf; local 147 tf->tf_fp = ksc.sc_fp; 148 tf->tf_ap = ksc.sc_ap; 149 tf->tf_pc = ksc.sc_pc; 150 tf->tf_sp = ksc.sc_sp; 151 tf->tf_psl = ksc.sc_ps; 172 int vers, struct lwp *l, struct trapframe *tf, vaddr_t sp, int onstack, 181 sigctx.sc_pc = tf->tf_pc; 182 sigctx.sc_ps = tf->tf_psl; 183 sigctx.sc_ap = tf->tf_ap [all...] |
| /src/external/bsd/openpam/dist/t/ |
| t_openpam_readword.c | 61 orw_expect(struct t_file *tf, const char *expected, int lines, int eof, int eol) 68 got = openpam_readword(tf->file, &lineno, &len); 70 if (t_ferror(tf)) 71 err(1, "%s(): %s", __func__, tf->name); 88 if (eof && !t_feof(tf)) { 92 if (!eof && t_feof(tf)) { 96 ch = fgetc(tf->file); 97 if (t_ferror(tf)) 98 err(1, "%s(): %s", __func__, tf->name); 107 ungetc(ch, tf->file) 118 struct t_file *tf; variable in typeref:struct:t_file 123 t_fclose(tf); variable 129 struct t_file *tf; variable in typeref:struct:t_file 134 t_frewind(tf); variable 136 t_fclose(tf); variable 142 struct t_file *tf; variable in typeref:struct:t_file 147 t_frewind(tf); variable 149 t_fclose(tf); variable 155 struct t_file *tf; variable in typeref:struct:t_file 160 t_frewind(tf); variable 162 t_fclose(tf); variable 168 struct t_file *tf; variable in typeref:struct:t_file 173 t_frewind(tf); variable 175 t_fclose(tf); variable 181 struct t_file *tf; variable in typeref:struct:t_file 186 t_frewind(tf); variable 188 t_fclose(tf); variable 194 struct t_file *tf; variable in typeref:struct:t_file 199 t_frewind(tf); variable 201 t_fclose(tf); variable 207 struct t_file *tf; variable in typeref:struct:t_file 212 t_frewind(tf); variable 214 t_fclose(tf); variable 220 struct t_file *tf; variable in typeref:struct:t_file 225 t_frewind(tf); variable 227 t_fclose(tf); variable 233 struct t_file *tf; variable in typeref:struct:t_file 238 t_frewind(tf); variable 240 t_fclose(tf); variable 246 struct t_file *tf; variable in typeref:struct:t_file 251 t_frewind(tf); variable 253 t_fclose(tf); variable 265 struct t_file *tf; variable in typeref:struct:t_file 270 t_frewind(tf); variable 272 t_fclose(tf); variable 279 struct t_file *tf; variable in typeref:struct:t_file 284 t_frewind(tf); variable 286 t_fclose(tf); variable 293 struct t_file *tf; variable in typeref:struct:t_file 298 t_frewind(tf); variable 300 t_fclose(tf); variable 307 struct t_file *tf; variable in typeref:struct:t_file 312 t_frewind(tf); variable 314 t_fclose(tf); variable 321 struct t_file *tf; variable in typeref:struct:t_file 326 t_frewind(tf); variable 328 t_fclose(tf); variable 335 struct t_file *tf; variable in typeref:struct:t_file 340 t_frewind(tf); variable 343 t_fclose(tf); variable 350 struct t_file *tf; variable in typeref:struct:t_file 355 t_frewind(tf); variable 357 t_fclose(tf); variable 364 struct t_file *tf; variable in typeref:struct:t_file 369 t_frewind(tf); variable 372 t_fclose(tf); variable 383 struct t_file *tf; variable in typeref:struct:t_file 388 t_frewind(tf); variable 390 t_fclose(tf); variable 396 struct t_file *tf; variable in typeref:struct:t_file 401 t_frewind(tf); variable 403 t_fclose(tf); variable 409 struct t_file *tf; variable in typeref:struct:t_file 414 t_frewind(tf); variable 420 t_fclose(tf); variable 426 struct t_file *tf; variable in typeref:struct:t_file 431 t_frewind(tf); variable 433 t_fclose(tf); variable 439 struct t_file *tf; variable in typeref:struct:t_file 444 t_frewind(tf); variable 446 t_fclose(tf); variable 452 struct t_file *tf; variable in typeref:struct:t_file 457 t_frewind(tf); variable 459 t_fclose(tf); variable 465 struct t_file *tf; variable in typeref:struct:t_file 470 t_frewind(tf); variable 472 t_fclose(tf); variable 478 struct t_file *tf; variable in typeref:struct:t_file 483 t_frewind(tf); variable 486 t_fclose(tf); variable 492 struct t_file *tf; variable in typeref:struct:t_file 497 t_frewind(tf); variable 499 t_fclose(tf); variable 515 t_fclose(tf); variable [all...] |
| /src/lib/libcurses/ |
| ctrace.c | 59 char *tf, *tm; local 71 tf = getenv("CURSES_TRACE_FILE"); 73 if ((tf != NULL) && !strcmp( tf, "<none>")) 74 tf = NULL; 76 if (tf != NULL) 77 tracefp = fopen(tf, "w");
|