Lines Matching refs:pc
45 struct page *lookup_cgroup_page(struct page_cgroup *pc);
48 static inline int PageCgroup##uname(struct page_cgroup *pc) \
49 { return test_bit(PCG_##lname, &pc->flags); }
52 static inline void SetPageCgroup##uname(struct page_cgroup *pc)\
53 { set_bit(PCG_##lname, &pc->flags); }
56 static inline void ClearPageCgroup##uname(struct page_cgroup *pc) \
57 { clear_bit(PCG_##lname, &pc->flags); }
60 static inline int TestClearPageCgroup##uname(struct page_cgroup *pc) \
61 { return test_and_clear_bit(PCG_##lname, &pc->flags); }
71 static inline void lock_page_cgroup(struct page_cgroup *pc) in TESTPCGFLAG()
77 bit_spin_lock(PCG_LOCK, &pc->flags); in TESTPCGFLAG()
80 static inline void unlock_page_cgroup(struct page_cgroup *pc) in unlock_page_cgroup() argument
82 bit_spin_unlock(PCG_LOCK, &pc->flags); in unlock_page_cgroup()