HomeSort by: relevance | last modified time | path
    Searched defs:heap (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/sys/arch/evbarm/stand/board/
gemini_mem.c 55 * "bad" things can happen if the gzboot heap is in
63 uint32_t heap, size; local in function:mem_init
68 heap = size - BOARD_HEAP_SIZE;
70 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n", 0, size - 1, heap);
71 setheap((void *)heap, (void *)(size - 1));
ts7200.c 42 void *heap = (void *)(0x800000 - BOARD_HEAP_SIZE); local in function:board_init
43 setheap(heap, (void *)(0x800000 - 1));
integrator_mem.c 54 uint32_t heap, size; local in function:mem_init
86 heap = size - BOARD_HEAP_SIZE;
88 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n", 0, size - 1, heap);
89 setheap((void *)heap, (void *)(size - 1));
smdk2410.c 55 uint32_t start, size, heap; local in function:mem_init
60 heap = (start + size) - BOARD_HEAP_SIZE;
62 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n",
63 start, (start + size) - 1, heap);
64 setheap((void *)heap, (void *)(heap + BOARD_HEAP_SIZE - 1));
becc_mem.c 65 uint32_t start, size, reg, save, heap; local in function:mem_init
93 heap = (start + size) - BOARD_HEAP_SIZE;
95 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n",
96 start, (start + size) - 1, heap);
97 setheap((void *)heap, (void *)(start + size - 1));
i80312_mem.c 58 uint32_t start, size, heap; local in function:mem_init
76 heap = (start + size) - BOARD_HEAP_SIZE;
78 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n",
79 start, (start + size) - 1, heap);
80 setheap((void *)heap, (void *)(start + size - 1));
i80321_mem.c 58 uint32_t start, size, heap; local in function:mem_init
76 heap = (start + size) - BOARD_HEAP_SIZE;
78 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n",
79 start, (start + size) - 1, heap);
80 setheap((void *)heap, (void *)(start + size - 1));
ixp425_mem.c 74 uint32_t start, size, heap; local in function:mem_init
90 heap = (start + size) - BOARD_HEAP_SIZE;
92 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n",
93 start, (start + size) - 1, heap);
94 setheap((void *)heap, (void *)(start + size - 1));
smdk2800.c 64 uint32_t start, size, heap; local in function:mem_init
71 heap = ROMMONITOR_PAGETABLE - BOARD_HEAP_SIZE;
73 printf(">> RAM 0x%x - 0x%x, heap at 0x%x\n",
74 start, (start + size) - 1, heap);
75 setheap((void *)heap, (void *)(heap + BOARD_HEAP_SIZE - 1));
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
tsan_shadow_test.cc 52 void *heap = malloc(0); local in function:__tsan::TEST
53 free(heap);
57 CHECK(IsAppMem((uptr)heap));
61 CHECK(IsShadowMem(MemToShadow((uptr)heap)));
  /src/lib/libc/include/isc/
heap.h 1 /* $NetBSD: heap.h,v 1.1.1.4 2009/04/12 16:35:44 christos Exp $ */
28 void **heap; member in struct:heap_context
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_debugging.cc 102 } else if (auto heap = descr.AsHeap()) { local in function:__asan_locate_address
103 region_kind = "heap";
104 region_address = heap->chunk_access.chunk_begin;
105 region_size = heap->chunk_access.chunk_size;
122 region_kind = "heap-invalid";
  /src/sys/arch/ia64/stand/efi/libefi/
efi.c 44 static EFI_PHYSICAL_ADDRESS heap; variable in typeref:typename:EFI_PHYSICAL_ADDRESS
82 BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize));
102 EFI_SIZE_TO_PAGES(heapsize), &heap);
106 setheap((void *)heap, (void *)(heap + heapsize));
  /src/sys/external/bsd/drm/dist/shared-core/
