Home
last modified time | relevance | path

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

/mm/
DMakefile48 obj-y := filemap.o mempool.o oom_kill.o fadvise.o \
64 obj-y += page-alloc.o
65 obj-y += init-mm.o
66 obj-y += memblock.o
67 obj-y += $(memory-hotplug-y)
70 obj-$(CONFIG_ADVISE_SYSCALLS) += madvise.o
73 obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o swap_slots.o
74 obj-$(CONFIG_FRONTSWAP) += frontswap.o
75 obj-$(CONFIG_ZSWAP) += zswap.o
76 obj-$(CONFIG_HAS_DMA) += dmapool.o
[all …]
Dzsmalloc.c369 static void record_obj(unsigned long handle, unsigned long obj) in record_obj() argument
376 WRITE_ONCE(*(unsigned long *)handle, obj); in record_obj()
505 static inline void set_freeobj(struct zspage *zspage, unsigned int obj) in set_freeobj() argument
507 zspage->freeobj = obj; in set_freeobj()
839 static void obj_to_location(unsigned long obj, struct page **page, in obj_to_location() argument
842 obj >>= OBJ_TAG_BITS; in obj_to_location()
843 *page = pfn_to_page(obj >> OBJ_INDEX_BITS); in obj_to_location()
844 *obj_idx = (obj & OBJ_INDEX_MASK); in obj_to_location()
854 unsigned long obj; in location_to_obj() local
856 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()
75 u8 *obj = element; in __poison_element() local
77 memset(obj, POISON_FREE, size - 1); in __poison_element()
78 obj[size - 1] = POISON_END; in __poison_element()
Dslab.c2685 static inline void verify_redzone_free(struct kmem_cache *cache, void *obj) in verify_redzone_free() argument
2689 redzone1 = *dbg_redzone1(cache, obj); in verify_redzone_free()
2690 redzone2 = *dbg_redzone2(cache, obj); in verify_redzone_free()
2704 obj, redzone1, redzone2); in verify_redzone_free()
2851 void *obj; in cache_alloc_pfmemalloc() local
2864 obj = slab_get_obj(cachep, page); in cache_alloc_pfmemalloc()
2872 return obj; in cache_alloc_pfmemalloc()
2959 void *obj = cache_alloc_pfmemalloc(cachep, n, flags); in cache_alloc_refill() local
2961 if (obj) in cache_alloc_refill()
2962 return obj; in cache_alloc_refill()
[all …]
Dkmemleak.c1661 struct kmemleak_object *obj = prev_obj; in kmemleak_seq_next() local
1665 list_for_each_entry_continue_rcu(obj, &object_list, object_list) { in kmemleak_seq_next()
1666 if (get_object(obj)) { in kmemleak_seq_next()
1667 next_obj = obj; in kmemleak_seq_next()
Dslab.h439 static inline struct kmem_cache *virt_to_cache(const void *obj) in virt_to_cache() argument
443 page = virt_to_head_page(obj); in virt_to_cache()
Dslub.c3127 void *obj) in maybe_wipe_obj_freeptr() argument
3129 if (unlikely(slab_want_init_on_free(s)) && obj) in maybe_wipe_obj_freeptr()
3130 memset((void *)((char *)kasan_reset_tag(obj) + s->offset), in maybe_wipe_obj_freeptr()
/mm/damon/
DMakefile3 obj-$(CONFIG_DAMON) := core.o
4 obj-$(CONFIG_DAMON_VADDR) += prmtv-common.o vaddr.o
5 obj-$(CONFIG_DAMON_PADDR) += prmtv-common.o paddr.o
6 obj-$(CONFIG_DAMON_DBGFS) += dbgfs.o
7 obj-$(CONFIG_DAMON_RECLAIM) += reclaim.o
/mm/kasan/
DMakefile38 obj-$(CONFIG_KASAN) := common.o report.o
39 obj-$(CONFIG_KASAN_GENERIC) += init.o generic.o report_generic.o shadow.o quarantine.o
40 obj-$(CONFIG_KASAN_HW_TAGS) += hw_tags.o report_hw_tags.o tags.o report_tags.o
41 obj-$(CONFIG_KASAN_SW_TAGS) += init.o report_sw_tags.o shadow.o sw_tags.o tags.o report_tags.o
/mm/kfence/
DMakefile3 obj-$(CONFIG_KFENCE) := core.o report.o
6 obj-$(CONFIG_KFENCE_KUNIT_TEST) += kfence_test.o
Dkfence_test.c519 static void ctor_set_x(void *obj) in ctor_set_x() argument
522 memset(obj, 'x', 8); in ctor_set_x()