Lines Matching defs:page
341 static __always_inline void slab_lock(struct page *page) in slab_lock()
347 static __always_inline void slab_unlock(struct page *page) in slab_unlock()
354 static inline bool __cmpxchg_double_slab(struct kmem_cache *s, struct page *page, in __cmpxchg_double_slab()
391 static inline bool cmpxchg_double_slab(struct kmem_cache *s, struct page *page, in cmpxchg_double_slab()
437 struct page *page) in __fill_map()
454 static unsigned long *get_map(struct kmem_cache *s, struct page *page) in get_map()
522 struct page *page, void *object) in check_valid_pointer()
587 struct page *page, enum track_item alloc, in get_each_object_track()
680 static void print_page_info(struct page *page) in print_page_info()
713 static bool freelist_corrupted(struct kmem_cache *s, struct page *page, in freelist_corrupted()
727 static void print_trailer(struct kmem_cache *s, struct page *page, u8 *p) in print_trailer()
766 void object_err(struct kmem_cache *s, struct page *page, in object_err()
774 static __printf(3, 4) void slab_err(struct kmem_cache *s, struct page *page, in slab_err()
812 static int check_bytes_and_report(struct kmem_cache *s, struct page *page, in check_bytes_and_report()
879 static int check_pad_bytes(struct kmem_cache *s, struct page *page, u8 *p) in check_pad_bytes()
897 static int slab_pad_check(struct kmem_cache *s, struct page *page) in slab_pad_check()
933 static int check_object(struct kmem_cache *s, struct page *page, in check_object()
989 static int check_slab(struct kmem_cache *s, struct page *page) in check_slab()
1020 static int on_freelist(struct kmem_cache *s, struct page *page, void *search) in on_freelist()
1069 static void trace(struct kmem_cache *s, struct page *page, void *object, in trace()
1091 struct kmem_cache_node *n, struct page *page) in add_full()
1100 static void remove_full(struct kmem_cache *s, struct kmem_cache_node *n, struct page *page) in remove_full()
1146 static void setup_object_debug(struct kmem_cache *s, struct page *page, in setup_object_debug()
1157 void setup_page_debug(struct kmem_cache *s, struct page *page, void *addr) in setup_page_debug()
1168 struct page *page, void *object) in alloc_consistency_checks()
1185 struct page *page, in alloc_debug_processing()
1215 struct page *page, void *object, unsigned long addr) in free_consistency_checks()
1248 struct kmem_cache *s, struct page *page, in free_debug_processing()
1496 struct page *page, void *object) {} in setup_object_debug()
1498 void setup_page_debug(struct kmem_cache *s, struct page *page, void *addr) {} in setup_page_debug()
1501 struct page *page, void *object, unsigned long addr) { return 0; } in alloc_debug_processing()
1504 struct kmem_cache *s, struct page *page, in free_debug_processing()
1508 static inline int slab_pad_check(struct kmem_cache *s, struct page *page) in slab_pad_check()
1510 static inline int check_object(struct kmem_cache *s, struct page *page, in check_object()
1513 struct page *page) {} in add_full()
1515 struct page *page) {} in remove_full()
1534 static bool freelist_corrupted(struct kmem_cache *s, struct page *page, in freelist_corrupted()
1651 static void *setup_object(struct kmem_cache *s, struct page *page, in setup_object()
1670 struct page *page; in alloc_slab_page() local
1726 static void *next_freelist_entry(struct kmem_cache *s, struct page *page, in next_freelist_entry()
1748 static bool shuffle_freelist(struct kmem_cache *s, struct page *page) in shuffle_freelist()
1787 static inline bool shuffle_freelist(struct kmem_cache *s, struct page *page) in shuffle_freelist()
1795 struct page *page; in allocate_slab() local
1882 static void __free_slab(struct kmem_cache *s, struct page *page) in __free_slab()
1908 struct page *page = container_of(h, struct page, rcu_head); in rcu_free_slab() local
1913 static void free_slab(struct kmem_cache *s, struct page *page) in free_slab()
1921 static void discard_slab(struct kmem_cache *s, struct page *page) in discard_slab()
1931 __add_partial(struct kmem_cache_node *n, struct page *page, int tail) in __add_partial()
1941 struct page *page, int tail) in add_partial()
1948 struct page *page) in remove_partial()
1962 struct kmem_cache_node *n, struct page *page, in acquire_slab()
2010 struct page *page, *page2; in get_partial_node() local
2208 static void deactivate_slab(struct kmem_cache *s, struct page *page, in deactivate_slab()
2369 struct page *page, *discard_page = NULL; in unfreeze_partials() local
2432 static void put_cpu_partial(struct kmem_cache *s, struct page *page, int drain) in put_cpu_partial()
2548 static inline int node_match(struct page *page, int node) in node_match()
2558 static int count_free(struct page *page) in count_free()
2571 int (*get_count)(struct page *)) in count_partial()
2575 struct page *page; in count_partial() local
2627 struct page *page; in new_slab_objects() local
2657 static inline bool pfmemalloc_match(struct page *page, gfp_t gfpflags) in pfmemalloc_match()
2675 static inline void *get_freelist(struct kmem_cache *s, struct page *page) in get_freelist()
2722 struct page *page; in ___slab_alloc() local
2872 struct page *page; in slab_alloc_node() local
3026 static void __slab_free(struct kmem_cache *s, struct page *page, in __slab_free()
3159 struct page *page, void *head, void *tail, in do_slab_free()
3204 static __always_inline void slab_free(struct kmem_cache *s, struct page *page, in slab_free()
3234 struct page *page; member
3260 struct page *page; in build_detached_freelist() local
3596 struct page *page; in early_kmem_cache_node_alloc() local
3913 static void list_slab_objects(struct kmem_cache *s, struct page *page, in list_slab_objects()
3945 struct page *page, *h; in free_partial() local
4051 struct page *page; in kmalloc_large_node() local
4106 void __check_heap_object(const void *ptr, unsigned long n, struct page *page, in __check_heap_object()
4163 struct page *page; in __ksize() local
4181 struct page *page; in kfree() local
4220 struct page *page; in __kmem_cache_shrink() local
4587 static int count_inuse(struct page *page) in count_inuse()
4592 static int count_total(struct page *page) in count_total()
4599 static void validate_slab(struct kmem_cache *s, struct page *page) in validate_slab()
4628 struct page *page; in validate_slab_node() local
4801 struct page *page, enum track_item alloc, in process_slab()
4926 struct page *page; in show_slab_objects() local
5149 struct page *page; in slabs_cpu_partial_show() local
5163 struct page *page; in slabs_cpu_partial_show() local
5838 struct page *page; in slab_debug_trace_open() local