Home
last modified time | relevance | path

Searched defs:pcb (Results 1 – 25 of 205) sorted by relevance

123456789

/netbsd-src/sys/arch/vax/include/
H A Dpcb.h35 struct pcb { struct
55 void *pcb_onfault; /* Tells whether fault copy */ argument
56 paddr_t pcb_paddr; /* physical address of PCB */ argument
57 struct pmap *pcb_pm; /* owning pmap */ argument
58 struct pcb *pcb_pmnext; /* next pcb that shares this pmap */ argument
/netbsd-src/sys/arch/i386/include/
H A Dpcb.h80 struct pcb { struct
81 int pcb_esp0; /* ring0 esp */ argument
82 int pcb_esp; /* kernel esp */ argument
83 int pcb_ebp; /* kernel ebp */ argument
84 int pcb_cr0; /* saved image of CR0 */ argument
85 int pcb_cr2; /* page fault address (CR2) */ argument
86 int pcb_cr3; /* page directory pointer */ argument
87 int pcb_iopl; /* i/o privilege level */ argument
89 struct segment_descriptor pcb_fsd; /* %fs descriptor */ argument
90 struct segment_descriptor pcb_gsd; /* %gs descriptor */ argument
[all …]
/netbsd-src/sys/arch/amd64/include/
H A Dpcb.h84 struct pcb { struct
85 int pcb_flags; argument
88 u_int pcb_cr0; /* saved image of CR0 */ argument
89 uint64_t pcb_rsp0; argument
90 uint64_t pcb_cr2; /* page fault address (CR2) */ argument
91 uint64_t pcb_cr3; argument
92 uint64_t pcb_rsp; argument
93 uint64_t pcb_rbp; argument
94 void *pcb_onfault; /* copyin/out fault recovery */ argument
95 uint64_t pcb_fs; argument
[all …]
/netbsd-src/sys/arch/ia64/include/
H A Dpcb.h42 struct pcb { struct
43 struct _special pcb_special; argument
44 struct _callee_saved pcb_preserved; argument
45 struct _callee_saved_fp pcb_preserved_fp; argument
46 struct _high_fp pcb_high_fp; argument
47 struct pcpu *pcb_fpcpu; argument
48 kmutex_t pcb_fpcpu_slock; argument
52 uint64_t pcb_ia32_cflg; argument
53 uint64_t pcb_ia32_eflag; argument
54 uint64_t pcb_ia32_fcr; argument
[all …]
/netbsd-src/sys/arch/sparc/include/
H A Dpcb.h88 struct pcb { struct
89 int pcb_sp; /* sp (%o6) when switch() was called */ argument
90 int pcb_pc; /* pc (%o7) when switch() was called */ argument
91 int pcb_psr; /* %psr when switch() was called */ argument
93 void * pcb_onfault; /* for copyin/out */ argument
95 int pcb_uw; /* user windows inside CPU */ argument
96 int pcb_wim; /* log2(%wim) */ argument
97 int pcb_nsaved; /* number of windows saved in pcb */ argument
100 int pcb_winof; /* number of window overflow traps */ argument
101 int pcb_winuf; /* number of window underflow traps */ argument
[all …]
/netbsd-src/sys/arch/arm/include/
H A Dpcb.h54 struct pcb { struct
61 u_int pcb_r9; /* used */ argument
62 u_int pcb_r10; /* used */ argument
63 u_int pcb_r11; /* used */ argument
64 u_int pcb_r12; /* used */ argument
65 u_int pcb_sp; /* used */ argument
66 u_int pcb_lr; argument
67 u_int pcb_pc; argument
73 u_int pcb_user_pid_rw; /* p15, 0, Rd, c13, c0, 2 */ argument
74 u_int pcb_user_pid_ro; /* p15, 0, Rd, c13, c0, 3 */ argument
[all …]
/netbsd-src/sys/arch/sparc64/include/
H A Dpcb.h156 struct pcb { struct
157 uint64_t pcb_sp; /* sp (%o6) when switch() was called */ argument
158 uint64_t pcb_pc; /* pc (%o7) when switch() was called */ argument
159 void * pcb_onfault; /* for copyin/out */ argument
160 …short pcb_pstate; /* %pstate when switch() was called -- may be useful if we support multiple memo… argument
161 char pcb_nsaved; /* number of windows saved in pcb */ argument
164 char pcb_cwp; /* %cwp when switch() was called */ argument
165 char pcb_pil; /* %pil when switch() was called -- prolly not needed */ argument
169 struct rwindow64 pcb_rw[PCB_MAXWIN]; /* saved windows */ argument
173 * The pcb is augmented with machine-dependent additional data for argument
/netbsd-src/sys/arch/m68k/include/
H A Dpcb.h50 struct pcb { struct
51 short pcb_flags; /* misc. process flags */ argument
52 short pcb_ps; /* processor status word */ argument
53 int __pcb_spare0; argument
54 int pcb_usp; /* user stack pointer */ argument
55 int pcb_regs[12]; /* D2-D7, A2-A7 */ argument
56 void * pcb_onfault; /* for copyin/out faults */ argument
57 struct fpframe pcb_fpregs; /* 68881/2 context save area */ argument
/netbsd-src/sys/arch/usermode/include/
H A Dpcb.h38 struct pcb { struct
39 ucontext_t pcb_ucp; /* switchframe */ argument
40 ucontext_t pcb_userret_ucp; argument
45 void *pcb_onfault; /* on fault handler */ argument
47 int pcb_errno; /* save/restore place */ argument
/netbsd-src/sys/netbt/
H A Dsco_upper.c64 struct sco_pcb *pcb; in sco_attach_pcb() local
90 sco_bind_pcb(struct sco_pcb *pcb, struct sockaddr_bt *addr) in sco_bind_pcb()
106 sco_sockaddr_pcb(struct sco_pcb *pcb, struct sockaddr_bt *addr) in sco_sockaddr_pcb()
122 sco_connect_pcb(struct sco_pcb *pcb, struct sockaddr_bt *dest) in sco_connect_pcb()
185 sco_peeraddr_pcb(struct sco_pcb *pcb, struct sockaddr_bt *addr) in sco_peeraddr_pcb()
201 sco_disconnect_pcb(struct sco_pcb *pcb, int linger) in sco_disconnect_pcb()
232 struct sco_pcb *pcb; in sco_detach_pcb() local
253 sco_listen_pcb(struct sco_pcb *pcb) in sco_listen_pcb()
274 sco_send_pcb(struct sco_pcb *pcb, struct mbuf *m) in sco_send_pcb()
319 sco_setopt(struct sco_pcb *pcb, const struct sockopt *sopt) in sco_setopt()
[all …]
H A Drfcomm_socket.c130 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_accept() local
144 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_bind() local
165 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_listen() local
178 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_connect() local
200 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_connect2() local
213 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_disconnect() local
236 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_abort() local
266 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_peeraddr() local
278 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_sockaddr() local
290 struct rfcomm_dlc *pcb = so->so_pcb; in rfcomm_rcvd() local
[all …]
H A Dsco_socket.c113 struct sco_pcb *pcb = so->so_pcb; in sco_accept() local
127 struct sco_pcb *pcb = so->so_pcb; in sco_bind() local
148 struct sco_pcb *pcb = so->so_pcb; in sco_listen() local
161 struct sco_pcb *pcb = so->so_pcb; in sco_connect() local
183 struct sco_pcb *pcb = so->so_pcb; in sco_connect2() local
196 struct sco_pcb *pcb = so->so_pcb; in sco_disconnect() local
219 struct sco_pcb *pcb = so->so_pcb; in sco_abort() local
249 struct sco_pcb *pcb = (struct sco_pcb *)so->so_pcb; in sco_peeraddr() local
261 struct sco_pcb *pcb = (struct sco_pcb *)so->so_pcb; in sco_sockaddr() local
290 struct sco_pcb *pcb = so->so_pcb; in sco_send() local
[all …]
H A Dl2cap_socket.c122 struct l2cap_channel *pcb = so->so_pcb; in l2cap_accept() local
136 struct l2cap_channel *pcb = so->so_pcb; in l2cap_bind() local
157 struct l2cap_channel *pcb = so->so_pcb; in l2cap_listen() local
170 struct l2cap_channel *pcb = so->so_pcb; in l2cap_connect() local
203 struct l2cap_channel *pcb = so->so_pcb; in l2cap_disconnect() local
226 struct l2cap_channel *pcb = so->so_pcb; in l2cap_abort() local
256 struct l2cap_channel *pcb = so->so_pcb; in l2cap_peeraddr() local
268 struct l2cap_channel *pcb = so->so_pcb; in l2cap_sockaddr() local
297 struct l2cap_channel *pcb = so->so_pcb; in l2cap_send() local
361 struct l2cap_channel *pcb = so->so_pcb; in l2cap_ctloutput() local
/netbsd-src/sys/arch/alpha/include/
H A Dpcb.h57 struct pcb { struct
58 struct alpha_pcb pcb_hw; /* PALcode defined */ argument
59 unsigned long pcb_context[8]; /* s[0-6], ra [SW] */ argument
60 struct fpreg pcb_fp; /* FP registers [SW] */ argument
61 unsigned long pcb_onfault; /* for copy faults [SW] */ argument
64 #define FPCPU_LOCK(pcb) mutex_enter(&(pcb)->pcb_fpcpu_lock) argument
65 #define FPCPU_UNLOCK(pcb) mutex_exit(&(pcb)->pcb_fpcpu_lock) argument
/netbsd-src/sys/arch/powerpc/include/
H A Dpcb.h51 struct pcb { struct
52 struct pmap *pcb_pm; /* pmap of our vmspace */ argument
53 register_t pcb_sp; /* saved SP */ argument
54 int pcb_flags; argument
57 struct faultbuf *pcb_onfault; /* For use during copyin/copyout */ argument
58 vaddr_t pcb_kmapsr; /* where to map user segment in kernel */ argument
59 vaddr_t pcb_umapsr; /* the user segment mapped in kernel */ argument
60 struct fpreg pcb_fpu; /* Floating point processor */ argument
61 struct vreg pcb_vr __attribute__((aligned(16))); argument
62 register_t pcb_usprg0; /* User Special-Purpose Register General 0 */ argument
/netbsd-src/sys/arch/mips/include/
H A Dpcb.h58 struct pcb { struct
59 mips_label_t pcb_context; /* kernel context for resume */ argument
60 void *pcb_onfault; /* for copyin/copyout faults */ argument
61 uint32_t pcb_ppl; /* previous priority level */ argument
62 struct fpreg pcb_fpregs; /* saved floating point registers */ argument
63 struct dspreg pcb_dspregs; /* saved DSP registers */ argument
64 struct pcb_faultinfo pcb_faultinfo; argument
77 #define PCB_FSR(pcb) ((pcb)->pcb_fpregs.r_regs[_R_FSR - _FPBASE]) argument
/netbsd-src/sys/arch/hppa/include/
H A Dpcb.h37 struct pcb { struct
38 struct fpreg *pcb_fpregs; /* not in the trapframe */ argument
39 u_int pcb_onfault; /* SW copy fault handler */ argument
40 pa_space_t pcb_space; /* copy pmap_space, for asm's sake */ argument
41 u_int pcb_ksp; /* kernel sp for ctxsw */ argument
/netbsd-src/sys/arch/x86/x86/
H A Ddbregs.c102 struct pcb *pcb = lwp_getpcb(l); in x86_dbregs_clear() local
126 struct pcb *pcb = lwp_getpcb(l); in x86_dbregs_abandon() local
137 struct pcb *pcb = lwp_getpcb(l); in x86_dbregs_read() local
150 struct pcb *pcb = lwp_getpcb(l); in x86_dbregs_save() local
170 struct pcb *pcb = lwp_getpcb(l); in x86_dbregs_restore() local
190 struct pcb *pcb = lwp_getpcb(l); in x86_dbregs_store_dr6() local
281 struct pcb *pcb = lwp_getpcb(l); in x86_dbregs_write() local
/netbsd-src/sys/arch/sh3/include/
H A Dpcb.h37 struct pcb { struct
38 struct switchframe pcb_sf; /* kernel context for resume */ argument
39 void * pcb_onfault; /* for copyin/out fault */ argument
/netbsd-src/sys/arch/aarch64/include/
H A Dpcb.h39 struct pcb { struct
40 struct fpreg pcb_fpregs; argument
41 struct trapframe *pcb_tf; argument
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dfpu.c75 struct pcb * const pcb = lwp_getpcb(l); in fpu_state_load() local
105 struct pcb * const pcb = lwp_getpcb(l); in fpu_state_save() local
136 struct pcb * const pcb = lwp_getpcb(l); in fpu_get_fault_code() local
223 struct pcb * const pcb = lwp_getpcb(l); in fpu_save_to_mcontext() local
244 struct pcb * const pcb = lwp_getpcb(l); in fpu_restore_from_mcontext() local
/netbsd-src/sys/arch/alpha/alpha/
H A Dprocess_machdep.c76 struct pcb *pcb = lwp_getpcb(l); in process_read_regs() local
87 struct pcb *pcb = lwp_getpcb(l); in process_write_regs() local
117 struct pcb *pcb = lwp_getpcb(l); in process_read_fpregs() local
128 struct pcb *pcb = lwp_getpcb(l); in process_write_fpregs() local
/netbsd-src/sys/arch/powerpc/booke/
H A Dspe.c80 struct pcb * const pcb = lwp_getpcb(l); in vec_state_load() local
116 struct pcb * const pcb = lwp_getpcb(l); in vec_state_save() local
151 struct pcb * const pcb = lwp_getpcb(l); in vec_restore_from_mcontext() local
176 struct pcb * const pcb = lwp_getpcb(l); in vec_save_to_mcontext() local
/netbsd-src/sys/arch/riscv/include/
H A Dpcb.h45 struct pcb { struct
46 pcb_fpregspcb global() argument
47 pcb_faultinfopcb global() argument
/netbsd-src/sys/arch/powerpc/oea/
H A Daltivec.c76 struct pcb * const pcb = lwp_getpcb(l); in vec_state_load() local
119 struct pcb * const pcb = lwp_getpcb(l); in vec_state_save() local
162 struct pcb * const pcb = lwp_getpcb(l); in vec_restore_from_mcontext() local
185 struct pcb * const pcb = lwp_getpcb(l); in vec_save_to_mcontext() local

123456789