Lines Matching refs:cmpxchg
658 nc = cmpxchg(&pg->linear_pt_count, oc, nc); in inc_linear_entries()
682 nc = cmpxchg(&pg->linear_pt_count, oc, nc); in inc_linear_uses()
778 while ( (y = cmpxchg(&page->u.inuse.type_info, x, x + 1)) != x ); \
1059 } while ( (y = cmpxchg(&page->count_info, x, nx)) != x ); in get_page_from_l1e()
1068 } while ( (y = cmpxchg(&page->count_info, x, nx)) != x ); in get_page_from_l1e()
1864 } while ( cmpxchg(&page->u.inuse.type_info, x, nx) != x ); in page_lock()
1880 } while ( (y = cmpxchg(&page->u.inuse.type_info, x, nx)) != x ); in page_unlock()
2209 while ( unlikely((y = cmpxchg(&page->count_info, x, nx)) != x) ); in put_page()
2237 while ( (y = cmpxchg(&page->count_info, x, x + 1)) != x ); in page_get_owner_and_reference()
2283 y = cmpxchg(&page->count_info, x, nx); in get_page_light()
2478 if ( unlikely((y = cmpxchg(&page->u.inuse.type_info, in _put_page_type()
2515 if ( likely((y = cmpxchg(&page->u.inuse.type_info, x, nx)) == x) ) in _put_page_type()
2643 if ( likely((y = cmpxchg(&page->u.inuse.type_info, x, nx)) == x) ) in __get_page_type()
3858 y = cmpxchg(&page->count_info, x, x & ~PGC_count_mask); in steal_page()
3878 } while ( (y = cmpxchg(&page->count_info, x, x | 1)) != x ); in steal_page()