Lines Matching refs:addr
56 static bool is_address_readable(uintptr_t addr) in is_address_readable() argument
66 xpaci(addr); in is_address_readable()
69 ats1e3r(addr); in is_address_readable()
71 ats1e2r(addr); in is_address_readable()
73 AT(ats1e1r, addr); in is_address_readable()
85 static bool is_address_readable(uintptr_t addr) in is_address_readable() argument
90 write_ats1cpr(addr); in is_address_readable()
92 write_ats1hr(addr); in is_address_readable()
94 write_ats1cpr(addr); in is_address_readable()
111 static bool is_valid_object(uintptr_t addr, size_t size) in is_valid_object() argument
115 if (addr == 0U) in is_valid_object()
119 if ((addr + size) < addr) in is_valid_object()
123 if ((addr & (sizeof(uintptr_t) - 1U)) != 0U) in is_valid_object()
128 if (!is_address_readable(addr + i)) in is_valid_object()
139 static bool is_valid_jump_address(uintptr_t addr) in is_valid_jump_address() argument
141 if (addr == 0U) in is_valid_jump_address()
145 if ((addr & (sizeof(uint32_t) - 1U)) != 0U) in is_valid_jump_address()
148 if (!is_address_readable(addr)) in is_valid_jump_address()