Searched refs:mm_slot (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | khugepaged.c | 88 struct mm_slot { struct 108 struct mm_slot *mm_slot; member 355 sizeof(struct mm_slot), in khugepaged_init() 356 __alignof__(struct mm_slot), 0, NULL); in khugepaged_init() 372 static inline struct mm_slot *alloc_mm_slot(void) in alloc_mm_slot() 379 static inline void free_mm_slot(struct mm_slot *mm_slot) in free_mm_slot() argument 381 kmem_cache_free(mm_slot_cache, mm_slot); in free_mm_slot() 384 static struct mm_slot *get_mm_slot(struct mm_struct *mm) in get_mm_slot() 386 struct mm_slot *mm_slot; in get_mm_slot() local 388 hash_for_each_possible(mm_slots_hash, mm_slot, hash, (unsigned long)mm) in get_mm_slot() [all …]
|
D | ksm.c | 120 struct mm_slot { struct 137 struct mm_slot *mm_slot; member 234 static struct mm_slot ksm_mm_head = { 238 .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 …]
|