Searched refs:atomic_dec_and_test (Results 1 – 11 of 11) sorted by relevance
137 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test() function143 #define atomic_dec_and_test atomic_dec_and_test macro
114 if (atomic_dec_and_test(&page->pt_frag_refcount)) { in pte_fragment_free()
84 if (atomic_dec_and_test(&host_sleep_count)) { in rng_dev_read()
125 if( !atomic_dec_and_test(&rtc_ready) ) in rtc_open()
137 if (!atomic_dec_and_test(&rtc_status)) { in rtc_open()
404 } else if (atomic_dec_and_test(&test_runs) || random_warps) { in check_tsc_sync_source()
113 if (atomic_dec_and_test(&dtl_count)) in dtl_stop()
345 if (atomic_dec_and_test(&page->pt_frag_refcount)) { in pmd_fragment_free()
1157 if (atomic_dec_and_test(&smp_capture_depth)) { in smp_release()
2153 if (atomic_dec_and_test(&mm->context.perf_rdpmc_allowed)) in x86_pmu_event_unmapped()
1930 if (atomic_dec_and_test(&rdtgrp->waitcount) && in rdtgroup_kn_unlock()