Searched refs:atomic_inc_return (Results 1 – 2 of 2) sorted by relevance
52 # define atomic_inc_return(x) (__sync_add_and_fetch (&(x)->atomic, 1)) macro72 # define atomic_inc_return(x) (AO_fetch_and_add1_full(&(x)->atomic) + 1) macro96 # define atomic_inc_return(x) (atomic_inc_uint_nv(&(x)->atomic)) macro
663 if (atomic_inc_return(&nvbo->refcnt) == 1) { in nouveau_bo_wrap_locked()