Lines Matching refs:lock
1317 spin_lock(&zone->lock); in free_pcppages_bulk()
1335 spin_unlock(&zone->lock); in free_pcppages_bulk()
1343 spin_lock(&zone->lock); in free_one_page()
1349 spin_unlock(&zone->lock); in free_one_page()
2528 spin_lock_irqsave(&zone->lock, flags); in reserve_highatomic_pageblock()
2544 spin_unlock_irqrestore(&zone->lock, flags); in reserve_highatomic_pageblock()
2577 spin_lock_irqsave(&zone->lock, flags); in unreserve_highatomic_pageblock()
2618 spin_unlock_irqrestore(&zone->lock, flags); in unreserve_highatomic_pageblock()
2622 spin_unlock_irqrestore(&zone->lock, flags); in unreserve_highatomic_pageblock()
2752 spin_lock(&zone->lock); in rmqueue_bulk()
2786 spin_unlock(&zone->lock); in rmqueue_bulk()
2981 spin_lock_irqsave(&zone->lock, flags); in mark_free_pages()
3015 spin_unlock_irqrestore(&zone->lock, flags); in mark_free_pages()
3285 spin_lock_irqsave(&zone->lock, flags); in rmqueue()
3297 spin_unlock(&zone->lock); in rmqueue()
5416 spin_lock_irqsave(&zone->lock, flags); in show_free_areas()
5430 spin_unlock_irqrestore(&zone->lock, flags); in show_free_areas()
5756 static DEFINE_SPINLOCK(lock); in __build_all_zonelists()
5758 spin_lock(&lock); in __build_all_zonelists()
5791 spin_unlock(&lock); in __build_all_zonelists()
6731 spin_lock_init(&zone->lock); in zone_init_internals()
7760 spin_lock_irqsave(&zone->lock, flags); in __setup_per_zone_wmarks()
7803 spin_unlock_irqrestore(&zone->lock, flags); in __setup_per_zone_wmarks()
7819 static DEFINE_SPINLOCK(lock); in setup_per_zone_wmarks()
7821 spin_lock(&lock); in setup_per_zone_wmarks()
7823 spin_unlock(&lock); in setup_per_zone_wmarks()
8589 spin_lock_irqsave(&zone->lock, flags); in __offline_isolated_pages()
8621 spin_unlock_irqrestore(&zone->lock, flags); in __offline_isolated_pages()
8634 spin_lock_irqsave(&zone->lock, flags); in is_free_buddy_page()
8641 spin_unlock_irqrestore(&zone->lock, flags); in is_free_buddy_page()
8660 spin_lock_irqsave(&zone->lock, flags); in set_hwpoison_free_buddy_page()
8670 spin_unlock_irqrestore(&zone->lock, flags); in set_hwpoison_free_buddy_page()