Searched refs:hash (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | userfaultfd.c | 190 u32 hash; in __mcopy_atomic_hugetlb() local 272 hash = hugetlb_fault_mutex_hash(h, mapping, idx, dst_addr); in __mcopy_atomic_hugetlb() 273 mutex_lock(&hugetlb_fault_mutex_table[hash]); in __mcopy_atomic_hugetlb() 278 mutex_unlock(&hugetlb_fault_mutex_table[hash]); in __mcopy_atomic_hugetlb() 285 mutex_unlock(&hugetlb_fault_mutex_table[hash]); in __mcopy_atomic_hugetlb() 292 mutex_unlock(&hugetlb_fault_mutex_table[hash]); in __mcopy_atomic_hugetlb()
|
D | hugetlb.c | 3948 u32 hash; in hugetlb_no_page() local 3967 hash = hugetlb_fault_mutex_hash(h, mapping, idx, haddr); in hugetlb_no_page() 3968 mutex_unlock(&hugetlb_fault_mutex_table[hash]); in hugetlb_no_page() 3970 mutex_lock(&hugetlb_fault_mutex_table[hash]); in hugetlb_no_page() 4098 u32 hash; in hugetlb_fault_mutex_hash() local 4103 hash = jhash2((u32 *)&key, sizeof(key)/sizeof(u32), 0); in hugetlb_fault_mutex_hash() 4105 return hash & (num_fault_mutexes - 1); in hugetlb_fault_mutex_hash() 4125 u32 hash; in hugetlb_fault() local 4157 hash = hugetlb_fault_mutex_hash(h, mapping, idx, haddr); in hugetlb_fault() 4158 mutex_lock(&hugetlb_fault_mutex_table[hash]); in hugetlb_fault() [all …]
|
D | khugepaged.c | 89 struct hlist_node hash; member 388 hash_for_each_possible(mm_slots_hash, mm_slot, hash, (unsigned long)mm) in get_mm_slot() 399 hash_add(mm_slots_hash, &mm_slot->hash, (long)mm); in insert_to_mm_slots_hash() 492 hash_del(&mm_slot->hash); in __khugepaged_exit() 1248 hash_del(&mm_slot->hash); in collect_mm_slot()
|