/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/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-10.0-release/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.0-release/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.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | magic.c | 59 svn_magic__cookie_t *mc = (svn_magic__cookie_t*)baton; 60 magic_close(mc->magic); 70 svn_magic__cookie_t *mc = NULL; 73 mc = apr_palloc(result_pool, sizeof(*mc)); 80 mc->magic = magic_open(MAGIC_MIME | MAGIC_ERROR); 82 mc->magic = magic_open(MAGIC_MIME_TYPE | MAGIC_ERROR); 84 if (mc->magic) 89 if (magic_load(mc->magic, NULL) == -1) 91 magic_close(mc 58 svn_magic__cookie_t *mc = (svn_magic__cookie_t*)baton; local 69 svn_magic__cookie_t *mc = NULL; local [all...] |
/freebsd-10.0-release/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 1134 mlx_periodic_enquiry(struct mlx_command *mc) argument 1253 struct mlx_command *mc; local 1280 struct mlx_command *mc; local 1337 mlx_periodic_eventlog_respond(struct mlx_command *mc) argument 1411 mlx_periodic_rebuild(struct mlx_command *mc) argument 1464 struct mlx_command *mc; local 1520 mlx_pause_done(struct mlx_command *mc) argument 1549 struct mlx_command *mc; local 1588 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command *mc)) argument 1590 struct mlx_command *mc; local 1645 struct mlx_command *mc; local 1688 struct mlx_command *mc; local 1732 struct mlx_command *mc; local 1773 mlx_wait_command(struct mlx_command *mc) argument 1808 mlx_poll_command(struct mlx_command *mc) argument 1838 struct mlx_command *mc; local 1910 struct mlx_command *mc; local 1956 mlx_completeio(struct mlx_command *mc) argument 1992 struct mlx_command *mc; local 2043 struct mlx_command *mc; local 2134 mlx_getslot(struct mlx_command *mc) argument 2182 mlx_setup_dmamap(struct mlx_command *mc, bus_dma_segment_t *segs, int nsegments, int error) argument 2221 mlx_unmapcmd(struct mlx_command *mc) argument 2245 mlx_start(struct mlx_command *mc) argument 2292 struct mlx_command *mc; local 2342 struct mlx_command *mc, *nc; local 2407 struct mlx_command *mc; local 2438 mlx_releasecmd(struct mlx_command *mc) argument 2451 mlx_freecmd(struct mlx_command *mc) argument 2472 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2587 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2706 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) argument 2886 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.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_mirror.c | 76 mirror_child_t *mc; local 105 mc = &mm->mm_child[c]; 107 mc->mc_vd = vdev_lookup_top(spa, DVA_GET_VDEV(&dva[c])); 108 mc->mc_offset = DVA_GET_OFFSET(&dva[c]); 122 mc = &mm->mm_child[c]; 123 mc->mc_vd = vd->vdev_child[c]; 124 mc->mc_offset = zio->io_offset; 181 mirror_child_t *mc = zio->io_private; local 183 mc->mc_error = zio->io_error; 184 mc 191 mirror_child_t *mc = zio->io_private; local 221 mirror_child_t *mc; local 269 mirror_child_t *mc; local 326 mirror_child_t *mc = &mm->mm_child[c]; local 338 mirror_child_t *mc; local [all...] |
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | metaslab.h | 54 extern int metaslab_alloc(spa_t *spa, metaslab_class_t *mc, uint64_t psize, 63 extern void metaslab_class_destroy(metaslab_class_t *mc); 64 extern int metaslab_class_validate(metaslab_class_t *mc); 66 extern void metaslab_class_space_update(metaslab_class_t *mc, 69 extern uint64_t metaslab_class_get_alloc(metaslab_class_t *mc); 70 extern uint64_t metaslab_class_get_space(metaslab_class_t *mc); 71 extern uint64_t metaslab_class_get_dspace(metaslab_class_t *mc); 72 extern uint64_t metaslab_class_get_deferred(metaslab_class_t *mc); 73 extern uint64_t metaslab_class_get_minblocksize(metaslab_class_t *mc); 75 extern metaslab_group_t *metaslab_group_create(metaslab_class_t *mc, [all...] |
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/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); 812 struct mly_command *mc; local 870 mly_complete_rescan(struct mly_command *mc) argument 1084 struct mly_command *mc; local 1186 struct mly_command *mc; local 1255 mly_complete_event(struct mly_command *mc) argument 1415 mly_immediate_command(struct mly_command *mc) argument 1452 mly_start(struct mly_command *mc) argument 1529 struct mly_command *mc; local 1608 struct mly_command *mc; local 1659 struct mly_command *mc; local 1674 mly_release_command(struct mly_command *mc) argument 1721 struct mly_command *mc; local 1764 struct mly_command *mc; local 1786 struct mly_command *mc = (struct mly_command *)arg; local 1841 mly_map_command(struct mly_command *mc) argument 1872 mly_unmap_command(struct mly_command *mc) argument 2172 struct mly_command *mc; local 2301 mly_cam_complete(struct mly_command *mc) argument 2580 mly_print_command(struct mly_command *mc) argument 2602 mly_print_packet(struct mly_command *mc) argument 2857 struct mly_command *mc; local 2957 struct mly_command *mc; local [all...] |
/freebsd-10.0-release/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.0-release/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 */
|