Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 14 of 14) sorted by relevance

/mm/
Dkmemleak.c283 const u8 *ptr = (const u8 *)object->pointer; in hex_dump_object() local
349 void *ptr = (void *)object->trace[i]; in print_unreferenced() local
379 static struct kmemleak_object *lookup_object(unsigned long ptr, int alias) in lookup_object()
511 static struct kmemleak_object *find_and_get_object(unsigned long ptr, int alias) in find_and_get_object()
544 static struct kmemleak_object *find_and_remove_object(unsigned long ptr, int alias) in find_and_remove_object()
570 static struct kmemleak_object *create_object(unsigned long ptr, size_t size, in create_object()
680 static void delete_object_full(unsigned long ptr) in delete_object_full()
700 static void delete_object_part(unsigned long ptr, size_t size) in delete_object_part()
747 static void paint_ptr(unsigned long ptr, int color) in paint_ptr()
767 static void make_gray_object(unsigned long ptr) in make_gray_object()
[all …]
Dusercopy.c103 static bool overlaps(const unsigned long ptr, unsigned long n, in overlaps()
117 static inline void check_kernel_text_object(const unsigned long ptr, in check_kernel_text_object()
147 static inline void check_bogus_address(const unsigned long ptr, unsigned long n, in check_bogus_address()
160 static inline void check_page_span(const void *ptr, unsigned long n, in check_page_span()
223 static inline void check_heap_object(const void *ptr, unsigned long n, in check_heap_object()
256 void __check_object_size(const void *ptr, unsigned long n, bool to_user) in __check_object_size()
Dpercpu.c111 #define __pcpu_ptr_to_addr(ptr) \ argument
119 #define __pcpu_ptr_to_addr(ptr) (void __force *)(ptr) argument
520 static void pcpu_mem_free(void *ptr) in pcpu_mem_free()
1598 void __percpu *ptr; in pcpu_alloc() local
1955 void free_percpu(void __percpu *ptr) in free_percpu()
2125 void *ptr; in pcpu_alloc_alloc_info() local
2730 void *ptr; in pcpu_embed_first_chunk() local
2771 void *ptr = areas[group]; in pcpu_embed_first_chunk() local
2870 void *ptr; in pcpu_page_first_chunk() local
2955 static void __init pcpu_dfl_fc_free(void *ptr, size_t size) in pcpu_dfl_fc_free()
Dlist_lru.c60 static __always_inline struct mem_cgroup *mem_cgroup_from_kmem(void *ptr) in mem_cgroup_from_kmem()
71 list_lru_from_kmem(struct list_lru_node *nlru, void *ptr, in list_lru_from_kmem()
116 list_lru_from_kmem(struct list_lru_node *nlru, void *ptr, in list_lru_from_kmem()
Dsparse-vmemmap.c76 void *ptr = sparse_buffer_alloc(size); in vmemmap_alloc_block_buf() local
Dzswap.c961 static int zswap_is_page_same_filled(void *ptr, unsigned long *value) in zswap_is_page_same_filled()
975 static void zswap_fill_page(void *ptr, unsigned long value) in zswap_fill_page()
Ddmapool.c509 struct dma_pool **ptr, *pool; in dmam_pool_create() local
Dhugetlb_cgroup.c182 struct hugetlb_cgroup **ptr) in hugetlb_cgroup_charge_cgroup()
Dmemblock.c1508 void *ptr; in memblock_alloc_try_nid_raw() local
1544 void *ptr; in memblock_alloc_try_nid() local
Dslab.c247 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument
1157 struct kmem_cache_node *ptr; in init_list() local
3222 void *ptr; in slab_alloc_node() local
4167 void __check_heap_object(const void *ptr, unsigned long n, struct page *page, in __check_heap_object()
Dsparse.c503 void *ptr = NULL; in sparse_buffer_alloc() local
Dslub.c249 static inline void *freelist_ptr(const struct kmem_cache *s, void *ptr, in freelist_ptr()
1388 static inline void *kmalloc_large_node_hook(void *ptr, size_t size, gfp_t flags) in kmalloc_large_node_hook()
3812 void *ptr = NULL; in kmalloc_large_node() local
3866 void __check_heap_object(const void *ptr, unsigned long n, struct page *page, in __check_heap_object()
/mm/kasan/
Dcommon.c42 static inline int in_irqentry_text(unsigned long ptr) in in_irqentry_text()
528 void * __must_check kasan_kmalloc_large(const void *ptr, size_t size, in kasan_kmalloc_large()
569 void kasan_poison_kfree(void *ptr, unsigned long ip) in kasan_poison_kfree()
586 void kasan_kfree_large(void *ptr, unsigned long ip) in kasan_kfree_large()
Dinit.c86 void *ptr = memblock_alloc_try_nid(size, size, __pa(MAX_DMA_ADDRESS), in early_alloc() local