/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmtdev.c | 40 unsigned int ma = major(idevice(st)); local 44 if (ma == '#' && isalnum(mi)) 50 buf[0] = ma; 55 sfsprintf(buf, z, "%03d,%03d", ma, mi);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_macalias.c | 103 const mdb_macalias_t *ma = &mdb_macaliases[i]; local 104 (void) mdb_nv_insert(&mdb.m_macaliases, ma->ma_name, NULL, 105 (uintptr_t)ma->ma_defn, MDB_NV_RDONLY | MDB_NV_EXTNAME | 134 const mdb_macalias_t *ma = &mdb_macaliases[i]; local 135 mdb_printf("%-20s %s\n", ma->ma_name, ma->ma_defn);
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mach_kdi.c | 171 ulong_t ma[1]; local 185 ma[0] = (ulong_t)(pa_to_ma(gdtpa) >> PAGESHIFT); 187 if (HYPERVISOR_set_gdt(ma, PAGESIZE / sizeof (user_desc_t))) 226 ulong_t ma[1]; local 244 ma[0] = (ulong_t)(pa_to_ma(gdtpa) >> PAGESHIFT); 246 if (HYPERVISOR_set_gdt(ma, PAGESIZE / sizeof (user_desc_t)))
|
H A D | xen_mmu.c | 388 ma_to_pa(maddr_t ma) argument 390 pfn_t pfn = mfn_to_pfn(mmu_btop(ma)); 394 return (pfn_to_pa(pfn) + (ma & MMU_PAGEOFFSET));
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | check_bound.c | 330 struct nd_mergearg ma; local 347 ma.c_uaddr = saddr; 351 ma.c_uaddr = taddr2uaddr(fdl->nconf, svc_getrpccaller(xprt)); 352 if (ma.c_uaddr == NULL) { 363 ma.s_uaddr = uaddr; 364 stat = netdir_options(fdl->nconf, ND_MERGEADDR, 0, (char *)&ma); 367 else if ((ma.s_uaddr = taddr2uaddr(fdl->nconf, 369 ma.s_uaddr = uaddr; 370 stat = netdir_options(fdl->nconf, ND_MERGEADDR, 0, (char *)&ma); 379 /* Get the INET/INET6 address part from ma [all...] |
H A D | rpcb_svc_com.c | 711 struct nd_mergearg ma; local 938 ma.c_uaddr = taddr2uaddr(nconf, caller); 939 ma.s_uaddr = rbl->rpcb_map.r_addr; 943 * ma.m_uaddr. It's passed to forward_register() and is 946 stat = netdir_options(nconf, ND_MERGEADDR, 0, (char *)&ma); 948 free(ma.c_uaddr); 956 free(ma.m_uaddr); 963 fi = forward_register(bd->su_xid, caller, fd, ma.m_uaddr); 966 free(ma.m_uaddr); 982 free(ma [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/nfs4cbd/ |
H A D | nfs4cbd.c | 233 struct nd_mergearg ma; local 266 ma.s_uaddr = ua; 267 ma.c_uaddr = ua2; 268 ma.m_uaddr = NULL; 270 if (netdir_options(nconf, ND_MERGEADDR, 0, (char *)&ma)) { 277 mua = ma.m_uaddr;
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_kdi.c | 129 kdi_mtop(uint64_t ma) argument 132 mfn_t mfn = ma >> MMU_PAGESHIFT; 135 return (ma | PFN_IS_FOREIGN_MFN); 139 return (ma | PFN_IS_FOREIGN_MFN); 140 return (pfn_to_pa(pfn) | (ma & MMU_PAGEOFFSET));
|
H A D | kboot_mmu.c | 208 kbm_map_ma(maddr_t ma, uintptr_t va, uint_t level) argument 213 pteval = ma | PT_NOCONSIST | PT_VALID | PT_REF | PT_WRITABLE;
|
H A D | htable.c | 2189 maddr_t ma; local 2193 ma = pa_to_ma(PT_INDEX_PHYSADDR(pfn_to_pa(ht->ht_pfn), entry)); 2194 t[0].ptr = ma | MMU_NORMAL_PT_UPDATE; 2203 ma = pa_to_ma(PT_INDEX_PHYSADDR(pfn_to_pa( 2205 t[1].ptr = ma | MMU_NORMAL_PT_UPDATE; 2261 maddr_t ma; local 2266 ma = pa_to_ma(PT_INDEX_PHYSADDR(pfn_to_pa(ht->ht_pfn), entry)); 2267 t[0].ptr = ma | MMU_NORMAL_PT_UPDATE;
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | i86mmu.c | 321 mdb_ma_to_pa(uint64_t ma) argument 323 pfn_t pfn = mdb_mfn_to_pfn(mmu_btop(ma)); 327 return (mmu_ptob((paddr_t)pfn) | (ma & (MMU_PAGESIZE - 1))); 332 #define mdb_ma_to_pa(ma) (ma)
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | hypercall.c | 126 HYPERVISOR_update_descriptor(maddr_t ma, uint64_t desc) argument 130 return (__hypercall2(__HYPERVISOR_update_descriptor, ma, desc)); 135 (ulong_t)ma, (ulong_t)(ma >>32),
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | desctbls.c | 580 ulong_t ma[1]; /* XXPV should be a memory_t */ local 611 ma[0] = (ulong_t)(pa_to_ma(gdtpa) >> PAGESHIFT); 613 xen_set_gdt(ma, NGDT); 804 ulong_t ma[1]; /* XXPV should be a memory_t */ local 834 ma[0] = (ulong_t)(pa_to_ma(gdtpa) >> PAGESHIFT); 836 xen_set_gdt(ma, NGDT);
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet_sundry.c | 97 struct nd_mergearg *ma; local 111 ma = (struct nd_mergearg *)(par); 112 ma->m_uaddr = inet_netdir_mergeaddr(tp, ma->c_uaddr, 113 ma->s_uaddr);
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | pm3393.c | 620 static int pm3393_macaddress_set(struct cmac *cmac, u8 ma[6]) argument 627 * ma[5] = 0x09 628 * ma[4] = 0x13 629 * ma[3] = 0x00 630 * ma[2] = 0x43 631 * ma[1] = 0x07 632 * ma[0] = 0x00 637 * low_bits[15:0] = ma[1]:ma[0] 638 * mid_bits[31:16] = ma[ [all...] |
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/ |
H A D | xpv_support.c | 276 kbm_map_ma(maddr_t ma, uintptr_t va, uint_t level) argument 281 mmu_btop(ma), PROT_READ | PROT_WRITE, HAT_LOAD);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem.c | 788 struct vis_conscopy ma; local 792 ma.s_row = nrows * tems.ts_font.height; 793 ma.e_row = tems.ts_p_dimension.height - 1; 794 ma.t_row = 0; 796 ma.s_col = 0; 797 ma.e_col = tems.ts_p_dimension.width - 1; 798 ma.t_col = 0; 800 tems_safe_copy(&ma, credp, called_from);
|
H A D | tem_safe.c | 1459 struct vis_conscopy ma; local 1478 ma.s_row = s_row * tems.ts_font.height + tems.ts_p_offset.y; 1479 ma.e_row = (e_row + 1) * tems.ts_font.height + tems.ts_p_offset.y - 1; 1480 ma.t_row = t_row * tems.ts_font.height + tems.ts_p_offset.y; 1490 * console term. So that we set ma.e_col to entire row here. 1492 ma.s_col = s_col * tems.ts_font.width; 1493 ma.e_col = tems.ts_p_dimension.width - 1; 1495 ma.t_col = t_col * tems.ts_font.width; 1497 ma.s_col = s_col * tems.ts_font.width + tems.ts_p_offset.x; 1498 ma [all...] |
/illumos-gate/usr/src/uts/intel/os/ |
H A D | fmsmb.c | 349 smbios_memarray_t ma; local 375 "proc (%d) ext_ma (%d) ma (%d) ext_mdev (%d) mdev (%d)\n", 431 (void) smbios_info_memarray(shp, ma_id, &ma); 432 if (ma.smbma_use != SMB_MAU_SYSTEM)
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_startkern.c | 298 * poorly protected. A bad value of "ma" will cause a page fault. 301 ma_to_pa(maddr_t ma) argument 303 ulong_t pgoff = ma & MMU_PAGEOFFSET; 304 ulong_t pfn = mfn_to_pfn_mapping[mmu_btop(ma)]; 311 if (ma != pa_to_ma(pa)) 313 "pa_to_ma() says %" PRIx64 "\n", ma, pa, pa_to_ma(pa)); 494 map_ma_at_va(maddr_t ma, native_ptr_t va, uint_t level) argument 499 pteval = ma | pte_bits; 505 if (map_debug && ma != va) 506 dboot_printf("mapping ma [all...] |
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_vgatext.c | 932 vgatext_cons_copy(struct vgatext_softc *softc, struct vis_conscopy *ma) argument 947 if (ma->s_col < 0 || ma->s_col >= TEXT_COLS || 948 ma->s_row < 0 || ma->s_row >= TEXT_ROWS || 949 ma->e_col < 0 || ma->e_col >= TEXT_COLS || 950 ma->e_row < 0 || ma->e_row >= TEXT_ROWS || 951 ma [all...] |
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 769 smbios_memarray_t ma; local 771 (void) smbios_info_memarray(shp, id, &ma); 773 desc_printf(smbios_memarray_loc_desc(ma.smbma_location), 774 fp, " Location: %u", ma.smbma_location); 776 desc_printf(smbios_memarray_use_desc(ma.smbma_use), 777 fp, " Use: %u", ma.smbma_use); 779 desc_printf(smbios_memarray_ecc_desc(ma.smbma_ecc), 780 fp, " ECC: %u", ma.smbma_ecc); 782 oprintf(fp, " Number of Slots/Sockets: %u\n", ma.smbma_ndevs); 783 id_printf(fp, " Memory Error Data: ", ma 881 smbios_memarrmap_t ma; local [all...] |
/illumos-gate/usr/src/common/bignum/ |
H A D | bignumimpl.c | 1891 big_modexp_ncp_int(BIGNUM *result, BIGNUM *ma, BIGNUM *e, BIGNUM *n, argument 1930 (void) big_copy(&(apowers[0]), ma); 1932 if ((err = big_mont_mul(&tmp1, ma, ma, n, n0)) != BIG_OK) { 1935 (void) big_copy(ma, &tmp1); 1938 if ((err = big_mont_mul(&tmp1, ma, 2044 big_modexp_ncp_float(BIGNUM *result, BIGNUM *ma, BIGNUM *e, BIGNUM *n, argument 2122 for (i = 0; i < ma->len; i++) { 2123 nint[i] = ma->value[i]; 2129 for (i = 0; i < ma 2301 BIGNUM ma, tmp, rr; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 2119 str2dbl(const char *str, const char *what, double mi, double ma) argument 2136 if (val > ma && ma >= 0) { 2137 Fprintf(stderr, "%s: %s must be <= %f\n", prog, what, ma); 2147 str2int(const char *str, const char *what, int mi, int ma) argument 2176 if (val > ma && ma >= 0) { 2177 Fprintf(stderr, "%s: %s must be <= %d\n", prog, what, ma);
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 138 static int upload_config_file(struct adapter *sc, uint32_t *mt, uint32_t *ma); 1089 upload_config_file(struct adapter *sc, uint32_t *mt, uint32_t *ma) argument 1105 *ma = maddr = G_FW_PARAMS_PARAM_Z(val) << 16;
|