Searched refs:mcp (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_inquire_cred_by_mech.c42 struct _gss_mechanism_cred *mcp; local
63 HEIM_SLIST_FOREACH(mcp, &cred->gc_mc, gmc_link)
64 if (mcp->gmc_mech == m)
66 if (!mcp)
68 mc = mcp->gmc_cred;
/freebsd-13-stable/lib/libgssapi/
H A Dgss_inquire_cred_by_mech.c48 struct _gss_mechanism_cred *mcp; local
69 SLIST_FOREACH(mcp, &cred->gc_mc, gmc_link)
70 if (mcp->gmc_mech == m)
72 if (!mcp)
74 mc = mcp->gmc_cred;
H A Dgss_krb5.c58 struct _gss_mechanism_cred *mcp; local
64 SLIST_FOREACH(mcp, &cred->gc_mc, gmc_link) {
65 m = mcp->gmc_mech;
68 mcp->gmc_cred, out));
/freebsd-13-stable/sys/mips/mips/
H A Dpm_machdep.c331 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) argument
337 mcp->mc_onstack = sigonstack(tp->sp);
339 bcopy((void *)&td->td_frame->zero, (void *)&mcp->mc_regs,
340 sizeof(mcp->mc_regs));
342 mcp->mc_fpused = td->td_md.md_flags & MDTD_FPUSED;
343 if (mcp->mc_fpused) {
344 bcopy((void *)&td->td_frame->f0, (void *)&mcp->mc_fpregs,
345 sizeof(mcp->mc_fpregs));
348 mcp->mc_regs[V0] = 0;
349 mcp
361 set_mcontext(struct thread *td, mcontext_t *mcp) argument
[all...]
H A Dfreebsd32_machdep.c185 get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) argument
195 mcp->mc_onstack = mcp64.mc_onstack;
196 mcp->mc_pc = mcp64.mc_pc;
198 mcp->mc_regs[i] = mcp64.mc_regs[i];
199 mcp->sr = mcp64.sr;
200 mcp->mullo = mcp64.mullo;
201 mcp->mulhi = mcp64.mulhi;
202 mcp->mc_fpused = mcp64.mc_fpused;
204 mcp->mc_fpregs[i] = mcp64.mc_fpregs[i];
205 mcp
212 set_mcontext32(struct thread *td, mcontext32_t *mcp) argument
[all...]
/freebsd-13-stable/sys/arm64/arm64/
H A Dfreebsd32_machdep.c121 get_fpcontext32(struct thread *td, mcontext32_vfp_t *mcp) argument
141 mcp->mcv_reg[i] = (uint64_t)curpcb->pcb_fpustate.vfp_regs[i];
142 mcp->mcv_fpscr = VFP_FPSCR_FROM_SRCR(curpcb->pcb_fpustate.vfp_fpcr,
149 set_fpcontext32(struct thread *td, mcontext32_vfp_t *mcp) argument
159 pcb->pcb_fpustate.vfp_regs[i] = mcp->mcv_reg[i];
160 pcb->pcb_fpustate.vfp_fpsr = VFP_FPSR_FROM_FPSCR(mcp->mcv_fpscr);
161 pcb->pcb_fpustate.vfp_fpcr = VFP_FPSR_FROM_FPSCR(mcp->mcv_fpscr);
166 get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) argument
176 mcp->mc_gregset[0] = 0;
177 mcp
193 set_mcontext32(struct thread *td, mcontext32_t *mcp) argument
[all...]
H A Dmachdep.c103 static void get_fpcontext(struct thread *td, mcontext_t *mcp);
104 static void set_fpcontext(struct thread *td, mcontext_t *mcp);
585 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) argument
590 mcp->mc_gpregs.gp_x[0] = 0;
591 mcp->mc_gpregs.gp_spsr = tf->tf_spsr & ~PSR_C;
593 mcp->mc_gpregs.gp_x[0] = tf->tf_x[0];
594 mcp->mc_gpregs.gp_spsr = tf->tf_spsr;
597 memcpy(&mcp->mc_gpregs.gp_x[1], &tf->tf_x[1],
598 sizeof(mcp->mc_gpregs.gp_x[1]) * (nitems(mcp
609 set_mcontext(struct thread *td, mcontext_t *mcp) argument
632 get_fpcontext(struct thread *td, mcontext_t *mcp) argument
665 set_fpcontext(struct thread *td, mcontext_t *mcp) argument
[all...]
/freebsd-13-stable/sys/amd64/ia32/
H A Dia32_signal.c92 ia32_get_fpcontext(struct thread *td, struct ia32_mcontext *mcp, argument
103 mcp->mc_ownedfp = fpugetregs(td);
104 bcopy(get_pcb_user_save_td(td), &mcp->mc_fpstate[0],
105 sizeof(mcp->mc_fpstate));
106 mcp->mc_fpformat = fpuformat();
115 mcp->mc_flags |= _MC_IA32_HASFPXSTATE;
116 mcp->mc_xfpustate_len = len;
121 ia32_set_fpcontext(struct thread *td, struct ia32_mcontext *mcp, argument
126 if (mcp->mc_fpformat == _MC_FPFMT_NODEV)
128 else if (mcp
147 ia32_get_mcontext(struct thread *td, struct ia32_mcontext *mcp, int flags) argument
200 ia32_set_mcontext(struct thread *td, struct ia32_mcontext *mcp) argument
[all...]
/freebsd-13-stable/sys/fs/nfsclient/
H A Dnfs_clcomsubs.c65 char *mcp, *tcp; local
75 mcp = nd->nd_bpos;
77 KASSERT((nd->nd_flag & ND_EXTPG) != 0 || mcp ==
78 mtod(mp, char *) + mp->m_len, ("nfsm_uiombuf: mcp wrong"));
93 mcp = (char *)(void *)PHYS_TO_DMAP(
103 mcp = mtod(mp, char *);
110 NFSBCOPY(uiocp, mcp, xfer);
112 copyin(uiocp, mcp, xfer);
116 mcp += xfer;
136 mcp
169 char *mcp, *tcp; local
[all...]
/freebsd-13-stable/sys/powerpc/powerpc/
H A Dexec_machdep.c380 grab_mcontext(struct thread *td, mcontext_t *mcp, int flags) argument
387 memset(mcp, 0, sizeof(mcontext_t));
389 mcp->mc_vers = _MC_VERSION;
390 mcp->mc_flags = 0;
391 memcpy(&mcp->mc_frame, td->td_frame, sizeof(struct trapframe));
393 mcp->mc_gpr[3] = 0;
394 mcp->mc_gpr[4] = 0;
411 mcp->mc_flags |= _MC_FP_VALID;
412 memcpy(&mcp->mc_fpscr, &pcb->pcb_fpu.fpscr, sizeof(double));
414 memcpy(&mcp
446 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) argument
461 set_mcontext(struct thread *td, mcontext_t *mcp) argument
758 grab_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) argument
782 get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) argument
797 set_mcontext32(struct thread *td, mcontext32_t *mcp) argument
[all...]
/freebsd-13-stable/sys/riscv/riscv/
H A Dmachdep.c105 static void get_fpcontext(struct thread *td, mcontext_t *mcp);
106 static void set_fpcontext(struct thread *td, mcontext_t *mcp);
344 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) argument
348 memcpy(mcp->mc_gpregs.gp_t, tf->tf_t, sizeof(mcp->mc_gpregs.gp_t));
349 memcpy(mcp->mc_gpregs.gp_s, tf->tf_s, sizeof(mcp->mc_gpregs.gp_s));
350 memcpy(mcp->mc_gpregs.gp_a, tf->tf_a, sizeof(mcp->mc_gpregs.gp_a));
353 mcp
369 set_mcontext(struct thread *td, mcontext_t *mcp) argument
403 get_fpcontext(struct thread *td, mcontext_t *mcp) argument
435 set_fpcontext(struct thread *td, mcontext_t *mcp) argument
[all...]
/freebsd-13-stable/sys/amd64/amd64/
H A Dmachdep.c171 static void get_fpcontext(struct thread *td, mcontext_t *mcp,
173 static int set_fpcontext(struct thread *td, mcontext_t *mcp,
2257 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) argument
2265 mcp->mc_onstack = sigonstack(tp->tf_rsp);
2267 mcp->mc_r15 = tp->tf_r15;
2268 mcp->mc_r14 = tp->tf_r14;
2269 mcp->mc_r13 = tp->tf_r13;
2270 mcp->mc_r12 = tp->tf_r12;
2271 mcp->mc_r11 = tp->tf_r11;
2272 mcp
2316 set_mcontext(struct thread *td, mcontext_t *mcp) argument
2380 get_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpusave, size_t xfpusave_len) argument
2403 set_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpustate, size_t xfpustate_len) argument
[all...]
/freebsd-13-stable/sys/netgraph/bluetooth/hci/
H A Dng_hci_cmds.c439 struct mbuf *mcp, struct mbuf *mrp)
482 NG_FREE_M(mcp);
494 struct mbuf *mcp, struct mbuf *mrp)
551 NG_FREE_M(mcp);
563 struct mbuf *mcp, struct mbuf *mrp)
664 NG_FREE_M(mcp);
675 process_info_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, argument
742 NG_FREE_M(mcp);
753 process_status_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, argument
771 NG_FREE_M(mcp);
438 process_link_control_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument
493 process_link_policy_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument
562 process_hc_baseband_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument
782 process_testing_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument
816 process_le_params(ng_hci_unit_p unit, u_int16_t ocf, struct mbuf *mcp, struct mbuf *mrp) argument
876 process_le_status(ng_hci_unit_p unit,ng_hci_command_status_ep *ep, struct mbuf *mcp) argument
938 process_link_control_status(ng_hci_unit_p unit, ng_hci_command_status_ep *ep, struct mbuf *mcp) argument
997 process_link_policy_status(ng_hci_unit_p unit, ng_hci_command_status_ep *ep, struct mbuf *mcp) argument
[all...]
/freebsd-13-stable/sys/i386/i386/
H A Dmachdep.c167 static void get_fpcontext(struct thread *td, mcontext_t *mcp,
169 static int set_fpcontext(struct thread *td, mcontext_t *mcp,
2901 get_mcontext(struct thread *td, mcontext_t *mcp, int flags) argument
2909 mcp->mc_onstack = sigonstack(tp->tf_esp);
2911 mcp->mc_gs = td->td_pcb->pcb_gs;
2912 mcp->mc_fs = tp->tf_fs;
2913 mcp->mc_es = tp->tf_es;
2914 mcp->mc_ds = tp->tf_ds;
2915 mcp->mc_edi = tp->tf_edi;
2916 mcp
2954 set_mcontext(struct thread *td, mcontext_t *mcp) argument
2999 get_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpusave, size_t xfpusave_len) argument
3022 set_fpcontext(struct thread *td, mcontext_t *mcp, char *xfpustate, size_t xfpustate_len) argument
[all...]
/freebsd-13-stable/sys/arm/arm/
H A Dmachdep.c426 get_mcontext(struct thread *td, mcontext_t *mcp, int clear_ret) argument
429 __greg_t *gr = mcp->__gregs;
454 mcp->mc_vfp_size = 0;
455 mcp->mc_vfp_ptr = NULL;
456 memset(&mcp->mc_spare, 0, sizeof(mcp->mc_spare));
468 set_mcontext(struct thread *td, mcontext_t *mcp) argument
472 const __greg_t *gr = mcp->__gregs;
485 if (mcp->mc_vfp_size != 0 && mcp
[all...]
/freebsd-13-stable/contrib/tcpdump/
H A Dprint-ospf.c622 register const struct mcla *mcp; local
774 mcp = lsap->lsa_un.un_mcla;
775 while ((const u_char *)mcp < ls_end) {
776 ND_TCHECK(mcp->mcla_vid);
777 switch (EXTRACT_32BITS(&mcp->mcla_vtype)) {
781 ipaddr_string(ndo, &mcp->mcla_vid)));
786 ipaddr_string(ndo, &mcp->mcla_vid)));
791 EXTRACT_32BITS(&mcp->mcla_vtype)));
794 ++mcp;
H A Dprint-ospf6.c459 register const struct mcla *mcp;
/freebsd-13-stable/sys/netinet6/
H A Dip6_mroute.c1791 struct mbuf *mcp; local
1855 mcp = m_copym(m, 0, off + PIM6_REG_MINLEN, M_NOWAIT);
1856 if (mcp == NULL) {
1876 m = mcp;
/freebsd-13-stable/sys/netinet/
H A Dip_mroute.c2643 struct mbuf *mcp; local
2727 mcp = m_copym(m, 0, iphlen + PIM_REG_MINLEN, M_NOWAIT);
2728 if (mcp == NULL) {
2755 m = mcp;
/freebsd-13-stable/sys/dev/mly/
H A Dmly.c96 static int mly_alloc_command(struct mly_softc *sc, struct mly_command **mcp);
1680 mly_alloc_command(struct mly_softc *sc, struct mly_command **mcp) argument
1689 *mcp = mc;

Completed in 369 milliseconds