/illumos-gate/usr/src/boot/efi/loader/ |
H A D | efi_main.c | 33 static EFI_PHYSICAL_ADDRESS heap; variable 41 BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize)); in efi_exit() 88 heap = 0x0000000100000000; in efi_main() 90 EFI_SIZE_TO_PAGES(heapsize), &heap); in efi_main() 94 setheap((void *)(uintptr_t)heap, (void *)(uintptr_t)(heap + heapsize)); in efi_main()
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | heap.c | 66 ctx->heap = NULL; in heap_new() 79 if (ctx->heap != NULL) in heap_free() 80 free(ctx->heap); in heap_free() 97 ctx->heap = new_heap; in heap_resize() 108 ctx->heap[i] = ctx->heap[p]; in float_up() 112 ctx->heap[i] = elt; in float_up() 127 ctx->heap[j])) in sink_down() 131 ctx->heap[i] = ctx->heap[j]; in sink_down() 136 ctx->heap[i] = elt; in sink_down() 174 ctx->heap[i] = elt; in heap_delete() [all …]
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | huffman.c | 36 zz = z; tmp = heap[zz]; \ 37 while (weight[tmp] < weight[heap[zz >> 1]]) { \ 38 heap[zz] = heap[zz >> 1]; \ 52 weight[heap[yy+1]] < weight[heap[yy]]) \ 55 heap[zz] = heap[yy]; \ 75 Int32 heap [ BZ_MAX_ALPHA_SIZE + 2 ]; in BZ2_hbMakeCodeLengths() local 87 heap[0] = 0; in BZ2_hbMakeCodeLengths() 94 heap[nHeap] = i; in BZ2_hbMakeCodeLengths() 101 n1 = heap[1]; heap[1] = heap[nHeap]; nHeap--; DOWNHEAP(1); in BZ2_hbMakeCodeLengths() 102 n2 = heap[1]; heap[1] = heap[nHeap]; nHeap--; DOWNHEAP(1); in BZ2_hbMakeCodeLengths() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 1794 top = s->heap[SMALLEST]; \ 1795 s->heap[SMALLEST] = s->heap[s->heap_len--]; \ 1818 int v = s->heap[k]; 1823 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { 1830 s->heap[k] = s->heap[j]; k = j; 1835 s->heap[k] = v; 1873 n = s->heap[h]; 1914 m = s->heap[--h]; 2031 s->heap[--(s->heap_max)] = m; 2044 s->heap[SMALLEST] = node++; [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 144 me = heap[ndx]; in cyclic_dump_node() 174 heap[heap_left]); in cyclic_dump_node() 180 heap[heap_right]); in cyclic_dump_node() 200 cyc_index_t *heap; in cyclic_pretty_dump() local 203 heap = mdb_alloc(hsize, UM_SLEEP | UM_GC); in cyclic_pretty_dump() 220 cyclic_dump_node(cpu, heap, c, width, 0, 1, width - 2, 0); in cyclic_pretty_dump() 242 cyc_index_t root, i, *heap; in cycinfo() local 289 heap = mdb_alloc(hsize, UM_SLEEP | UM_GC); in cycinfo() 291 if (mdb_vread(heap, hsize, (uintptr_t)cpu.cyp_heap) == -1) { in cycinfo() 296 root = heap[0]; in cycinfo() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netr_logon.c | 497 ndr_heap_t *heap; in netr_server_samlogon() local 563 heap = ndr_rpc_get_heap(netr_handle); in netr_server_samlogon() 567 netr_setup_identity(heap, user_info, &info1.identity); in netr_server_samlogon() 578 netr_setup_identity(heap, user_info, &info2.identity); in netr_server_samlogon() 579 netr_network_samlogon(heap, netr_info, user_info, &info2); in netr_server_samlogon() 679 ndr_heap_mkvcb(heap, user_info->lg_nt_password.val, len, in netr_network_samlogon() 686 ndr_heap_mkvcb(heap, user_info->lg_lm_password.val, len, in netr_network_samlogon() 838 netr_setup_identity(ndr_heap_t *heap, smb_logon_t *user_info, in netr_setup_identity() argument 865 ndr_heap_mkvcs(heap, user_info->lg_domain, in netr_setup_identity() 868 ndr_heap_mkvcs(heap, user_info->lg_username, in netr_setup_identity() [all …]
|
H A D | samr_clnt.c | 511 ndr_heap_t *heap; in samr_create_user() local 527 heap = ndr_rpc_get_heap(domain_handle); in samr_create_user() 528 ndr_heap_mkvcs(heap, username, (ndr_vcstr_t *)&arg.username); in samr_create_user()
|
/illumos-gate/usr/src/lib/libmlrpc/common/ |
H A D | libmlrpc.h | 445 #define NDR_MALLOC(XA, SZ) ndr_heap_malloc((XA)->heap, SZ) 446 #define NDR_NEW(XA, T) ndr_heap_malloc((XA)->heap, sizeof (T)) 447 #define NDR_NEWN(XA, T, N) ndr_heap_malloc((XA)->heap, sizeof (T)*(N)) 448 #define NDR_STRDUP(XA, S) ndr_heap_strdup((XA)->heap, (S)) 449 #define NDR_MSTRING(XA, S, OUT) ndr_heap_mstring((XA)->heap, (S), (OUT)) 450 #define NDR_SIDDUP(XA, S) ndr_heap_dupmem((XA)->heap, (S), smb_sid_len(S)) 463 ndr_heap_t *heap; member 515 ndr_heap_t *heap; member
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.c | 2596 top = s->heap[SMALLEST]; \ 2597 s->heap[SMALLEST] = s->heap[s->heap_len--]; \ 2622 int v = s->heap[k]; 2627 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { 2634 s->heap[k] = s->heap[j]; k = j; 2639 s->heap[k] = v; 2681 n = s->heap[h]; 2728 m = s->heap[--h]; 2860 s->heap[--(s->heap_max)] = n; 2875 s->heap[SMALLEST] = node++; [all …]
|
/illumos-gate/usr/src/cmd/pack/ |
H A D | pack.c | 106 struct heap { struct 109 } heap [END+2]; variable 226 struct heap heapsubi; in heapify() 227 hmove(heap[i], heapsubi); in heapify() 231 if (heap[k].count > heap[k+1].count && k < n) in heapify() 235 hmove(heap[k], heap[i]); in heapify() 238 hmove(heapsubi, heap[i]); in heapify() 262 heap[n].node = i; in packfile() 278 inc = heap[1].count; in packfile() 279 hmove(heap[n], heap[1]); in packfile() [all …]
|
/illumos-gate/usr/src/lib/libcryptoutil/ |
H A D | README | 160 A NULL is returned when the input name is NULL or the heap memory is
|
/illumos-gate/usr/src/contrib/zlib/ |
H A D | trees.c | 432 top = s->heap[SMALLEST]; \ 433 s->heap[SMALLEST] = s->heap[s->heap_len--]; \ 456 int v = s->heap[k]; 461 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { 468 s->heap[k] = s->heap[j]; k = j; 473 s->heap[k] = v; 511 n = s->heap[h]; 552 m = s->heap[--h]; 669 s->heap[--(s->heap_max)] = m; 683 s->heap[SMALLEST] = node++; [all …]
|
H A D | deflate.h | 207 int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */ member
|
/illumos-gate/usr/src/boot/i386/loader/ |
H A D | help.i386 | 11 heap 13 Requests debugging output from the heap manager. For debugging use
|
H A D | main.c | 338 COMMAND_SET(heap, "heap", "show heap usage", command_heap);
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 496 heap += 2; in smb_name_buf_from_packet() 499 heap += 2; in smb_name_buf_from_packet() 502 heap += 2; in smb_name_buf_from_packet() 505 heap += 2; in smb_name_buf_from_packet() 508 heap += 2; in smb_name_buf_from_packet() 511 heap += 2; in smb_name_buf_from_packet() 523 heap += 2; in smb_name_buf_from_packet() 526 heap += 2; in smb_name_buf_from_packet() 555 heap += 2; in smb_name_buf_from_packet() 558 heap += 2; in smb_name_buf_from_packet() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | shared.h | 949 void enter_cmdline (char *heap, int forever); 950 int run_script (char *script, char *heap);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | vmem.c | 1770 vmem_t *heap; in vmem_init() local 1775 heap = vmem_create(heap_name, in vmem_init() 1782 vmem_alloc, vmem_free, heap, 8 * heap_quantum, in vmem_init() 1805 return (heap); in vmem_init()
|
H A D | cyclic.c | 745 cyc_index_t *heap; in cyclic_upheap() local 752 heap = cpu->cyp_heap; in cyclic_upheap() 803 me = heap[heap_me]; in cyclic_downheap() 1783 heap = cpu->cyp_heap; in cyclic_remove_xcall() 1829 if (heap[i] == ndx) in cyclic_remove_xcall() 1857 root = heap[0]; in cyclic_remove_xcall() 1865 heap[i] = (last = heap[nelems]); in cyclic_remove_xcall() 1866 heap[nelems] = ndx; in cyclic_remove_xcall() 1970 cyc_index_t *heap; in cyclic_reprogram_cyclic() local 1981 heap = cpu->cyp_heap; in cyclic_reprogram_cyclic() [all …]
|
H A D | callout.c | 537 callout_heap_t *heap; in callout_heap_expand() local 551 if (heap == NULL) { in callout_heap_expand() 577 ct->ct_heap = heap; in callout_heap_expand() 602 heap = ct->ct_heap; in callout_upheap() 679 heap = ct->ct_heap; in callout_downheap() 691 hleft = &heap[left]; in callout_downheap() 768 heap = ct->ct_heap; in callout_heap_delete() 773 cl = heap->ch_list; in callout_heap_delete() 808 heap[0] = heap[ct->ct_heap_num]; in callout_heap_delete() 876 heap = ct->ct_heap; in callout_heap_process() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.recursive.zcp | 18 -- heap, up to the specified memory limit.
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | addrs.c | 11 void *heap = NULL; in main() local 14 if ((heap = malloc(10)) == NULL) in main() 22 printf(" heap: 0x%p\n", heap); in main()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem.c | 1702 vmem_t *parent, *heap; in vmem_init() local 1721 heap = vmem_create(heap_name, in vmem_init() 1726 vmem_heap = heap; in vmem_init() 1732 heap_alloc, heap_free, heap, 0, in vmem_init() 1755 return (heap); in vmem_init()
|
/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | heap.h | 26 void **heap; member
|
/illumos-gate/usr/src/lib/libresolv2/ |
H A D | Makefile.com | 62 heap.o hex.o logging.o memcluster.o \
|