Home
last modified time | relevance | path

Searched refs:mm_slot (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/mm/
Dkhugepaged.c85 struct mm_slot { struct
101 struct mm_slot *mm_slot; member
348 sizeof(struct mm_slot), in khugepaged_init()
349 __alignof__(struct mm_slot), 0, NULL); in khugepaged_init()
365 static inline struct mm_slot *alloc_mm_slot(void) in alloc_mm_slot()
372 static inline void free_mm_slot(struct mm_slot *mm_slot) in free_mm_slot() argument
374 kmem_cache_free(mm_slot_cache, mm_slot); in free_mm_slot()
377 static struct mm_slot *get_mm_slot(struct mm_struct *mm) in get_mm_slot()
379 struct mm_slot *mm_slot; in get_mm_slot() local
381 hash_for_each_possible(mm_slots_hash, mm_slot, hash, (unsigned long)mm) in get_mm_slot()
[all …]
Dksm.c121 struct mm_slot { struct
138 struct mm_slot *mm_slot; member
235 static struct mm_slot ksm_mm_head = {
239 .mm_slot = &ksm_mm_head,
316 mm_slot_cache = KSM_KMEM_CACHE(mm_slot, 0); in ksm_slab_init()
412 static inline struct mm_slot *alloc_mm_slot(void) in alloc_mm_slot()
419 static inline void free_mm_slot(struct mm_slot *mm_slot) in free_mm_slot() argument
421 kmem_cache_free(mm_slot_cache, mm_slot); in free_mm_slot()
424 static struct mm_slot *get_mm_slot(struct mm_struct *mm) in get_mm_slot()
426 struct mm_slot *slot; in get_mm_slot()
[all …]
/Linux-v4.19/Documentation/vm/
Dksm.rst83 :functions: mm_slot ksm_scan stable_node rmap_item