/freebsd-10-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-10-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-10-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-10-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...] |
H A D | gss_cred.c | 51 struct _gss_mechanism_cred *mc; local 65 HEIM_SLIST_FOREACH(mc, &cred->gc_mc, gmc_link) { 66 if (mc->gmc_mech->gm_export_cred == NULL) { 78 HEIM_SLIST_FOREACH(mc, &cred->gc_mc, gmc_link) { 80 major = mc->gmc_mech->gm_export_cred(minor_status, 81 mc->gmc_cred, &buffer); 146 struct _gss_mechanism_cred *mc; local 193 mc = malloc(sizeof(struct _gss_mechanism_cred)); 194 if (mc == NULL) { 200 mc [all...] |
/freebsd-10-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-10-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-10-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-10-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 1135 mlx_periodic_enquiry(struct mlx_command *mc) argument 1254 struct mlx_command *mc; local 1281 struct mlx_command *mc; local 1338 mlx_periodic_eventlog_respond(struct mlx_command *mc) argument 1412 mlx_periodic_rebuild(struct mlx_command *mc) argument 1465 struct mlx_command *mc; local 1521 mlx_pause_done(struct mlx_command *mc) argument 1550 struct mlx_command *mc; local 1589 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command *mc)) argument 1591 struct mlx_command *mc; local 1646 struct mlx_command *mc; local 1689 struct mlx_command *mc; local 1733 struct mlx_command *mc; local 1774 mlx_wait_command(struct mlx_command *mc) argument 1809 mlx_poll_command(struct mlx_command *mc) argument 1839 struct mlx_command *mc; local 1911 struct mlx_command *mc; local 1957 mlx_completeio(struct mlx_command *mc) argument 1993 struct mlx_command *mc; local 2044 struct mlx_command *mc; local 2135 mlx_getslot(struct mlx_command *mc) argument 2183 mlx_setup_dmamap(struct mlx_command *mc, bus_dma_segment_t *segs, int nsegments, int error) argument 2222 mlx_unmapcmd(struct mlx_command *mc) argument 2246 mlx_start(struct mlx_command *mc) argument 2293 struct mlx_command *mc; local 2343 struct mlx_command *mc, *nc; local 2408 struct mlx_command *mc; local 2439 mlx_releasecmd(struct mlx_command *mc) argument 2452 mlx_freecmd(struct mlx_command *mc) argument 2473 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2588 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2707 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2887 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-10-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-10-stable/lib/libc/mips/gen/ |
H A D | makecontext.c | 55 mcontext_t *mc; local 64 * mc->mc_regs[ZERO] perhaps? 70 mc = &ucp->uc_mcontext; 84 mc->mc_regs[SP] = (intptr_t)sp; 85 mc->mc_regs[S0] = (intptr_t)ucp; 86 mc->mc_regs[T9] = (intptr_t)func; 87 mc->mc_pc = (intptr_t)_ctx_start; 95 mc->mc_regs[A0 + i] = va_arg(ap, register_t); 103 mc->mc_regs[A0 + i] = va_arg(ap, register_t);
|
/freebsd-10-stable/sys/ia64/ia64/ |
H A D | unaligned.c | 50 fpreg_ptr(mcontext_t *mc, int fr) argument 57 p = &mc->mc_high_fp.fr32; 60 p = &mc->mc_preserved_fp.fr16; 63 p = &mc->mc_scratch_fp.fr6; 66 p = &mc->mc_preserved_fp.fr2; 73 greg_ptr(mcontext_t *mc, int gr) argument 78 if (gr <= 0 || gr >= 32 + (mc->mc_special.cfm & 0x7f)) 81 nslots = IA64_CFM_SOF(mc->mc_special.cfm) - gr + 32; 82 p = (void *)ia64_bsp_adjust(mc->mc_special.bspstore, -nslots); 85 p = &mc 127 fixup(struct asm_inst *i, mcontext_t *mc, uint64_t va) argument [all...] |
/freebsd-10-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); 94 static void mly_release_command(struct mly_command *mc); 98 static void mly_map_command(struct mly_command *mc); 99 static void mly_unmap_command(struct mly_command *mc); 107 static void mly_cam_complete(struct mly_command *mc); 116 static void mly_print_command(struct mly_command *mc); 117 static void mly_print_packet(struct mly_command *mc); 814 struct mly_command *mc; local 872 mly_complete_rescan(struct mly_command *mc) argument 1086 struct mly_command *mc; local 1188 struct mly_command *mc; local 1257 mly_complete_event(struct mly_command *mc) argument 1417 mly_immediate_command(struct mly_command *mc) argument 1454 mly_start(struct mly_command *mc) argument 1531 struct mly_command *mc; local 1610 struct mly_command *mc; local 1661 struct mly_command *mc; local 1676 mly_release_command(struct mly_command *mc) argument 1723 struct mly_command *mc; local 1766 struct mly_command *mc; local 1788 struct mly_command *mc = (struct mly_command *)arg; local 1843 mly_map_command(struct mly_command *mc) argument 1874 mly_unmap_command(struct mly_command *mc) argument 2174 struct mly_command *mc; local 2303 mly_cam_complete(struct mly_command *mc) argument 2582 mly_print_command(struct mly_command *mc) argument 2604 mly_print_packet(struct mly_command *mc) argument 2859 struct mly_command *mc; local 2957 struct mly_command *mc; local [all...] |
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_mirror.c | 212 mirror_child_t *mc; local 223 mc = &mm->mm_child[c]; 224 mc->mc_vd = vdev_lookup_top(spa, DVA_GET_VDEV(&dva[c])); 225 mc->mc_offset = DVA_GET_OFFSET(&dva[c]); 262 mc = &mm->mm_child[c]; 263 mc->mc_vd = vd->vdev_child[c]; 264 mc->mc_offset = zio->io_offset; 321 mirror_child_t *mc = zio->io_private; local 323 mc->mc_error = zio->io_error; 324 mc 331 mirror_child_t *mc = zio->io_private; local 417 mirror_child_t *mc; local 484 mirror_child_t *mc; local 543 mirror_child_t *mc = &mm->mm_child[c]; local 555 mirror_child_t *mc; local [all...] |
/freebsd-10-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 */
|
/freebsd-10-stable/lib/libc/powerpc64/gen/ |
H A D | makecontext.c | 61 mcontext_t *mc; local 85 mc = &ucp->uc_mcontext; 94 mc->mc_gpr[3 + i] = va_arg(ap, uint64_t); 114 mc->mc_srr0 = *(uintptr_t *)_ctx_start; 115 mc->mc_gpr[1] = (uintptr_t) sp; /* new stack pointer */ 116 mc->mc_gpr[14] = (uintptr_t) start; /* r14 <- start */ 117 mc->mc_gpr[15] = (uintptr_t) ucp; /* r15 <- ucp */
|