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

123456789

/freebsd-13-stable/sys/net/
H A Ddebugnet.c70 #include <machine/pcb.h>
106 debugnet_get_gw_mac(const struct debugnet_pcb *pcb) argument
108 MPASS(g_debugnet_pcb_inuse && pcb == &g_dnet_pcb &&
109 pcb->dp_state >= DN_STATE_HAVE_GW_MAC);
110 return (pcb->dp_gw_mac.octet);
164 * pcb The debugnet context block
171 debugnet_udp_output(struct debugnet_pcb *pcb, struct mbuf *m) argument
175 MPASS(pcb->dp_state >= DN_STATE_HAVE_GW_MAC);
186 udp->uh_sport = htons(pcb->dp_client_port);
187 udp->uh_dport = htons(pcb
195 debugnet_ack_output(struct debugnet_pcb *pcb, uint32_t seqno ) argument
240 debugnet_send(struct debugnet_pcb *pcb, uint32_t type, const void *data, uint32_t datalen, const struct debugnet_proto_aux *auxdata) argument
359 debugnet_handle_rx_msg(struct debugnet_pcb *pcb, struct mbuf **mb) argument
411 debugnet_handle_ack(struct debugnet_pcb *pcb, struct mbuf **mb, uint16_t sport) argument
449 debugnet_handle_udp(struct debugnet_pcb *pcb, struct mbuf **mb) argument
588 debugnet_network_poll(struct debugnet_pcb *pcb) argument
600 debugnet_free(struct debugnet_pcb *pcb) argument
625 struct debugnet_pcb *pcb; local
[all...]
H A Ddebugnet_inet.c59 #include <machine/pcb.h>
77 * pcb a pointer to the live debugnet PCB
83 debugnet_handle_ip(struct debugnet_pcb *pcb, struct mbuf **mb) argument
175 if (ip->ip_src.s_addr != pcb->dp_server) {
182 if (ip->ip_dst.s_addr != pcb->dp_client) {
215 debugnet_handle_udp(pcb, mb);
227 debugnet_send_arp(struct debugnet_pcb *pcb, in_addr_t dst) argument
235 ifp = pcb->dp_ifp;
255 ((struct in_addr *)ar_spa(ah))->s_addr = pcb->dp_client;
270 * pcb
276 debugnet_handle_arp(struct debugnet_pcb *pcb, struct mbuf **mb) argument
396 debugnet_arp_gw(struct debugnet_pcb *pcb) argument
445 debugnet_ip_output(struct debugnet_pcb *pcb, struct mbuf *m) argument
[all...]
/freebsd-13-stable/sys/arm/arm/
H A Dgenassym.c48 #include <machine/pcb.h>
66 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
67 ASSYM(PCB_PAGEDIR, offsetof(struct pcb, pcb_pagedir));
68 ASSYM(PCB_R4, offsetof(struct pcb, pcb_regs.sf_r4));
69 ASSYM(PCB_R5, offsetof(struct pcb, pcb_regs.sf_r5));
70 ASSYM(PCB_R6, offsetof(struct pcb, pcb_regs.sf_r6));
71 ASSYM(PCB_R7, offsetof(struct pcb, pcb_regs.sf_r7));
72 ASSYM(PCB_R8, offsetof(struct pcb, pcb_regs.sf_r8));
73 ASSYM(PCB_R9, offsetof(struct pcb, pcb_regs.sf_r9));
74 ASSYM(PCB_R10, offsetof(struct pcb, pcb_reg
[all...]
/freebsd-13-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 Dfpu.c60 #include <machine/pcb.h>
177 * offset of the fpu save area from the pcb address. FPU save area
180 CTASSERT(sizeof(struct pcb) % XSAVE_AREA_ALIGN == 0);
755 struct pcb *pcb; local
764 pcb = td->td_pcb;
766 if ((pcb->pcb_flags & PCB_FPUINITDONE) == 0) {
777 bcopy(fpu_initialstate, pcb->pcb_save,
779 fpurestore(pcb->pcb_save);
780 if (pcb
871 struct pcb *pcb; local
919 struct pcb *pcb; local
975 struct pcb *pcb; local
1150 struct pcb *pcb; local
1202 struct pcb *pcb; local
[all...]
H A Dvm_machdep.c74 #include <machine/pcb.h>
108 struct pcb *
116 get_pcb_user_save_pcb(struct pcb *pcb) argument
120 td = __containerof(pcb, struct thread, td_md.md_pcb);
146 struct pcb *pcb2;
150 /* Ensure that td1's pcb is up to date for user threads. */
157 /* Copy td1's pcb */
202 * Copy and update the pcb, set up the stack so that the child
209 struct pcb *pcb
334 struct pcb *pcb; local
353 struct pcb *pcb; local
381 struct pcb *pcb; local
679 struct pcb *pcb; local
[all...]
/freebsd-13-stable/sys/mips/include/
H A Dsmp.h22 #include <machine/pcb.h>
47 extern struct pcb stoppcbs[];
/freebsd-13-stable/sys/powerpc/include/
H A Dproc.h71 #include <machine/pcb.h>
76 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
H A Dpcb.h33 * $NetBSD: pcb.h,v 1.4 2000/06/04 11:57:17 tsubai Exp $
45 struct pcb { struct
125 extern struct pcb *curpcb;
131 void makectx(struct trapframe *, struct pcb *);
132 void savectx(struct pcb *) __returns_twice;
/freebsd-13-stable/sys/i386/i386/
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);
838 restore_npx_curthread(struct thread *td, struct pcb *pcb) argument
850 if ((pcb->pcb_flags & PCB_NPXINITDONE) == 0) {
861 bcopy(npx_initialstate, pcb->pcb_save, cpu_max_ext_state_size);
862 fpurstor(pcb->pcb_save);
863 if (pcb->pcb_initial_npxcw != __INITIAL_NPXCW__)
864 fldcw(pcb
933 npxswitch(struct thread *td, struct pcb *pcb) argument
1009 struct pcb *pcb; local
1070 struct pcb *pcb; local
1121 struct pcb *pcb; local
1423 struct pcb *pcb; local
1475 struct pcb *pcb; local
[all...]
H A Dgenassym.c78 #include <machine/pcb.h>
106 ASSYM(PCB_CR0, offsetof(struct pcb, pcb_cr0));
107 ASSYM(PCB_CR2, offsetof(struct pcb, pcb_cr2));
108 ASSYM(PCB_CR3, offsetof(struct pcb, pcb_cr3));
109 ASSYM(PCB_CR4, offsetof(struct pcb, pcb_cr4));
110 ASSYM(PCB_EDI, offsetof(struct pcb, pcb_edi));
111 ASSYM(PCB_ESI, offsetof(struct pcb, pcb_esi));
112 ASSYM(PCB_EBP, offsetof(struct pcb, pcb_ebp));
113 ASSYM(PCB_ESP, offsetof(struct pcb, pcb_esp));
114 ASSYM(PCB_EBX, offsetof(struct pcb, pcb_eb
[all...]
H A Dvm_machdep.c76 #include <machine/pcb.h>
103 get_pcb_user_save_pcb(struct pcb *pcb) argument
107 p = (vm_offset_t)(pcb + 1);
111 struct pcb *
118 sizeof(struct pcb);
119 return ((struct pcb *)p);
144 struct pcb *pcb2;
148 /* Ensure that td1's pcb is up to date for user threads. */
158 /* Copy td1's pcb */
358 struct pcb *pcb; local
385 struct pcb *pcb; local
[all...]
/freebsd-13-stable/sys/arm64/arm64/
H A Dgenassym.c38 #include <machine/pcb.h>
59 /* Size of pcb, rounded to keep stack alignment */
60 ASSYM(PCB_SIZE, roundup2(sizeof(struct pcb), STACKALIGNBYTES + 1));
62 ASSYM(PCB_REGS, offsetof(struct pcb, pcb_x));
63 ASSYM(PCB_LR, offsetof(struct pcb, pcb_lr));
64 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
65 ASSYM(PCB_TPIDRRO, offsetof(struct pcb, pcb_tpidrro_el0));
66 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
67 ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
H A Dvm_machdep.c51 #include <machine/pcb.h>
64 * Copy and update the pcb, set up the stack so that the child
70 struct pcb *pcb2;
90 pcb2 = (struct pcb *)(td2->td_kstack +
167 * Initialize machine state, mostly pcb and trap frame for a new
177 bcopy(td0->td_pcb, td->td_pcb, sizeof(struct pcb));
214 struct pcb *pcb; local
219 pcb = td->td_pcb;
222 pcb
[all...]
/freebsd-13-stable/sys/riscv/riscv/
H A Dgenassym.c52 #include <machine/pcb.h>
68 ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault));
69 ASSYM(PCB_SIZE, sizeof(struct pcb));
70 ASSYM(PCB_RA, offsetof(struct pcb, pcb_ra));
71 ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
72 ASSYM(PCB_GP, offsetof(struct pcb, pcb_gp));
73 ASSYM(PCB_TP, offsetof(struct pcb, pcb_tp));
74 ASSYM(PCB_S, offsetof(struct pcb, pcb_s));
75 ASSYM(PCB_X, offsetof(struct pcb, pcb_x));
76 ASSYM(PCB_FCSR, offsetof(struct pcb, pcb_fcs
[all...]
/freebsd-13-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);
212 struct pcb *pcb; local
[all...]
/freebsd-13-stable/sys/arm/include/
H A Dpmap.h58 struct pcb;
59 void pmap_set_pcb_pagedir(pmap_t, struct pcb *);
/freebsd-13-stable/sys/powerpc/powerpc/
H A Dexec_machdep.c91 #include <machine/pcb.h>
368 makectx(struct trapframe *tf, struct pcb *pcb) argument
371 pcb->pcb_lr = tf->srr0;
372 pcb->pcb_sp = tf->fixreg[1];
382 struct pcb *pcb; local
385 pcb = td->td_pcb;
403 if (pcb->pcb_flags & PCB_FPREGS) {
404 if (pcb
463 struct pcb *pcb; local
668 struct pcb *pcb; local
706 struct pcb *pcb; local
999 struct pcb *pcb; local
1165 struct pcb *pcb; local
[all...]
/freebsd-13-stable/sys/i386/include/
H A Dsmp.h28 #include <machine/pcb.h>
/freebsd-13-stable/sys/sys/
H A Dkdb.h37 struct pcb;
72 extern struct pcb *kdb_thrctx; /* Current context. */
88 struct pcb *kdb_thr_ctx(struct thread *);
/freebsd-13-stable/sys/arm64/include/
H A Dvfp.h66 struct pcb;
71 void vfp_reset_state(struct thread *, struct pcb *);
73 void vfp_save_state(struct thread *, struct pcb *);
/freebsd-13-stable/sys/amd64/linux/
H A Dlinux_machdep.c70 #include <machine/pcb.h>
245 struct pcb *pcb; local
248 pcb = td->td_pcb;
254 update_pcb_bases(pcb);
255 pcb->pcb_gsbase = args->addr;
263 update_pcb_bases(pcb);
264 pcb->pcb_fsbase = args->addr;
271 error = copyout(&pcb->pcb_fsbase, PTRIN(args->addr),
275 error = copyout(&pcb
287 struct pcb *pcb; local
[all...]
/freebsd-13-stable/sys/powerpc/booke/
H A Dspe.c45 #include <machine/pcb.h>
60 struct pcb *pcb; local
62 pcb = td->td_pcb;
74 :: "b"(pcb->pcb_vec.vr[n]), "n"(n));
87 "evstdd 0,0(%0)" :: "b"(&pcb->pcb_vec.spare[0]));
88 pcb->pcb_vec.vscr = mfspr(SPR_SPEFSCR);
102 struct pcb *pcb; local
105 pcb
163 struct pcb *pcb; local
186 struct pcb *pcb; local
[all...]
/freebsd-13-stable/sys/mips/mips/
H A Dvm_machdep.c68 #include <machine/pcb.h>
87 * Copy and update the pcb, set up the stack so that the child
93 struct pcb *pcb2;
101 /* Point the pcb to the top of the stack */
104 /* Copy td1's pcb, note that in this case
105 * our pcb also includes the td_frame being copied
247 * the pcb struct and kernel stack.
267 td->td_pcb = (struct pcb *)(td->td_kstack +
346 * Initialize machine state, mostly pcb and trap frame for a new
355 struct pcb *pcb
555 struct pcb *pcb; local
[all...]

Completed in 292 milliseconds

123456789