/freebsd-11-stable/lib/libthread_db/arch/riscv/ |
H A D | libpthread_md.c | 47 mcontext_t *mc; local 49 mc = &uc->uc_mcontext; 51 memcpy(mc->mc_gpregs.gp_t, r->t, sizeof(mc->mc_gpregs.gp_t)); 52 memcpy(mc->mc_gpregs.gp_s, r->s, sizeof(mc->mc_gpregs.gp_s)); 53 memcpy(mc->mc_gpregs.gp_a, r->a, sizeof(mc->mc_gpregs.gp_a)); 54 mc->mc_gpregs.gp_ra = r->ra; 55 mc 65 const mcontext_t *mc; local [all...] |
/freebsd-11-stable/usr.bin/clang/llvm-mc/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/usr.bin/clang/llvm-mc/Makefile 360660 2020-05-05 17:10:49Z dim $ 3 PROG_CXX= llvm-mc 6 SRCDIR= llvm/tools/llvm-mc 8 SRCS+= llvm-mc.cpp
|
/freebsd-11-stable/lib/libthread_db/arch/amd64/ |
H A D | libpthread_md.c | 41 mcontext_t *mc = &uc->uc_mcontext; local 43 mc->mc_rdi = r->r_rdi; 44 mc->mc_rsi = r->r_rsi; 45 mc->mc_rdx = r->r_rdx; 46 mc->mc_rcx = r->r_rcx; 47 mc->mc_r8 = r->r_r8; 48 mc->mc_r9 = r->r_r9; 49 mc->mc_rax = r->r_rax; 50 mc->mc_rbx = r->r_rbx; 51 mc 68 const mcontext_t *mc = &uc->uc_mcontext; local [all...] |
/freebsd-11-stable/lib/libthread_db/arch/aarch64/ |
H A D | libpthread_md.c | 44 mcontext_t *mc = &uc->uc_mcontext; local 46 memcpy(mc->mc_gpregs.gp_x, r->x, sizeof(mc->mc_gpregs.gp_x)); 47 mc->mc_gpregs.gp_sp = r->sp; 48 mc->mc_gpregs.gp_lr = r->lr; 49 mc->mc_gpregs.gp_elr = r->elr; 50 mc->mc_gpregs.gp_spsr = r->spsr; 56 const mcontext_t *mc = &uc->uc_mcontext; local 58 memcpy(r->x, mc->mc_gpregs.gp_x, sizeof(mc 68 mcontext_t *mc = &uc->uc_mcontext; local 77 const mcontext_t *mc = &uc->uc_mcontext; local [all...] |
/freebsd-11-stable/lib/libthread_db/arch/powerpc/ |
H A D | libpthread_md.c | 39 mcontext_t *mc = &uc->uc_mcontext; local 41 memcpy(mc->mc_frame, r, MIN(sizeof(mc->mc_frame), sizeof(*r))); 47 const mcontext_t *mc = &uc->uc_mcontext; local 49 memcpy(r, mc->mc_frame, MIN(sizeof(mc->mc_frame), sizeof(*r))); 55 mcontext_t *mc = &uc->uc_mcontext; local 57 memcpy(mc->mc_fpreg, r, MIN(sizeof(mc->mc_fpreg), sizeof(*r))); 58 mc 64 const mcontext_t *mc = &uc->uc_mcontext; local [all...] |
/freebsd-11-stable/lib/libthread_db/arch/sparc64/ |
H A D | libpthread_md.c | 56 mcontext_t *mc = &uc->uc_mcontext; local 58 memcpy(mc->mc_fp, r->fr_regs, MIN(sizeof(mc->mc_fp), 60 mc->_mc_fsr = r->fr_fsr; 61 mc->_mc_gsr = r->fr_gsr; 62 mc->_mc_fprs |= FPRS_FEF; 68 const mcontext_t *mc = &uc->uc_mcontext; local 70 if ((mc->_mc_fprs & FPRS_FEF) != 0) { 71 memcpy(r->fr_regs, mc->mc_fp, MIN(sizeof(mc [all...] |
/freebsd-11-stable/lib/libgssapi/ |
H A D | gss_release_cred.c | 40 struct _gss_mechanism_cred *mc; local 46 mc = SLIST_FIRST(&cred->gc_mc); 48 mc->gmc_mech->gm_release_cred(minor_status, &mc->gmc_cred); 49 free(mc);
|
H A D | gss_set_cred_option.c | 50 struct _gss_mechanism_cred *mc; local 71 mc = malloc(sizeof(*mc)); 72 if (mc == NULL) { 79 mc->gmc_mech = m; 80 mc->gmc_mech_oid = &m->gm_mech_oid; 81 mc->gmc_cred = GSS_C_NO_CREDENTIAL; 84 minor_status, &mc->gmc_cred, object, value); 87 free(mc); 91 SLIST_INSERT_HEAD(&cred->gc_mc, mc, gmc_lin [all...] |
H A D | gss_add_cred.c | 39 _gss_copy_cred(struct _gss_mechanism_cred *mc) argument 42 struct _gss_mech_switch *m = mc->gmc_mech; 50 mc->gmc_cred, mc->gmc_mech_oid, 58 GSS_C_NO_CREDENTIAL, name, mc->gmc_mech_oid, 98 struct _gss_mechanism_cred *mc, *target_mc, *copy_mc; local 119 * We go through all the mc attached to the input_cred_handle 121 * gss_add_cred for that mechanism, otherwise we copy the mc 126 SLIST_FOREACH(mc, &cred->gc_mc, gmc_link) { 127 if (gss_oid_equal(mc [all...] |
H A D | gss_acquire_cred.c | 53 struct _gss_mechanism_cred *mc; local 118 mc = malloc(sizeof(struct _gss_mechanism_cred)); 119 if (!mc) { 122 mc->gmc_mech = m; 123 mc->gmc_mech_oid = &m->gm_mech_oid; 133 &mc->gmc_cred, NULL, &cred_time); 135 free(mc); 143 mc->gmc_mech_oid, actual_mechs); 146 &mc->gmc_cred); 147 free(mc); [all...] |
/freebsd-11-stable/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_release_cred.c | 57 struct _gss_mechanism_cred *mc; local 63 mc = HEIM_SLIST_FIRST(&cred->gc_mc); 65 mc->gmc_mech->gm_release_cred(minor_status, &mc->gmc_cred); 66 free(mc);
|
H A D | gss_set_cred_option.c | 43 struct _gss_mechanism_cred *mc; local 64 mc = malloc(sizeof(*mc)); 65 if (mc == NULL) { 72 mc->gmc_mech = &m->gm_mech; 73 mc->gmc_mech_oid = &m->gm_mech_oid; 74 mc->gmc_cred = GSS_C_NO_CREDENTIAL; 77 minor_status, &mc->gmc_cred, object, value); 80 free(mc); 84 HEIM_SLIST_INSERT_HEAD(&cred->gc_mc, mc, gmc_lin [all...] |
H A D | gss_add_cred.c | 32 _gss_copy_cred(struct _gss_mechanism_cred *mc) argument 35 gssapi_mech_interface m = mc->gmc_mech; 43 mc->gmc_cred, mc->gmc_mech_oid, 51 GSS_C_NO_CREDENTIAL, name, mc->gmc_mech_oid, 91 struct _gss_mechanism_cred *mc, *target_mc, *copy_mc; local 112 * We go through all the mc attached to the input_cred_handle 114 * gss_add_cred for that mechanism, otherwise we copy the mc 119 HEIM_SLIST_FOREACH(mc, &cred->gc_mc, gmc_link) { 120 if (gss_oid_equal(mc [all...] |
H A D | gss_acquire_cred_ext.c | 45 struct _gss_mechanism_cred *mc; local 50 mc = calloc(1, sizeof(struct _gss_mechanism_cred)); 51 if (mc == NULL) { 56 mc->gmc_mech = m; 57 mc->gmc_mech_oid = &m->gm_mech_oid; 60 set2.elements = mc->gmc_mech_oid; 68 mc->gmc_mech_oid, 70 &mc->gmc_cred); 85 &mc->gmc_cred, 94 &mc 154 struct _gss_mechanism_cred *mc = NULL; local [all...] |
H A D | gss_acquire_cred.c | 47 struct _gss_mechanism_cred *mc; local 114 mc = malloc(sizeof(struct _gss_mechanism_cred)); 115 if (!mc) { 118 mc->gmc_mech = m; 119 mc->gmc_mech_oid = &m->gm_mech_oid; 129 &mc->gmc_cred, NULL, &cred_time); 131 free(mc); 139 mc->gmc_mech_oid, actual_mechs); 142 &mc->gmc_cred); 143 free(mc); [all...] |
/freebsd-11-stable/lib/libc/sparc64/gen/ |
H A D | signalcontext.c | 52 mcontext_t *mc; local 54 mc = &ucp->uc_mcontext; 55 sfp = (struct sigframe *)(mc->_mc_sp + SPOFF) - 1; 64 mc->mc_global[1] = (uint64_t)func; 65 mc->mc_global[2] = (uint64_t)ucp; 66 mc->mc_out[0] = sig; 67 mc->mc_out[1] = (uint64_t)&sfp->sf_si; 68 mc->mc_out[2] = (uint64_t)&sfp->sf_uc; 69 mc->mc_out[6] = (uint64_t)fp - SPOFF; 70 mc [all...] |
H A D | makecontext.c | 50 mcontext_t *mc; local 55 mc = &ucp->uc_mcontext; 57 (mc->_mc_flags & ((1L << _MC_VERSION_BITS) - 1)) != _MC_VERSION) 62 mc->_mc_flags = 0; 65 mc = &ucp->uc_mcontext; 69 mc->mc_out[i] = va_arg(ap, uint64_t); 71 mc->mc_global[1] = (uint64_t)start; 72 mc->mc_global[2] = (uint64_t)ucp; 73 mc->mc_out[6] = sp - SPOFF - sizeof(struct frame); 74 mc [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | magic.c | 61 svn_magic__cookie_t *mc = (svn_magic__cookie_t*)baton; 62 magic_close(mc->magic); 72 svn_magic__cookie_t *mc = NULL; 91 mc = apr_palloc(result_pool, sizeof(*mc)); 98 mc->magic = magic_open(MAGIC_MIME | MAGIC_ERROR); 100 mc->magic = magic_open(MAGIC_MIME_TYPE | MAGIC_ERROR); 102 if (mc->magic) 107 if (magic_load(mc->magic, NULL) == -1) 109 magic_close(mc 60 svn_magic__cookie_t *mc = (svn_magic__cookie_t*)baton; local 71 svn_magic__cookie_t *mc = NULL; local [all...] |
/freebsd-11-stable/sys/dev/mlx/ |
H A D | mlx.c | 70 static int mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc); 75 static int mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc); 80 static int mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc); 89 static void mlx_periodic_enquiry(struct mlx_command *mc); 91 static void mlx_periodic_eventlog_respond(struct mlx_command *mc); 92 static void mlx_periodic_rebuild(struct mlx_command *mc); 98 static void mlx_pause_done(struct mlx_command *mc); 104 void (*complete)(struct mlx_command *mc)); 108 static int mlx_wait_command(struct mlx_command *mc); 109 static int mlx_poll_command(struct mlx_command *mc); 166 struct mlx_command *mc; local 1142 mlx_periodic_enquiry(struct mlx_command *mc) argument 1261 struct mlx_command *mc; local 1288 struct mlx_command *mc; local 1345 mlx_periodic_eventlog_respond(struct mlx_command *mc) argument 1419 mlx_periodic_rebuild(struct mlx_command *mc) argument 1472 struct mlx_command *mc; local 1528 mlx_pause_done(struct mlx_command *mc) argument 1557 struct mlx_command *mc; local 1596 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command *mc)) argument 1598 struct mlx_command *mc; local 1653 struct mlx_command *mc; local 1696 struct mlx_command *mc; local 1740 struct mlx_command *mc; local 1781 mlx_wait_command(struct mlx_command *mc) argument 1816 mlx_poll_command(struct mlx_command *mc) argument 1846 struct mlx_command *mc; local 1918 struct mlx_command *mc; local 1964 mlx_completeio(struct mlx_command *mc) argument 2000 struct mlx_command *mc; local 2051 struct mlx_command *mc; local 2142 mlx_getslot(struct mlx_command *mc) argument 2190 mlx_setup_dmamap(struct mlx_command *mc, bus_dma_segment_t *segs, int nsegments, int error) argument 2229 mlx_unmapcmd(struct mlx_command *mc) argument 2253 mlx_start(struct mlx_command *mc) argument 2300 struct mlx_command *mc; local 2350 struct mlx_command *mc, *nc; local 2415 struct mlx_command *mc; local 2446 mlx_releasecmd(struct mlx_command *mc) argument 2459 mlx_freecmd(struct mlx_command *mc) argument 2480 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2595 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2714 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2894 mlx_diagnose_command(struct mlx_command *mc) argument [all...] |
H A D | mlxreg.h | 503 mlx_make_type1(struct mlx_command *mc, argument 511 mc->mc_mailbox[0x0] = code; 512 mc->mc_mailbox[0x2] = f1 & 0xff; 513 mc->mc_mailbox[0x3] = (((f2 >> 24) & 0x3) << 6) | ((f1 >> 8) & 0x3f); 514 mc->mc_mailbox[0x4] = f2 & 0xff; 515 mc->mc_mailbox[0x5] = (f2 >> 8) & 0xff; 516 mc->mc_mailbox[0x6] = (f2 >> 16) & 0xff; 517 mc->mc_mailbox[0x7] = f3; 518 mc->mc_mailbox[0x8] = f4 & 0xff; 519 mc 526 mlx_make_type2(struct mlx_command *mc, u_int8_t code, u_int8_t f1, u_int8_t f2, u_int8_t f3, u_int8_t f4, u_int8_t f5, u_int8_t f6, u_int32_t f7, u_int8_t f8) argument 552 mlx_make_type3(struct mlx_command *mc, u_int8_t code, u_int8_t f1, u_int8_t f2, u_int16_t f3, u_int8_t f4, u_int8_t f5, u_int32_t f6, u_int8_t f7) argument 577 mlx_make_type4(struct mlx_command *mc, u_int8_t code, u_int16_t f1, u_int32_t f2, u_int32_t f3, u_int8_t f4) argument 599 mlx_make_type5(struct mlx_command *mc, u_int8_t code, u_int8_t f1, u_int8_t f2, u_int32_t f3, u_int32_t f4, u_int8_t f5) argument [all...] |
/freebsd-11-stable/contrib/apr-util/include/ |
H A D | apr_memcache.h | 90 * @param mc memcache instance, use mc->live_servers to select a node 94 apr_memcache_t *mc, 123 * @param mc The memcache client object to use 129 APU_DECLARE(apr_uint32_t) apr_memcache_hash(apr_memcache_t *mc, 149 * @param mc The memcache client object to use 154 APU_DECLARE(apr_memcache_server_t *) apr_memcache_find_server_hash(apr_memcache_t *mc, 161 apr_memcache_t *mc, 166 * @param mc The memcache client object to use 172 APU_DECLARE(apr_status_t) apr_memcache_add_server(apr_memcache_t *mc, [all...] |
/freebsd-11-stable/lib/libc/mips/gen/ |
H A D | makecontext.c | 56 mcontext_t *mc; local 65 * mc->mc_regs[ZERO] perhaps? 71 mc = &ucp->uc_mcontext; 85 mc->mc_regs[SP] = (intptr_t)sp; 86 mc->mc_regs[S0] = (intptr_t)ucp; 87 mc->mc_regs[T9] = (intptr_t)func; 88 mc->mc_pc = (intptr_t)_ctx_start; 96 mc->mc_regs[A0 + i] = va_arg(ap, register_t); 104 mc->mc_regs[A0 + i] = va_arg(ap, register_t);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_mirror.c | 207 mirror_child_t *mc; local 243 mc = &mm->mm_child[c]; 244 mc->mc_vd = vdev_lookup_top(spa, DVA_GET_VDEV(&dva[c])); 245 mc->mc_offset = DVA_GET_OFFSET(&dva[c]); 282 mc = &mm->mm_child[c]; 283 mc->mc_vd = vd->vdev_child[c]; 284 mc->mc_offset = zio->io_offset; 344 mirror_child_t *mc = zio->io_private; local 346 mc->mc_error = zio->io_error; 347 mc 354 mirror_child_t *mc = zio->io_private; local 439 mirror_child_t *mc; local 506 mirror_child_t *mc; local 576 mirror_child_t *mc = &mm->mm_child[c]; local 588 mirror_child_t *mc; local [all...] |
/freebsd-11-stable/sys/dev/mly/ |
H A D | mly.c | 76 static void mly_complete_rescan(struct mly_command *mc); 84 static void mly_complete_event(struct mly_command *mc); 88 static int mly_immediate_command(struct mly_command *mc); 89 static int mly_start(struct mly_command *mc); 95 static void mly_release_command(struct mly_command *mc); 99 static void mly_map_command(struct mly_command *mc); 100 static void mly_unmap_command(struct mly_command *mc); 108 static void mly_cam_complete(struct mly_command *mc); 117 static void mly_print_command(struct mly_command *mc); 118 static void mly_print_packet(struct mly_command *mc); 839 struct mly_command *mc; local 897 mly_complete_rescan(struct mly_command *mc) argument 1111 struct mly_command *mc; local 1214 struct mly_command *mc; local 1283 mly_complete_event(struct mly_command *mc) argument 1444 mly_immediate_command(struct mly_command *mc) argument 1478 mly_start(struct mly_command *mc) argument 1548 struct mly_command *mc; local 1635 struct mly_command *mc; local 1685 struct mly_command *mc; local 1700 mly_release_command(struct mly_command *mc) argument 1747 struct mly_command *mc; local 1790 struct mly_command *mc; local 1812 struct mly_command *mc = (struct mly_command *)arg; local 1867 mly_map_command(struct mly_command *mc) argument 1898 mly_unmap_command(struct mly_command *mc) argument 2207 struct mly_command *mc; local 2331 mly_cam_complete(struct mly_command *mc) argument 2607 mly_print_command(struct mly_command *mc) argument 2629 mly_print_packet(struct mly_command *mc) argument 2888 struct mly_command *mc; local 2995 struct mly_command *mc; local [all...] |
/freebsd-11-stable/lib/libc/powerpc/gen/ |
H A D | makecontext.c | 61 mcontext_t *mc; local 85 mc = &ucp->uc_mcontext; 96 mc->mc_gpr[3 + i] = va_arg(ap, uint32_t); 116 mc->mc_srr0 = (uint32_t) _ctx_start; 117 mc->mc_gpr[1] = (uint32_t) sp; /* new stack pointer */ 118 mc->mc_gpr[14] = (uint32_t) start; /* r14 <- start */ 119 mc->mc_gpr[15] = (uint32_t) ucp; /* r15 <- ucp */
|