Searched refs:KASAN_SHADOW_SCALE_SIZE (Results 1 – 7 of 7) sorted by relevance
42 p += KASAN_SHADOW_SCALE_SIZE; in find_first_bad_addr()57 if (*shadow_addr > 0 && *shadow_addr <= KASAN_SHADOW_SCALE_SIZE - 1) in get_shadow_bug_type()61 case 0 ... KASAN_SHADOW_SCALE_SIZE - 1: in get_shadow_bug_type()
353 round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE), in kasan_poison_object_data()425 shadow_byte >= KASAN_SHADOW_SCALE_SIZE; in shadow_invalid()464 rounded_up_size = round_up(cache->object_size, KASAN_SHADOW_SCALE_SIZE); in __kasan_slab_free()497 KASAN_SHADOW_SCALE_SIZE); in __kasan_kmalloc()499 KASAN_SHADOW_SCALE_SIZE); in __kasan_kmalloc()543 KASAN_SHADOW_SCALE_SIZE); in kasan_kmalloc_large()686 if (WARN_ON(mem_data->nr_pages % KASAN_SHADOW_SCALE_SIZE) || in kasan_mem_notifier()687 WARN_ON(start_kaddr % (KASAN_SHADOW_SCALE_SIZE << PAGE_SHIFT))) in kasan_mem_notifier()
82 if (unlikely(!IS_ALIGNED(addr, KASAN_SHADOW_SCALE_SIZE))) in memory_is_poisoned_16()208 size_t aligned_size = round_up(global->size, KASAN_SHADOW_SCALE_SIZE); in register_global()282 size_t rounded_up_size = round_up(size, KASAN_SHADOW_SCALE_SIZE); in __asan_alloca_poison()285 size_t rounded_down_size = round_down(size, KASAN_SHADOW_SCALE_SIZE); in __asan_alloca_poison()
311 mem_ptr = round_down(aligned_addr, KASAN_SHADOW_SCALE_SIZE); in get_address_stack_frame_info()317 mem_ptr -= KASAN_SHADOW_SCALE_SIZE; in get_address_stack_frame_info()322 mem_ptr -= KASAN_SHADOW_SCALE_SIZE; in get_address_stack_frame_info()328 frame = (const unsigned long *)(mem_ptr + KASAN_SHADOW_SCALE_SIZE); in get_address_stack_frame_info()
461 (KASAN_SHADOW_SCALE_SIZE * PAGE_SIZE)) || in kasan_remove_zero_shadow()462 WARN_ON(size % (KASAN_SHADOW_SCALE_SIZE * PAGE_SIZE))) in kasan_remove_zero_shadow()496 (KASAN_SHADOW_SCALE_SIZE * PAGE_SIZE)) || in kasan_add_zero_shadow()497 WARN_ON(size % (KASAN_SHADOW_SCALE_SIZE * PAGE_SIZE))) in kasan_add_zero_shadow()
8 #define KASAN_SHADOW_SCALE_SIZE (1UL << KASAN_SHADOW_SCALE_SHIFT) macro9 #define KASAN_SHADOW_MASK (KASAN_SHADOW_SCALE_SIZE - 1)
73 p += KASAN_SHADOW_SCALE_SIZE; in find_first_bad_addr()