Searched refs:pcb (Results 26 - 50 of 233) sorted by relevance

12345678910

/freebsd-12-stable/sys/arm/include/
H A Dsmp.h7 #include <machine/pcb.h>
33 extern struct pcb stoppcbs[];
/freebsd-12-stable/gnu/usr.bin/gdb/kgdb/
H A Dtrgt_powerpc.c32 #include <sys/powerpc/include/pcb.h>
35 #include <machine/pcb.h>
55 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb)));
62 struct pcb pcb; local
71 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) {
73 memset(&pcb,
[all...]
H A Dtrgt_powerpc64.c31 #include <machine/pcb.h>
50 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb)));
57 struct pcb pcb; local
66 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) {
68 memset(&pcb, 0, sizeof(pcb));
[all...]
H A Dtrgt_sparc64.c32 #include <machine/pcb.h>
52 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb)));
59 struct pcb pcb; local
64 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) {
66 memset(&pcb, 0, sizeof(pcb));
[all...]
H A Dtrgt_mips.c35 #include <machine/pcb.h>
50 #include <machine/pcb.h>
58 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb)));
66 struct pcb pcb; local
71 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) {
73 memset(&pcb,
[all...]
H A Dtrgt_arm.c32 #include <machine/pcb.h>
54 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb)));
65 struct pcb pcb; local
71 if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) {
73 memset(&pcb, 0, sizeof(pcb));
[all...]
/freebsd-12-stable/sys/arm/arm/
H A Dgenassym.c48 #include <machine/pcb.h>
68 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
70 ASSYM(PCB_DACR, offsetof(struct pcb, pcb_dacr));
72 ASSYM(PCB_PAGEDIR, offsetof(struct pcb, pcb_pagedir));
74 ASSYM(PCB_L1VEC, offsetof(struct pcb, pcb_l1vec));
75 ASSYM(PCB_PL1VEC, offsetof(struct pcb, pcb_pl1vec));
77 ASSYM(PCB_R4, offsetof(struct pcb, pcb_regs.sf_r4));
78 ASSYM(PCB_R5, offsetof(struct pcb, pcb_regs.sf_r5));
79 ASSYM(PCB_R6, offsetof(struct pcb, pcb_regs.sf_r6));
80 ASSYM(PCB_R7, offsetof(struct pcb, pcb_reg
[all...]
/freebsd-12-stable/usr.bin/bluetooth/btsockstat/
H A Dbtsockstat.c220 ng_btsocket_hci_raw_pcb_t pcb; local
231 if (kread(kvmd, (u_long) this, (char *) &pcb, sizeof(pcb)) < 0)
233 if (kread(kvmd, (u_long) pcb.so, (char *) &so, sizeof(so)) < 0)
236 next = LIST_NEXT(&pcb, next);
251 if (pcb.addr.hci_node[0] == 0) {
252 pcb.addr.hci_node[0] = '*';
253 pcb.addr.hci_node[1] = 0;
258 (unsigned long) pcb.so,
260 pcb
275 ng_btsocket_l2cap_raw_pcb_t pcb; local
331 ng_btsocket_l2cap_pcb_t pcb; local
436 ng_btsocket_rfcomm_pcb_t pcb; local
[all...]
/freebsd-12-stable/sys/riscv/riscv/
H A Dgenassym.c52 #include <machine/pcb.h>
65 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
66 ASSYM(PCB_SIZE, sizeof(struct pcb));
67 ASSYM(PCB_RA, offsetof(struct pcb, pcb_ra));
68 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
69 ASSYM(PCB_GP, offsetof(struct pcb, pcb_gp));
70 ASSYM(PCB_TP, offsetof(struct pcb, pcb_tp));
71 ASSYM(PCB_S, offsetof(struct pcb, pcb_s));
72 ASSYM(PCB_X, offsetof(struct pcb, pcb_x));
73 ASSYM(PCB_FCSR, offsetof(struct pcb, pcb_fcs
[all...]
/freebsd-12-stable/sys/i386/include/
H A Dpcb.h34 * from: @(#)pcb.h 5.10 (Berkeley) 5/12/91
53 struct pcb { struct
94 struct pcb_ext *pcb_ext; /* optional pcb extension */
104 struct pcb sp_pcb;
113 void makectx(struct trapframe *, struct pcb *);
114 int savectx(struct pcb *) __returns_twice;
115 void resumectx(struct pcb *) __fastcall;
H A Dsmp.h28 #include <machine/pcb.h>
/freebsd-12-stable/sys/amd64/amd64/
H A Dptrace_machdep.c42 #include <machine/pcb.h>
145 struct pcb *pcb; local
147 pcb = td->td_pcb;
148 set_pcb_flags(pcb, PCB_FULL_IRET);
150 pcb->pcb_fsbase = r;
153 pcb->pcb_gsbase = r;
166 struct pcb *pcb; local
198 pcb
230 struct pcb *pcb; local
[all...]
H A Dgenassym.c67 #include <machine/pcb.h>
122 ASSYM(PCB_R15, offsetof(struct pcb, pcb_r15));
123 ASSYM(PCB_R14, offsetof(struct pcb, pcb_r14));
124 ASSYM(PCB_R13, offsetof(struct pcb, pcb_r13));
125 ASSYM(PCB_R12, offsetof(struct pcb, pcb_r12));
126 ASSYM(PCB_RBP, offsetof(struct pcb, pcb_rbp));
127 ASSYM(PCB_RSP, offsetof(struct pcb, pcb_rsp));
128 ASSYM(PCB_RBX, offsetof(struct pcb, pcb_rbx));
129 ASSYM(PCB_RIP, offsetof(struct pcb, pcb_rip));
130 ASSYM(PCB_FSBASE, offsetof(struct pcb, pcb_fsbas
[all...]
H A Dvm_machdep.c75 #include <machine/pcb.h>
109 struct pcb *
117 get_pcb_user_save_pcb(struct pcb *pcb) argument
121 td = __containerof(pcb, struct thread, td_md.md_pcb);
142 * Copy and update the pcb, set up the stack so that the child
149 struct pcb *pcb2;
168 /* Ensure that td1's pcb is up to date. */
172 /* Point the stack and pcb to the actual location */
176 /* Copy td1's pcb */
312 struct pcb *pcb; local
331 struct pcb *pcb; local
359 struct pcb *pcb; local
619 struct pcb *pcb; local
[all...]
H A Dfpu.c59 #include <machine/pcb.h>
176 * offset of the fpu save area from the pcb address. FPU save area
179 CTASSERT(sizeof(struct pcb) % XSAVE_AREA_ALIGN == 0);
757 struct pcb *pcb; local
766 pcb = td->td_pcb;
768 if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) {
779 bcopy(fpu_initialstate, pcb->pcb_save,
781 fpurestore(pcb->pcb_save);
782 if (pcb
873 struct pcb *pcb; local
921 struct pcb *pcb; local
977 struct pcb *pcb; local
1139 struct pcb *pcb; local
1191 struct pcb *pcb; local
[all...]
/freebsd-12-stable/sys/sparc64/include/
H A Dproc.h67 #include <machine/pcb.h>
72 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
/freebsd-12-stable/sys/mips/include/
H A Dsmp.h22 #include <machine/pcb.h>
47 extern struct pcb stoppcbs[];
/freebsd-12-stable/sys/arm64/include/
H A Dproc.h59 #include <machine/pcb.h>
63 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
H A Dvfp.h44 struct pcb;
49 void vfp_save_state(struct thread *, struct pcb *);
/freebsd-12-stable/sys/i386/i386/
H A Dgenassym.c78 #include <machine/pcb.h>
119 ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0));
120 ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2));
121 ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3));
122 ASSYM(PCB_CR4, offsetof(struct pcb, pcb_cr4));
123 ASSYM(PCB_EDI, offsetof(struct pcb, pcb_edi));
124 ASSYM(PCB_ESI, offsetof(struct pcb, pcb_esi));
125 ASSYM(PCB_EBP, offsetof(struct pcb, pcb_ebp));
126 ASSYM(PCB_ESP, offsetof(struct pcb, pcb_esp));
127 ASSYM(PCB_EBX, offsetof(struct pcb, pcb_eb
[all...]
H A Dnpx.c64 #include <machine/pcb.h>
173 * offset of the fpu save area from the pcb address. FPU save area
176 CTASSERT(sizeof(struct pcb) % XSAVE_AREA_ALIGN == 0);
836 restore_npx_curthread(struct thread *td, struct pcb *pcb) argument
848 if ((pcb->pcb_flags & PCB_NPXINITDONE) == 0) {
859 bcopy(npx_initialstate, pcb->pcb_save, cpu_max_ext_state_size);
860 fpurstor(pcb->pcb_save);
861 if (pcb->pcb_initial_npxcw != __INITIAL_NPXCW__)
862 fldcw(pcb
928 npxswitch(struct thread *td, struct pcb *pcb) argument
1004 struct pcb *pcb; local
1065 struct pcb *pcb; local
1116 struct pcb *pcb; local
1419 struct pcb *pcb; local
1445 struct pcb *pcb; local
[all...]
H A Dvm_machdep.c77 #include <machine/pcb.h>
108 get_pcb_user_save_pcb(struct pcb *pcb) argument
112 p = (vm_offset_t)(pcb + 1);
116 struct pcb *
123 sizeof(struct pcb);
124 return ((struct pcb *)p);
143 * Copy and update the pcb, set up the stack so that the child
150 struct pcb *pcb2;
175 /* Ensure that td1's pcb i
339 struct pcb *pcb; local
366 struct pcb *pcb; local
[all...]
/freebsd-12-stable/sys/powerpc/include/
H A Dpcb.h33 * $NetBSD: pcb.h,v 1.4 2000/06/04 11:57:17 tsubai Exp $
43 struct pcb { struct
100 extern struct pcb *curpcb;
106 void makectx(struct trapframe *, struct pcb *);
107 void savectx(struct pcb *) __returns_twice;
/freebsd-12-stable/sys/powerpc/powerpc/
H A Dexec_machdep.c91 #include <machine/pcb.h>
347 makectx(struct trapframe *tf, struct pcb *pcb) argument
350 pcb->pcb_lr = tf->srr0;
351 pcb->pcb_sp = tf->fixreg[1];
361 struct pcb *pcb; local
364 pcb = td->td_pcb;
382 if (pcb->pcb_flags & PCB_FPREGS) {
383 if (pcb
442 struct pcb *pcb; local
592 struct pcb *pcb; local
630 struct pcb *pcb; local
917 struct pcb *pcb; local
1071 struct pcb *pcb; local
[all...]
/freebsd-12-stable/sys/x86/acpica/
H A Dacpi_wakeup.c59 #include <machine/pcb.h>
125 struct pcb *pcb; local
130 pcb = &susppcbs[cpu]->sp_pcb;
131 WAKECODE_FIXUP(wakeup_pcb, struct pcb *, pcb);
132 WAKECODE_FIXUP(wakeup_gdt, uint16_t, pcb->pcb_gdt.rd_limit);
133 WAKECODE_FIXUP(wakeup_gdt + 2, uint64_t, pcb->pcb_gdt.rd_base);
213 struct pcb *pcb; local
[all...]

Completed in 280 milliseconds

12345678910