Home
last modified time | relevance | path

Searched refs:UX_ALIGN_MIN (Results 1 – 7 of 7) sorted by relevance

/USBX-v6.2.1/common/core/src/
Dux_utility_memory_allocate.c138 if (memory_size_requested < UX_ALIGN_MIN) in _ux_utility_memory_allocate()
187 memory_alignment = UX_ALIGN_MIN; in _ux_utility_memory_allocate()
199 if (memory_alignment < UX_ALIGN_MIN) in _ux_utility_memory_allocate()
200 memory_alignment = UX_ALIGN_MIN; in _ux_utility_memory_allocate()
209 memory_size_requested = (memory_size_requested + UX_ALIGN_MIN) & (~(ULONG)UX_ALIGN_MIN); in _ux_utility_memory_allocate()
210 …size_requested += (((ULONG)(UX_MEMORY_BLOCK_HEADER_SIZE + UX_ALIGN_MIN) & (~(ULONG)UX_ALIGN_MIN)) … in _ux_utility_memory_allocate()
212 if (memory_alignment <= UX_ALIGN_MIN) in _ux_utility_memory_allocate()
Dux_system_initialize.c204 int_memory_pool_start += UX_ALIGN_MIN; in _ux_system_initialize()
205 int_memory_pool_start &= ~((ALIGN_TYPE)UX_ALIGN_MIN); in _ux_system_initialize()
236 int_memory_pool_start += UX_ALIGN_MIN; in _ux_system_initialize()
237 int_memory_pool_start &= ~((ALIGN_TYPE)UX_ALIGN_MIN); in _ux_system_initialize()
/USBX-v6.2.1/test/regression/
Dusbx_ux_utility_basic_memory_management_test.c221 if ((pointer_1 == UX_NULL) || (((ULONG)pointer_1) & UX_ALIGN_MIN)) in test_application_define()
232 if ((pointer_2 == UX_NULL) || (((ULONG)pointer_2) & UX_ALIGN_MIN)) in test_application_define()
244 if ((pointer_3 == UX_NULL) || (((ULONG)pointer_3) & UX_ALIGN_MIN)) in test_application_define()
257 if ((pointer_4 == UX_NULL) || (((ULONG)pointer_4) & UX_ALIGN_MIN)) in test_application_define()
275 if ((pointer_3 == UX_NULL) || (((ULONG)pointer_3) & UX_ALIGN_MIN)) in test_application_define()
290 if ((pointer_1 == UX_NULL) || (((ULONG)pointer_1) & UX_ALIGN_MIN)) in test_application_define()
302 if ((pointer_2 == UX_NULL) || (((ULONG)pointer_2) & UX_ALIGN_MIN)) in test_application_define()
314 if ((pointer_3 == UX_NULL) || (((ULONG)pointer_3) & UX_ALIGN_MIN)) in test_application_define()
329 if ((pointer_4 == UX_NULL) || (((ULONG)pointer_4) & UX_ALIGN_MIN)) in test_application_define()
Dusbx_test_common.h19 … memory_size_requested = (original_memory_size_requested + UX_ALIGN_MIN) & (UINT)~UX_ALIGN_MIN; in calculate_final_memory_request_size()
Dux_test_utility_sim_no_overriding.c67 if (memory_alignment <= UX_ALIGN_MIN) in get_amount_added_by_memory_allocator()
71 … (((sizeof(UX_MEMORY_BLOCK) + UX_ALIGN_MIN) & (~(ULONG)UX_ALIGN_MIN)) - sizeof(UX_MEMORY_BLOCK)); in get_amount_added_by_memory_allocator()
77 … (((sizeof(UX_MEMORY_BLOCK) + UX_ALIGN_MIN) & (~(ULONG)UX_ALIGN_MIN)) - sizeof(UX_MEMORY_BLOCK)); in get_amount_added_by_memory_allocator()
102 result &= ~(UX_ALIGN_MIN); in memory_requested_size_for_block()
208 if (target_fail_level <= (UX_ALIGN_MIN + 1)) in ux_test_utility_sim_mem_allocate_until_align_flagged()
216 target_fail_level -= (UX_ALIGN_MIN + 1); in ux_test_utility_sim_mem_allocate_until_align_flagged()
226 …amount_added_by_alignment = ((target_fail_level + UX_ALIGN_MIN) & (~(ULONG)UX_ALIGN_MIN)) - target… in ux_test_utility_sim_mem_allocate_until_align_flagged()
Dusbx_ux_utility_memory_test.c310 UX_ALIGN_MIN, /* 0xf */ in test_application_define()
/USBX-v6.2.1/common/core/inc/
Dux_api.h1172 #ifndef UX_ALIGN_MIN
1173 #define UX_ALIGN_MIN UX_ALIGN_8 macro