Home
last modified time | relevance | path

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

/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst124 * atomic_sub_and_test() --> refcount_sub_and_test()
/linux-6.6.21/arch/powerpc/mm/
Dpgtable-frag.c27 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/
Dmmu_context.c255 if (atomic_sub_and_test(PMD_FRAG_NR - count, &ptdesc->pt_frag_refcount)) { in pmd_frag_destroy()
/linux-6.6.21/include/linux/
Dpage_ref.h182 int ret = atomic_sub_and_test(nr, &page->_refcount); in page_ref_sub_and_test()
/linux-6.6.21/tools/memory-model/
Dlinux-kernel.def116 atomic_sub_and_test(V,X) __atomic_op_return{mb}(X,-,V) == 0
/linux-6.6.21/fs/btrfs/
Dsubpage.c263 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/
Drefcount-vs-atomic.rst135 * atomic_sub_and_test() --> refcount_sub_and_test()
/linux-6.6.21/net/smc/
Dsmc_rx.c130 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/
Dintel_context.c315 if (!atomic_sub_and_test(sub, &ce->pin_count)) in __intel_context_do_unpin()
/linux-6.6.21/drivers/most/
Dcore.c110 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/
Datomic_t.txt45 atomic_sub_and_test(), atomic_dec_and_test()
/linux-6.6.21/fs/iomap/
Dbuffered-io.c263 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/
Dtasks.h423 if (atomic_sub_and_test(2, &rtp->barrier_q_count)) in rcu_barrier_tasks_generic()
Dtree.c4132 if (atomic_sub_and_test(2, &rcu_state.barrier_cpu_count)) in rcu_barrier()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_req.c300 if (!atomic_sub_and_test(put, &req->completion_ref)) in drbd_req_put_completion_ref()
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h1354 atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test() function
/linux-6.6.21/fs/
Daio.c928 if (!atomic_sub_and_test(skipped, &wait.count)) { in exit_aio()