Home
last modified time | relevance | path

Searched refs:atomic_sub_and_test (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/arch/m68k/include/asm/
Datomic.h197 static inline int atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test() function
205 #define atomic_sub_and_test atomic_sub_and_test macro
/Linux-v5.4/arch/powerpc/mm/
Dpgtable-frag.c27 if (atomic_sub_and_test(PTE_FRAG_NR - count, &page->pt_frag_refcount)) { in pte_frag_destroy()
/Linux-v5.4/include/linux/
Drefcount.h96 return atomic_sub_and_test(i, &r->refs); in refcount_sub_and_test()
Dpage_ref.h121 int ret = atomic_sub_and_test(nr, &page->_refcount); in page_ref_sub_and_test()
Datomic-fallback.h1003 #ifndef atomic_sub_and_test
1014 atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test() function
1018 #define atomic_sub_and_test atomic_sub_and_test macro
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dmmu_context.c234 if (atomic_sub_and_test(PMD_FRAG_NR - count, &page->pt_frag_refcount)) { in pmd_frag_destroy()
/Linux-v5.4/tools/memory-model/
Dlinux-kernel.def113 atomic_sub_and_test(V,X) __atomic_op_return{mb}(X,-,V) == 0
/Linux-v5.4/include/asm-generic/
Datomic-instrumented.h735 atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test() function
740 #define atomic_sub_and_test atomic_sub_and_test macro
Datomic-long.h954 return atomic_sub_and_test(i, v); in atomic_long_sub_and_test()
/Linux-v5.4/net/smc/
Dsmc_rx.c124 if (atomic_sub_and_test(priv->len, &conn->splice_pending)) in smc_rx_pipe_buf_release()
/Linux-v5.4/Documentation/core-api/
Drefcount-vs-atomic.rst135 * :c:func:`atomic_sub_and_test` --> :c:func:`refcount_sub_and_test`
Datomic_ops.rst247 int atomic_sub_and_test(int i, atomic_t *v);
/Linux-v5.4/Documentation/
Datomic_t.txt45 atomic_sub_and_test(), atomic_dec_and_test()
/Linux-v5.4/drivers/staging/most/
Dcore.c119 if (atomic_sub_and_test(1, &c->mbo_ref)) in most_free_mbo_coherent()
1150 if (atomic_sub_and_test(1, &c->mbo_nq_level)) in most_read_completion()
/Linux-v5.4/drivers/block/drbd/
Ddrbd_req.c318 if (!atomic_sub_and_test(put, &req->completion_ref)) in drbd_req_put_completion_ref()
/Linux-v5.4/fs/
Daio.c893 if (!atomic_sub_and_test(skipped, &wait.count)) { in exit_aio()
/Linux-v5.4/fs/btrfs/
Dextent_io.c3895 if (atomic_sub_and_test(num_pages - i, &eb->io_pages)) in write_one_eb()