/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios_test_memdevice.c | 59 smbios_test_memdevice_fill(smb_memdevice_t *mem) in smbios_test_memdevice_fill() argument 61 mem->smbmdev_hdr.smbh_type = SMB_TYPE_MEMDEVICE; in smbios_test_memdevice_fill() 62 mem->smbmdev_hdr.smbh_len = sizeof (smb_memdevice_t); in smbios_test_memdevice_fill() 64 mem->smbmdev_array = 0xffff; in smbios_test_memdevice_fill() 65 mem->smbmdev_error = htole16(0xfffe); in smbios_test_memdevice_fill() 66 mem->smbmdev_twidth = 64; in smbios_test_memdevice_fill() 67 mem->smbmdev_dwidth = 64; in smbios_test_memdevice_fill() 68 mem->smbmdev_size = 0x7fff; in smbios_test_memdevice_fill() 69 mem->smbmdev_form = SMB_MDFF_FBDIMM; in smbios_test_memdevice_fill() 70 mem->smbmdev_set = 0; in smbios_test_memdevice_fill() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frutree/ |
H A D | piclfrutree.info | 33 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2900 34 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a0 35 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3100 36 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a2 37 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2901 38 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a4 39 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3101 40 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a6 41 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3000 42 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a8 [all …]
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_osdep.c | 26 i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem, u32 size) in i40e_allocate_virt_mem() argument 28 mem->va = kmem_zalloc(size, KM_SLEEP); in i40e_allocate_virt_mem() 29 mem->size = size; in i40e_allocate_virt_mem() 35 i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem) in i40e_free_virt_mem() argument 37 if (mem->va != NULL) in i40e_free_virt_mem() 38 kmem_free(mem->va, mem->size); in i40e_free_virt_mem() 44 i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem, in i40e_allocate_dma_mem() argument 62 mem->idm_alignment = alignment; in i40e_allocate_dma_mem() 64 DDI_DMA_DONTWAIT, NULL, &mem->idm_dma_handle); in i40e_allocate_dma_mem() 66 mem->idm_dma_handle = NULL; in i40e_allocate_dma_mem() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frutree/ |
H A D | piclfrutree.info | 33 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2900 34 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a0 35 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3100 36 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a2 37 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J2901 38 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a4 39 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3101 40 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a6 41 name:/frutree/chassis/system-board/cpu-mem-slot?Label=A/mem-slot?Label=J3000 42 REFNODE mem-module fru WITH /platform/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a8 [all …]
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndr_gen.c | 110 ndr_member_t *mem; in generate_struct() local 122 mem = &ti->member[i]; in generate_struct() 123 if (mem->type->type_op != BASIC_TYPE) in generate_struct() 126 generate_member(ti, mem); in generate_struct() 132 mem = &ti->member[i]; in generate_struct() 133 if (mem->type->type_op == BASIC_TYPE) in generate_struct() 136 if (mem->type->has_pointers) in generate_struct() 139 generate_member(ti, mem); in generate_struct() 145 mem = &ti->member[i]; in generate_struct() 146 if (mem->type->type_op == BASIC_TYPE) in generate_struct() [all …]
|
H A D | ndr_anal.c | 81 ndr_member_t *mem; in show_typeinfo_list() local 123 mem = &ti->member[i]; in show_typeinfo_list() 124 show_advice(&mem->advice, 2); in show_typeinfo_list() 125 type_extern_suffix(mem->type, fname_type, NDLBUFSZ); in show_typeinfo_list() 127 mem->name, fname_type); in show_typeinfo_list() 129 tdti = mem->type; in show_typeinfo_list() 134 mem->pdu_offset); in show_typeinfo_list() 343 ndr_member_t *mem; in analyze_typeinfo_typedef() local 363 mem = &ti->member[i]; in analyze_typeinfo_typedef() 367 analyze_member(mem_np, mem, in analyze_typeinfo_typedef() [all …]
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | fth_struct.c | 153 fth_slist_add(fth_str_mem_t *mem) in fth_slist_add() argument 159 if (fth_struct_memcmp(l, mem) > 0) { in fth_slist_add() 160 list_insert_before(&fth_str_curmems, l, mem); in fth_slist_add() 164 list_insert_tail(&fth_str_curmems, mem); in fth_slist_add() 168 fth_free_str_mem(fth_str_mem_t *mem) in fth_free_str_mem() argument 170 free(mem->fsm_memname); in fth_free_str_mem() 171 if (mem->fsm_format) in fth_free_str_mem() 172 free(mem->fsm_format); in fth_free_str_mem() 173 free(mem); in fth_free_str_mem() 324 fth_str_mem_t mem; in fth_print_array() local [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | hash.c | 81 HashMemory *mem; /* HashTable free-list */ member 113 HashMemory *mem; in _new_HashMemory() local 117 mem = (HashMemory *) malloc(sizeof(HashMemory)); in _new_HashMemory() 118 if(!mem) { in _new_HashMemory() 126 mem->hash_memory = NULL; in _new_HashMemory() 127 mem->node_memory = NULL; in _new_HashMemory() 128 mem->string_memory = NULL; in _new_HashMemory() 132 mem->hash_memory = _new_FreeList(sizeof(HashTable), hash_count); in _new_HashMemory() 133 if(!mem->hash_memory) in _new_HashMemory() 134 return _del_HashMemory(mem, 1); in _new_HashMemory() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/ |
H A D | system-board.info | 61 NODE mem-slot location 65 NODE mem-slot location 69 NODE mem-slot location 73 NODE mem-slot location 77 NODE mem-slot location 81 NODE mem-slot location 85 NODE mem-slot location 89 NODE mem-slot location 143 name:/frutree/chassis/system-board/mem-slot?Label=J0100 144 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a0 [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/frutree/ |
H A D | system-board.info | 46 NODE mem-slot location 50 NODE mem-slot location 54 NODE mem-slot location 58 NODE mem-slot location 81 name:/frutree/chassis/system-board/mem-slot?Label=DIMM0 82 REFNODE mem-module fru WITH /platform/pci/pmu/i2c/dimm?UnitAddress=0,a0 83 REFNODE mem-module fru WITH /platform/pci/pmu/i2c/dimm-spd?UnitAddress=0,a0 85 name:/frutree/chassis/system-board/mem-slot?Label=DIMM1 86 REFNODE mem-module fru WITH /platform/pci/pmu/i2c/dimm?UnitAddress=0,a2 87 REFNODE mem-module fru WITH /platform/pci/pmu/i2c/dimm-spd?UnitAddress=0,a2 [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/frutree/ |
H A D | system-board.info | 66 NODE mem-slot location 71 NODE mem-slot location 76 NODE mem-slot location 81 NODE mem-slot location 86 NODE mem-slot location 91 NODE mem-slot location 96 NODE mem-slot location 101 NODE mem-slot location 172 name:/frutree/chassis/system-board/mem-slot?Label=J0407 173 REFNODE mem-module fru WITH name:/platform/pci@8,700000/ebus/i2c@1,2e/dimm-fru@1,ae [all …]
|
/illumos-gate/usr/src/tools/ctf/common/ |
H A D | memory.c | 47 void *mem; in xmalloc() local 49 if ((mem = malloc(size)) == NULL) in xmalloc() 52 return (mem); in xmalloc() 58 void *mem; in xcalloc() local 60 mem = xmalloc(size); in xcalloc() 61 bzero(mem, size); in xcalloc() 63 return (mem); in xcalloc() 94 void *mem; in xrealloc() local 96 if ((mem = realloc(ptr, size)) == NULL) in xrealloc() 99 return (mem); in xrealloc()
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | memleak.awk | 6 mem[$6] = $0 9 mem[$8] = ""; 10 mem[$10] = $0 13 if (mem[$6]=="") { 16 mem[$6] = ""; 25 for(addr in mem){ 26 if( mem[addr]=="" ) continue 27 print mem[addr], str[addr]
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/ |
H A D | PlatformCommon.c | 93 mDNSu32 *mem = malloc(sizeof(mDNSu32) * 4 + size); in mallocL() local 95 if (!mem) in mallocL() 99 mDNSu32 *after = (mDNSu32 *)((mDNSu8 *)(mem + 2) + size); in mallocL() 100 …e > kAllocLargeSize) LogMsg("malloc( %s : %lu ) @ %p suspiciously large", msg, size, &mem[2]); in mallocL() 101 …S_MALLOC_DEBUGGING >= 2) LogMsg("malloc( %s : %lu ) @ %p", msg, size, &mem[2]); in mallocL() 102 mem[ 0] = kAllocMagic; in mallocL() 104 mem[ 1] = size; in mallocL() 107 memset(&mem[2], 0xFF, size); in mallocL() 109 return(&mem[2]); in mallocL() 120 mDNSu32 *mem = (mDNSu32 *)calloc(1, headerSize + size); in callocL() local [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/ |
H A D | piclfrutree.info | 33 name:/frutree/chassis/system-board/mem-slot?Label=J0100 34 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a0 36 name:/frutree/chassis/system-board/mem-slot?Label=J0101 37 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a2 39 name:/frutree/chassis/system-board/mem-slot?Label=J0202 40 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a4 42 name:/frutree/chassis/system-board/mem-slot?Label=J0203 43 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a6 45 name:/frutree/chassis/system-board/mem-slot?Label=J0304 46 REFNODE mem-module fru WITH /platform/pci/ebus/i2c?UnitAddress=1,2e/dimm-fru?UnitAddress=1,a8 [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/frutree/ |
H A D | system-board.info | 70 NODE mem-slot location 75 NODE mem-slot location 80 NODE mem-slot location 85 NODE mem-slot location 90 NODE mem-slot location 95 NODE mem-slot location 100 NODE mem-slot location 105 NODE mem-slot location 131 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0 132 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6 [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | avintr.c | 158 struct autovec *mem; in add_nmintr() local 167 mem = kmem_zalloc(sizeof (struct autovec), KM_SLEEP); in add_nmintr() 168 mem->av_vector = nmintr; in add_nmintr() 169 mem->av_intarg1 = arg; in add_nmintr() 170 mem->av_intarg2 = NULL; in add_nmintr() 171 mem->av_intr_id = NULL; in add_nmintr() 172 mem->av_prilevel = lvl; in add_nmintr() 173 mem->av_dip = NULL; in add_nmintr() 174 mem->av_link = NULL; in add_nmintr() 179 nmivect = mem; in add_nmintr() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/schumacher/frutree/ |
H A D | system-board.info | 45 NODE mem-slot location 51 NODE mem-slot location 57 NODE mem-slot location 63 NODE mem-slot location 98 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM0 99 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a0 101 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM1 102 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a2 104 name:/frutree/chassis/MB/SUNW,Netra-CP3010/mem-slot?Label=DIMM2 105 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/ipmc@0,2e8/i2c@81/dimm-spd@81,a4 [all …]
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetgr.c | 37 char **mem; in putgrent() local 50 mem = grp ->gr_mem; in putgrent() 52 if (mem != NULL) { in putgrent() 53 if (*mem != NULL) in putgrent() 54 if (fputs(*mem++, fp) == EOF) in putgrent() 57 while (*mem != NULL) in putgrent() 58 if (fprintf(fp, ",%s", *mem++) == EOF) in putgrent()
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | ar.c | 279 register char *mem; in _elf_arinit() local 294 mem = (char *)a + sizeof (struct ar_hdr); in _elf_arinit() 296 if ((end - mem < n) || (a->ar_name[0] != '/') || in _elf_arinit() 301 hdr = mem + sz; in _elf_arinit() 303 elf->ed_arsym = mem; in _elf_arinit() 310 if (_elf_vm(elf, (size_t)(mem - elf->ed_ident), in _elf_arinit() 319 (void) memcpy(nmem, mem, sz); in _elf_arinit() 321 mem = nmem; in _elf_arinit() 324 elf->ed_arstr = mem; in _elf_arinit() 328 if (*mem == '/') in _elf_arinit() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/frutree/ |
H A D | system-board.info | 57 NODE mem-slot location 62 NODE mem-slot location 67 NODE mem-slot location 72 NODE mem-slot location 95 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0 96 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a0 98 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM1 99 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a2 101 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM2 102 REFNODE mem-module fru WITH /platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,a4 [all …]
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_util.c | 55 inj_mem2item(inj_memtype_t mem) in inj_mem2item() argument 57 switch (mem) { in inj_mem2item() 72 inj_mem2str(inj_memtype_t mem) in inj_mem2str() argument 82 return (mem >= 0 && in inj_mem2str() 83 mem < sizeof (names) / sizeof (char *) ? names[mem] : "???"); in inj_mem2str()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/ents/frutree/ |
H A D | system-board.info | 154 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6 156 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8 158 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba 160 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc 162 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6 164 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c8 166 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ca 168 REFNODE mem-module fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,cc 173 name:/frutree/chassis/MB/system-board/DIMM0/mem-module 176 name:/frutree/chassis/MB/system-board/DIMM1/mem-module [all …]
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca_disp.in | 36 code = 0000 bus src 0 drd <39:6> mem/io lg - 52 code = 0000 mem - - drd <39:6> - l2 data 68 code = 0000 bus src 0 drd <39:6> mem/io lg - 84 code = 0000 mem - - drd <39:6> - l2 data 100 code = 0000 mem - - err <11:3> - l1 data 116 code = 0000 mem - - drd/dwr <39:3> - l1 data 117 code = 0000 mem - - ev/snp <11:6> - l1 data 133 code = 0000 mem - - drd/dwr <39:3> - l1 data 134 code = 0000 mem - - ev/snp <11:6> - l1 data 150 code = 0000 mem - - err <11:3> - l1 data [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/frutree/ |
H A D | system-board.info | 62 NODE mem-slot location 67 NODE mem-slot location 72 NODE mem-slot location 77 NODE mem-slot location 82 NODE mem-slot location 87 NODE mem-slot location 92 NODE mem-slot location 97 NODE mem-slot location 116 name:/frutree/chassis/MB/system-board/mem-slot?Label=DIMM0 117 REFNODE mem-module fru WITH /platform/i2c@1f,520000/dimm-spd@0,a6 [all …]
|