Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 19 of 19) sorted by relevance

/system/bt/osi/src/
Dallocation_tracker.c128 allocation_t *allocation = (allocation_t *)hash_map_get(allocations, return_ptr); in allocation_tracker_notify_alloc() local
129 if (allocation) { in allocation_tracker_notify_alloc()
130 assert(allocation->freed); // Must have been freed before in allocation_tracker_notify_alloc()
132 allocation = (allocation_t *)calloc(1, sizeof(allocation_t)); in allocation_tracker_notify_alloc()
133 hash_map_set(allocations, return_ptr, allocation); in allocation_tracker_notify_alloc()
136 allocation->allocator_id = allocator_id; in allocation_tracker_notify_alloc()
137 allocation->freed = false; in allocation_tracker_notify_alloc()
138 allocation->size = requested_size; in allocation_tracker_notify_alloc()
139 allocation->ptr = return_ptr; in allocation_tracker_notify_alloc()
156 allocation_t *allocation = (allocation_t *)hash_map_get(allocations, ptr); in allocation_tracker_notify_free() local
[all …]
/system/core/libmemunreachable/
DAllocator.cpp402 MapAllocation* allocation = reinterpret_cast<MapAllocation*>(AllocLocked( in MapAlloc() local
406 FreeLocked(allocation); in MapAlloc()
409 allocation->ptr = ptr; in MapAlloc()
410 allocation->size = size; in MapAlloc()
411 allocation->next = map_allocation_list_; in MapAlloc()
412 map_allocation_list_ = allocation; in MapAlloc()
418 MapAllocation **allocation = &map_allocation_list_; in MapFree() local
419 while (*allocation && (*allocation)->ptr != ptr) in MapFree()
420 allocation = &(*allocation)->next; in MapFree()
422 assert(*allocation != nullptr); in MapFree()
[all …]
DREADME.md8 … bound) size, and the the first 32 bytes of the contents of the leaked allocation. If malloc_debu…
18 …`log_contents` is `true`, details include up to 32 bytes of the contents of each leaked allocation.
30 …`log_contents` is `true`, details include up to 32 bytes of the contents of each leaked allocation.
70 - `malloc_iterate()`: call a callback on each active allocation in a given heap region.
71 …- `malloc_backtrace()`: return the backtrace from when the allocation at the given address was all…
DHeapWalker.h125 HeapWalker::AllocationInfo& allocation = it.second; in ForEachAllocation() local
126 f(range, allocation); in ForEachAllocation()
DLeakFolding.cpp77 [&](const Range& range, HeapWalker::AllocationInfo& allocation) { in FoldLeaks() argument
78 if (!allocation.referenced_from_root) { in FoldLeaks()
/system/sepolicy/
Dbootanim.te24 # Allow access to ion memory allocation device
DNOTICE20 of such damage. You acknowledge that this is a reasonable allocation of
Dmediadrmserver.te33 # Allow access to ion memory allocation device
Ddomain_deprecated.te52 #Allow access to ion memory allocation device
Dautoplay_app.te58 # Allow read access to ion memory allocation device
Dshell.te131 # Allow access to ion memory allocation device.
Dpriv_app.te21 # Allow the allocation and use of ptys
Duntrusted_app.te38 # Allow the allocation and use of ptys
/system/core/libmemunreachable/tests/
DHeapWalker_test.cpp42 TEST_F(HeapWalkerTest, allocation) { in TEST_F() argument
/system/bt/doc/
Dstyle_guide.md172 By convention, functions that contain `*_new` in their name are allocation
/system/tpm/trunks/generator/
Draw_structures.txt4892 Requested allocation size is larger than allowed.
4919 insufficient space for NV allocation
6666 allocation can make this estimate invalid.
6705 allocation can make this estimate invalid.
6719 command that changes the memory allocation can make
6741 command that changes the NV memory allocation can
6771 memory allocation can make this estimate invalid.
7398 required to authorize allocation of space for a persistent object. These entities are given separat…
7402 While this “namespace” allocation of the handle ranges could have been handled by convention, TPM
Draw_structures_fixed.txt4886 Requested allocation size is larger than allowed.
4913 insufficient space for NV allocation
6691 allocation can make this estimate invalid.
6730 allocation can make this estimate invalid.
6744 command that changes the memory allocation can make
6766 command that changes the NV memory allocation can
6796 memory allocation can make this estimate invalid.
7425 required to authorize allocation of space for a persistent object. These entities are given separat…
7429 While this “namespace” allocation of the handle ranges could have been handled by convention, TPM
Draw_commands_fixed.txt3627 Although this command changes the session allocation information in the TPM, it does not invalidate
17337 This command is used to set the desired PCR allocation of PCR and algorithms. This command requires
17339 … will evaluate the request and, if sufficient memory is available for the requested allocation, the
17340 TPM will store the allocation request for use during the next TPM2_Startup(TPM_SU_CLEAR) operation.
17341 The PCR allocation in place when this command is executed will be retained until the next
17343 If no allocation is specified for a bank, then no PCR will be allocated to that bank. If a bank is …
17350 allow the TPM to return information about the size needed for the requested allocation and the size
17356 Even if this command does not cause the PCR allocation to change, the TPM cannot have its state
17408 the requested allocation
17435 YES if the allocation succeeded
[all …]
Draw_commands.txt3627 Although this command changes the session allocation information in the TPM, it does not invalidate
17326 This command is used to set the desired PCR allocation of PCR and algorithms. This command requires
17328 … will evaluate the request and, if sufficient memory is available for the requested allocation, the
17329 TPM will store the allocation request for use during the next TPM2_Startup(TPM_SU_CLEAR) operation.
17330 The PCR allocation in place when this command is executed will be retained until the next
17332 If no allocation is specified for a bank, then no PCR will be allocated to that bank. If a bank is …
17339 allow the TPM to return information about the size needed for the requested allocation and the size
17345 Even if this command does not cause the PCR allocation to change, the TPM cannot have its state
17397 the requested allocation
17424 YES if the allocation succeeded
[all …]