Searched refs:atomic_sub_and_test (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.4/arch/m68k/include/asm/ |
D | atomic.h | 197 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/ |
D | pgtable-frag.c | 27 if (atomic_sub_and_test(PTE_FRAG_NR - count, &page->pt_frag_refcount)) { in pte_frag_destroy()
|
/Linux-v5.4/include/linux/ |
D | refcount.h | 96 return atomic_sub_and_test(i, &r->refs); in refcount_sub_and_test()
|
D | page_ref.h | 121 int ret = atomic_sub_and_test(nr, &page->_refcount); in page_ref_sub_and_test()
|
D | atomic-fallback.h | 1003 #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/ |
D | mmu_context.c | 234 if (atomic_sub_and_test(PMD_FRAG_NR - count, &page->pt_frag_refcount)) { in pmd_frag_destroy()
|
/Linux-v5.4/tools/memory-model/ |
D | linux-kernel.def | 113 atomic_sub_and_test(V,X) __atomic_op_return{mb}(X,-,V) == 0
|
/Linux-v5.4/include/asm-generic/ |
D | atomic-instrumented.h | 735 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
|
D | atomic-long.h | 954 return atomic_sub_and_test(i, v); in atomic_long_sub_and_test()
|
/Linux-v5.4/net/smc/ |
D | smc_rx.c | 124 if (atomic_sub_and_test(priv->len, &conn->splice_pending)) in smc_rx_pipe_buf_release()
|
/Linux-v5.4/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 135 * :c:func:`atomic_sub_and_test` --> :c:func:`refcount_sub_and_test`
|
D | atomic_ops.rst | 247 int atomic_sub_and_test(int i, atomic_t *v);
|
/Linux-v5.4/Documentation/ |
D | atomic_t.txt | 45 atomic_sub_and_test(), atomic_dec_and_test()
|
/Linux-v5.4/drivers/staging/most/ |
D | core.c | 119 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/ |
D | drbd_req.c | 318 if (!atomic_sub_and_test(put, &req->completion_ref)) in drbd_req_put_completion_ref()
|
/Linux-v5.4/fs/ |
D | aio.c | 893 if (!atomic_sub_and_test(skipped, &wait.count)) { in exit_aio()
|
/Linux-v5.4/fs/btrfs/ |
D | extent_io.c | 3895 if (atomic_sub_and_test(num_pages - i, &eb->io_pages)) in write_one_eb()
|