Searched refs:atomic_add_negative (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/tools/memory-model/ |
D | linux-kernel.def | 119 atomic_add_negative(V,X) __atomic_op_return{mb}(X,+,V) < 0
|
/linux-6.6.21/kernel/ |
D | ucount.c | 153 return !atomic_add_negative(1, &ucounts->count); in get_ucounts_or_wrap()
|
/linux-6.6.21/Documentation/ |
D | atomic_t.txt | 50 atomic_inc_and_test(), atomic_add_negative()
|
/linux-6.6.21/mm/ |
D | rmap.c | 1410 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/ |
D | hw_queue.c | 141 if (atomic_add_negative(num_of_entries * -1, free_slots)) { in ext_queue_sanity_checks()
|
/linux-6.6.21/include/linux/atomic/ |
D | atomic-instrumented.h | 1409 atomic_add_negative(int i, atomic_t *v) in atomic_add_negative() function
|
/linux-6.6.21/drivers/infiniband/core/ |
D | cm.c | 1835 while (!ret && !atomic_add_negative(-1, &cm_id_priv->work_count)) { in cm_process_work()
|