Searched refs:is_aligned (Results 1 – 4 of 4) sorted by relevance
/hafnium-2.8-rc0/inc/hf/arch/ |
A D | std.h | 32 #define is_aligned(v, a) __builtin_is_aligned((v), (a)) macro 34 #define is_aligned(v, a) (((uintptr_t)(v) & ((a)-1)) == 0) macro
|
/hafnium-2.8-rc0/src/ |
A D | ffa_memory.c | 472 if (!is_aligned(ipa_addr(begin), PAGE_SIZE) || in constituents_get_mode() 473 !is_aligned(ipa_addr(end), PAGE_SIZE)) { in constituents_get_mode() 906 if (!is_aligned(fragments[i], 8)) { in ffa_send_check_update() 1024 if (!is_aligned(fragments[i], 8)) { in ffa_retrieve_check_update() 1128 if (!is_aligned(constituents, 8)) { in ffa_tee_reclaim_check_update()
|
A D | api.c | 1172 if (!is_aligned(ipa_addr(send), PAGE_SIZE) || in api_vm_configure_pages() 1173 !is_aligned(ipa_addr(recv), PAGE_SIZE)) { in api_vm_configure_pages() 3824 if (!is_aligned(va_addr(base_addr), PAGE_SIZE)) { in api_ffa_mem_perm_set()
|
A D | manifest.c | 985 if (!is_aligned(load_address, PAGE_SIZE)) { in parse_ffa_partition_package()
|
Completed in 15 milliseconds