Searched refs:atomic_sub_and_test (Results 1 – 17 of 17) sorted by relevance
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | refcount-vs-atomic.rst | 124 * atomic_sub_and_test() --> refcount_sub_and_test()
|
/linux-6.6.21/arch/powerpc/mm/ |
D | pgtable-frag.c | 27 if (atomic_sub_and_test(PTE_FRAG_NR - count, &ptdesc->pt_frag_refcount)) { in pte_frag_destroy()
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | mmu_context.c | 255 if (atomic_sub_and_test(PMD_FRAG_NR - count, &ptdesc->pt_frag_refcount)) { in pmd_frag_destroy()
|
/linux-6.6.21/include/linux/ |
D | page_ref.h | 182 int ret = atomic_sub_and_test(nr, &page->_refcount); in page_ref_sub_and_test()
|
/linux-6.6.21/tools/memory-model/ |
D | linux-kernel.def | 116 atomic_sub_and_test(V,X) __atomic_op_return{mb}(X,-,V) == 0
|
/linux-6.6.21/fs/btrfs/ |
D | subpage.c | 263 last = atomic_sub_and_test(nbits, &subpage->readers); in btrfs_subpage_end_reader() 327 return atomic_sub_and_test(nbits, &subpage->writers); in btrfs_subpage_end_and_test_writer()
|
/linux-6.6.21/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 135 * atomic_sub_and_test() --> refcount_sub_and_test()
|
/linux-6.6.21/net/smc/ |
D | smc_rx.c | 130 if (atomic_sub_and_test(priv->len, &conn->splice_pending)) in smc_rx_pipe_buf_release()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_context.c | 315 if (!atomic_sub_and_test(sub, &ce->pin_count)) in __intel_context_do_unpin()
|
/linux-6.6.21/drivers/most/ |
D | core.c | 110 if (atomic_sub_and_test(1, &c->mbo_ref)) in most_free_mbo_coherent() 1065 if (atomic_sub_and_test(1, &c->mbo_nq_level)) in most_read_completion()
|
/linux-6.6.21/Documentation/ |
D | atomic_t.txt | 45 atomic_sub_and_test(), atomic_dec_and_test()
|
/linux-6.6.21/fs/iomap/ |
D | buffered-io.c | 263 if (!ifs || atomic_sub_and_test(len, &ifs->read_bytes_pending)) in iomap_finish_folio_read() 1466 if (!ifs || atomic_sub_and_test(len, &ifs->write_bytes_pending)) in iomap_finish_folio_write()
|
/linux-6.6.21/kernel/rcu/ |
D | tasks.h | 423 if (atomic_sub_and_test(2, &rtp->barrier_q_count)) in rcu_barrier_tasks_generic()
|
D | tree.c | 4132 if (atomic_sub_and_test(2, &rcu_state.barrier_cpu_count)) in rcu_barrier()
|
/linux-6.6.21/drivers/block/drbd/ |
D | drbd_req.c | 300 if (!atomic_sub_and_test(put, &req->completion_ref)) in drbd_req_put_completion_ref()
|
/linux-6.6.21/include/linux/atomic/ |
D | atomic-instrumented.h | 1354 atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test() function
|
/linux-6.6.21/fs/ |
D | aio.c | 928 if (!atomic_sub_and_test(skipped, &wait.count)) { in exit_aio()
|