• Home
  • Raw
  • Download

Lines Matching refs:size

61 void __kasan_unpoison_range(const void *address, size_t size)  in __kasan_unpoison_range()  argument
63 kasan_unpoison(address, size, false); in __kasan_unpoison_range()
137 void __kasan_cache_create(struct kmem_cache *cache, unsigned int *size, in __kasan_cache_create() argument
155 ok_size = *size; in __kasan_cache_create()
158 cache->kasan_info.alloc_meta_offset = *size; in __kasan_cache_create()
159 *size += sizeof(struct kasan_alloc_meta); in __kasan_cache_create()
167 if (*size > KMALLOC_MAX_SIZE) { in __kasan_cache_create()
169 *size = ok_size; in __kasan_cache_create()
191 ok_size = *size; in __kasan_cache_create()
193 cache->kasan_info.free_meta_offset = *size; in __kasan_cache_create()
194 *size += sizeof(struct kasan_free_meta); in __kasan_cache_create()
197 if (*size > KMALLOC_MAX_SIZE) { in __kasan_cache_create()
199 *size = ok_size; in __kasan_cache_create()
209 if (*size < optimal_size) in __kasan_cache_create()
210 *size = optimal_size; in __kasan_cache_create()
467 const void *object, size_t size, gfp_t flags) in ____kasan_kmalloc() argument
492 kasan_poison_last_granule((void *)object, size); in ____kasan_kmalloc()
495 redzone_start = round_up((unsigned long)(object + size), in ____kasan_kmalloc()
514 size_t size, gfp_t flags) in __kasan_kmalloc() argument
516 return ____kasan_kmalloc(cache, object, size, flags); in __kasan_kmalloc()
520 void * __must_check __kasan_kmalloc_large(const void *ptr, size_t size, in __kasan_kmalloc_large() argument
543 kasan_poison_last_granule(ptr, size); in __kasan_kmalloc_large()
546 redzone_start = round_up((unsigned long)(ptr + size), in __kasan_kmalloc_large()
555 void * __must_check __kasan_krealloc(const void *object, size_t size, gfp_t flags) in __kasan_krealloc() argument
567 kasan_unpoison(object, size, false); in __kasan_krealloc()
573 return __kasan_kmalloc_large(object, size, flags); in __kasan_krealloc()
575 return ____kasan_kmalloc(page->slab_cache, object, size, flags); in __kasan_krealloc()