Home
last modified time | relevance | path

Searched refs:PG_locked (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/mm/
H A Dfilemap.c1261 if (bit_nr == PG_locked && in folio_wait_bit_common()
1424 wait_page.bit_nr = PG_locked; in migration_entry_wait_on_locked()
1429 if (!folio_trylock_flag(folio, PG_locked, wait)) in migration_entry_wait_on_locked()
1493 return folio_wait_bit_common(folio, PG_locked, state, DROP); in folio_put_wait_locked()
1551 BUILD_BUG_ON(PG_locked > 7); in folio_unlock()
1553 if (clear_bit_unlock_is_negative_byte(PG_locked, folio_flags(folio, 0))) in folio_unlock()
1554 folio_wake_bit(folio, PG_locked); in folio_unlock()
1657 folio_wait_bit_common(folio, PG_locked, TASK_UNINTERRUPTIBLE, in __folio_lock()
1664 return folio_wait_bit_common(folio, PG_locked, TASK_KILLABLE, in __folio_lock_killable()
1675 wait->bit_nr = PG_locked; in __folio_lock_async()
H A Dslub.c517 bit_spin_lock(PG_locked, &page->flags); in slab_lock()
525 __bit_spin_unlock(PG_locked, &page->flags); in slab_unlock()
H A Dhuge_memory.c2432 (1L << PG_locked) | in __split_huge_page_tail()
/openbmc/linux/include/linux/
H A Dpagemap.h1037 return likely(!test_and_set_bit_lock(PG_locked, folio_flags(folio, 0))); in folio_trylock()
1149 folio_wait_bit(folio, PG_locked); in folio_wait_locked()
1156 return folio_wait_bit_killable(folio, PG_locked); in folio_wait_locked_killable()
H A Dpage-flags.h101 PG_locked, /* Page is locked. Don't touch. */ enumerator
1078 (1UL << PG_lru | 1UL << PG_locked | \
/openbmc/linux/fs/proc/
H A Dpage.c181 u |= kpf_copy_bit(k, KPF_LOCKED, PG_locked); in stable_page_flags()
/openbmc/linux/fs/fuse/
H A Ddev.c774 ~(1 << PG_locked | in fuse_check_folio()
/openbmc/linux/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst303 Page lock (PG_locked bit of page->flags)