radeon_mem.c 83 static struct mem_block *alloc_block(struct mem_block *heap, int size,
89 list_for_each(p, heap) {
98 static struct mem_block *find_block(struct mem_block *heap, int start)
102 list_for_each(p, heap)
114 * 'heap' to stop it being subsumed.
133 /* Initialize. How to check for an uninitialized heap?
135 static int init_heap(struct mem_block **heap, int start, int size)
142 *heap = drm_alloc(sizeof(**heap), DRM_MEM_BUFS);
143 if (!*heap) {
224 struct mem_block *block, **heap; local in function:radeon_mem_alloc
259 struct mem_block *block, **heap; local in function:radeon_mem_free
285 struct mem_block **heap; local in function:radeon_mem_init_heap
    [all...]
sis_ds.h 86 struct mem_block_t *heap; member in struct:mem_block_t
95 /* a heap is just the first block in a chain */
115 * return: a heap pointer if OK, NULL if error
126 * startSearch = linear offset from start of heap to begin search
129 PMemBlock mmAllocMem(memHeap_t * heap, int size, int align2, int startSearch);
132 * Returns 1 if the block 'b' is part of the heap 'heap'
134 int mmBlockInHeap(PMemBlock heap, PMemBlock b);
i915_mem.c 133 static struct mem_block *alloc_block(struct mem_block *heap, int size,
139 for (p = heap->next; p != heap; p = p->next) {
148 static struct mem_block *find_block(struct mem_block *heap, int start)
152 for (p = heap->next; p != heap; p = p->next)
164 * 'heap' to stop it being subsumed.
183 /* Initialize. How to check for an uninitialized heap?
185 static int init_heap(struct mem_block **heap, int start, int size)
192 *heap = drm_alloc(sizeof(**heap), DRM_MEM_BUFLISTS)
276 struct mem_block *block, **heap; local in function:i915_mem_alloc
314 struct mem_block *block, **heap; local in function:i915_mem_free
342 struct mem_block **heap; local in function:i915_mem_init_heap
366 struct mem_block **heap; local in function:i915_mem_destroy_heap
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
if0008.h 27 __u8 heap; member in struct:nvif_mmu_type_v0
mmu.h 18 } *heap; member in struct:nvif_mmu
30 u8 heap; member in struct:nvif_mmu::__anon82d0727a0208
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/
gpuobj.h 28 struct nvkm_mm heap; member in struct:nvkm_gpuobj
mm.h 14 u8 heap; member in struct:nvkm_mm_node
36 int nvkm_mm_init(struct nvkm_mm *, u8 heap, u32 offset, u32 length, u32 block);
38 int nvkm_mm_head(struct nvkm_mm *, u8 heap, u8 type, u32 size_max,
40 int nvkm_mm_tail(struct nvkm_mm *, u8 heap, u8 type, u32 size_max,
46 nvkm_mm_heap_size(struct nvkm_mm *mm, u8 heap)
51 if (node->heap == heap)
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/
nouveau_nvkm_subdev_instmem_nv04.c 40 struct nvkm_mm heap; member in struct:nv04_instmem
113 nvkm_mm_free(&iobj->imem->heap, &iobj->node);
146 ret = nvkm_mm_head(&imem->heap, 0, 1, size, size,
178 ret = nvkm_mm_init(&imem->heap, 0, 0, imem->base.reserved, 1);
216 nvkm_mm_fini(&imem->heap);
nouveau_nvkm_subdev_instmem_nv40.c 41 struct nvkm_mm heap; member in struct:nv40_instmem
127 nvkm_mm_free(&iobj->imem->heap, &iobj->node);
160 ret = nvkm_mm_head(&imem->heap, 0, 1, size, size,
214 ret = nvkm_mm_init(&imem->heap, 0, 0, imem->base.reserved, 1);
256 nvkm_mm_fini(&imem->heap);
  /src/sys/arch/hpcmips/stand/pbsdboot/
vmem.c 53 unsigned char* heap = NULL; variable in typeref:typename:unsigned char *
128 page = (struct page_header_s*)&heap[pagesize * i];
147 page = (struct page_header_s*)&heap[pagesize * i];
183 int pageno = (page - heap) / system_info.si_pagesize;
184 int offset = (page - heap) % system_info.si_pagesize;
236 heap = (unsigned char*)
241 if (heap == NULL) {
242 debug_printf(TEXT("can't allocate heap\n"));
243 msg_printf(MSG_ERROR, whoami, TEXT("can't allocate heap\n"));
269 page = (struct page_header_s*)&heap[pagesize * i]
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_abi16.h 29 struct nvkm_mm heap; member in struct:nouveau_abi16_chan
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/
nouveau_nvkm_subdev_mmu_base.c 265 nvkm_mmu_type(struct nvkm_mmu *mmu, int heap, u8 type)
267 if (heap >= 0 && !WARN_ON(mmu->type_nr == ARRAY_SIZE(mmu->type))) {
268 mmu->type[mmu->type_nr].type = type | mmu->heap[heap].type;
269 mmu->type[mmu->type_nr].heap = heap;
278 if (!WARN_ON(mmu->heap_nr == ARRAY_SIZE(mmu->heap))) {
279 mmu->heap[mmu->heap_nr].type = type;
280 mmu->heap[mmu->heap_nr].size = size;
292 int heap; local in function:nvkm_mmu_host
333 u8 heap = NVKM_MEM_VRAM; local in function:nvkm_mmu_vram
    [all...]

Completed in 22 milliseconds

1 2