Home
last modified time | relevance | path

Searched refs:atomic_add_negative (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/tools/memory-model/
Dlinux-kernel.def119 atomic_add_negative(V,X) __atomic_op_return{mb}(X,+,V) < 0
/linux-6.6.21/kernel/
Ducount.c153 return !atomic_add_negative(1, &ucounts->count); in get_ucounts_or_wrap()
/linux-6.6.21/Documentation/
Datomic_t.txt50 atomic_inc_and_test(), atomic_add_negative()
/linux-6.6.21/mm/
Drmap.c1410 last = atomic_add_negative(-1, &page->_mapcount); in page_remove_rmap()
1419 last = atomic_add_negative(-1, &folio->_entire_mapcount); in page_remove_rmap()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dhw_queue.c141 if (atomic_add_negative(num_of_entries * -1, free_slots)) { in ext_queue_sanity_checks()
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h1409 atomic_add_negative(int i, atomic_t *v) in atomic_add_negative() function
/linux-6.6.21/drivers/infiniband/core/
Dcm.c1835 while (!ret && !atomic_add_negative(-1, &cm_id_priv->work_count)) { in cm_process_work()