Searched refs:memory_alignment (Results 1 – 6 of 6) sorted by relevance
| /USBX-v6.2.1/common/core/src/ |
| D | ux_utility_memory_allocate.c | 84 VOID *_ux_utility_memory_allocate(ULONG memory_alignment, ULONG memory_cache_flag, in _ux_utility_memory_allocate() argument 133 if (memory_alignment == UX_SAFE_ALIGN) in _ux_utility_memory_allocate() 141 memory_alignment = UX_NO_ALIGN; in _ux_utility_memory_allocate() 147 memory_alignment = UX_MAX_SCATTER_GATHER_ALIGNMENT - 1; in _ux_utility_memory_allocate() 152 memory_alignment = UX_ALIGN_4096; in _ux_utility_memory_allocate() 156 memory_alignment = UX_ALIGN_2048; in _ux_utility_memory_allocate() 160 memory_alignment = UX_ALIGN_1024; in _ux_utility_memory_allocate() 164 memory_alignment = UX_ALIGN_512; in _ux_utility_memory_allocate() 168 memory_alignment = UX_ALIGN_256; in _ux_utility_memory_allocate() 172 memory_alignment = UX_ALIGN_128; in _ux_utility_memory_allocate() [all …]
|
| /USBX-v6.2.1/test/regression/ |
| D | ux_test_utility_sim_no_overriding.c | 59 static ULONG get_amount_added_by_memory_allocator(ULONG memory_alignment, ULONG memory_size_request… in get_amount_added_by_memory_allocator() argument 64 if (memory_alignment == UX_SAFE_ALIGN) in get_amount_added_by_memory_allocator() 65 memory_alignment = UX_NO_ALIGN; in get_amount_added_by_memory_allocator() 67 if (memory_alignment <= UX_ALIGN_MIN) in get_amount_added_by_memory_allocator() 75 added = memory_alignment + sizeof(UX_MEMORY_BLOCK) + in get_amount_added_by_memory_allocator() 85 static ULONG memory_requested_size_for_block(ULONG memory_alignment, ULONG block_size) in memory_requested_size_for_block() argument 91 added = get_amount_added_by_memory_allocator(memory_alignment, block_size); in memory_requested_size_for_block() 177 …sim_mem_allocate_until_align_flagged(ULONG target_fail_level, ULONG memory_alignment, ULONG memory… in ux_test_utility_sim_mem_allocate_until_align_flagged() argument 225 …amount_added_by_allocator = get_amount_added_by_memory_allocator(memory_alignment, target_fail_lev… in ux_test_utility_sim_mem_allocate_until_align_flagged() 231 …main_allocation_ptr = ux_utility_memory_allocate(memory_alignment, memory_cache_flag, total_alloca… in ux_test_utility_sim_mem_allocate_until_align_flagged()
|
| D | ux_test_utility_sim.h | 49 …sim_mem_allocate_until_align_flagged(ULONG target_fail_level, ULONG memory_alignment, ULONG memory…
|
| D | ux_test.h | 165 ULONG memory_alignment; member 294 ULONG memory_alignment; member 429 ULONG ux_test_calc_total_memory_allocated(ULONG memory_alignment, ULONG memory_cache_flag, ULONG me…
|
| D | ux_test.c | 937 if (memory_allocate_params->memory_alignment != this->memory_alignment || in ux_test_action_handler_check()
|
| /USBX-v6.2.1/common/core/inc/ |
| D | ux_utility.h | 83 VOID *_ux_utility_memory_allocate(ULONG memory_alignment,ULONG memory_cache_flag, ULONG …
|