Lines Matching refs:htlbpage_lock
29 static spinlock_t htlbpage_lock = SPIN_LOCK_UNLOCKED; variable
36 spin_lock(&htlbpage_lock); in alloc_hugetlb_page()
38 spin_unlock(&htlbpage_lock); in alloc_hugetlb_page()
45 spin_unlock(&htlbpage_lock); in alloc_hugetlb_page()
250 spin_lock(&htlbpage_lock); in free_huge_page()
253 spin_unlock(&htlbpage_lock); in free_huge_page()
388 spin_lock(&htlbpage_lock); in try_to_free_low()
408 spin_unlock(&htlbpage_lock); in try_to_free_low()
434 spin_lock(&htlbpage_lock); in set_hugetlb_mem_size()
438 spin_unlock(&htlbpage_lock); in set_hugetlb_mem_size()
448 spin_lock(&htlbpage_lock); in set_hugetlb_mem_size()
450 spin_unlock(&htlbpage_lock); in set_hugetlb_mem_size()
481 spin_lock(&htlbpage_lock); in hugetlb_init()
483 spin_unlock(&htlbpage_lock); in hugetlb_init()