Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 9 of 9) sorted by relevance

/mm/
DMakefile38 obj-y := filemap.o mempool.o oom_kill.o fadvise.o \
51 obj-y += page-alloc.o
52 obj-y += init-mm.o
53 obj-y += memblock.o
56 obj-$(CONFIG_ADVISE_SYSCALLS) += madvise.o
59 obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o swap_slots.o
60 obj-$(CONFIG_FRONTSWAP) += frontswap.o
61 obj-$(CONFIG_ZSWAP) += zswap.o
62 obj-$(CONFIG_HAS_DMA) += dmapool.o
63 obj-$(CONFIG_HUGETLBFS) += hugetlb.o
[all …]
Dzsmalloc.c373 static void record_obj(unsigned long handle, unsigned long obj) in record_obj() argument
380 WRITE_ONCE(*(unsigned long *)handle, obj); in record_obj()
509 static inline void set_freeobj(struct zspage *zspage, unsigned int obj) in set_freeobj() argument
511 zspage->freeobj = obj; in set_freeobj()
846 static void obj_to_location(unsigned long obj, struct page **page, in obj_to_location() argument
849 obj >>= OBJ_TAG_BITS; in obj_to_location()
850 *page = pfn_to_page(obj >> OBJ_INDEX_BITS); in obj_to_location()
851 *obj_idx = (obj & OBJ_INDEX_MASK); in obj_to_location()
861 unsigned long obj; in location_to_obj() local
863 obj = page_to_pfn(page) << OBJ_INDEX_BITS; in location_to_obj()
[all …]
Dusercopy.c34 static noinline int check_stack_object(const void *obj, unsigned long len) in check_stack_object() argument
41 if (obj + len <= stack || stackend <= obj) in check_stack_object()
49 if (obj < stack || stackend < obj + len) in check_stack_object()
53 ret = arch_within_stack_frames(stack, stackend, obj, len); in check_stack_object()
Dmempool.c44 u8 *obj = element; in __check_element() local
50 if (obj[i] != exp) { in __check_element()
55 memset(obj, POISON_INUSE, size); in __check_element()
76 u8 *obj = element; in __poison_element() local
78 memset(obj, POISON_FREE, size - 1); in __poison_element()
79 obj[size - 1] = POISON_END; in __poison_element()
Dslab.c2691 static inline void verify_redzone_free(struct kmem_cache *cache, void *obj) in verify_redzone_free() argument
2695 redzone1 = *dbg_redzone1(cache, obj); in verify_redzone_free()
2696 redzone2 = *dbg_redzone2(cache, obj); in verify_redzone_free()
2710 obj, redzone1, redzone2); in verify_redzone_free()
2857 void *obj; in cache_alloc_pfmemalloc() local
2870 obj = slab_get_obj(cachep, page); in cache_alloc_pfmemalloc()
2878 return obj; in cache_alloc_pfmemalloc()
2965 void *obj = cache_alloc_pfmemalloc(cachep, n, flags); in cache_alloc_refill() local
2967 if (obj) in cache_alloc_refill()
2968 return obj; in cache_alloc_refill()
[all …]
Dkmemleak.c1644 struct kmemleak_object *obj = prev_obj; in kmemleak_seq_next() local
1648 list_for_each_entry_continue_rcu(obj, &object_list, object_list) { in kmemleak_seq_next()
1649 if (get_object(obj)) { in kmemleak_seq_next()
1650 next_obj = obj; in kmemleak_seq_next()
Dslab.h468 static inline struct kmem_cache *virt_to_cache(const void *obj) in virt_to_cache() argument
472 page = virt_to_head_page(obj); in virt_to_cache()
Dslub.c2658 void *obj) in maybe_wipe_obj_freeptr() argument
2660 if (unlikely(slab_want_init_on_free(s)) && obj) in maybe_wipe_obj_freeptr()
2661 memset((void *)((char *)obj + s->offset), 0, sizeof(void *)); in maybe_wipe_obj_freeptr()
/mm/kasan/
DMakefile22 obj-$(CONFIG_KASAN) := common.o init.o report.o
23 obj-$(CONFIG_KASAN_GENERIC) += generic.o generic_report.o quarantine.o
24 obj-$(CONFIG_KASAN_SW_TAGS) += tags.o tags_report.o