Searched refs:atomic_add_negative (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/mm/ |
D | rmap.c | 1354 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_file_rmap() 1357 if (!atomic_add_negative(-1, compound_mapcount_ptr(page))) in page_remove_file_rmap() 1366 if (atomic_add_negative(-1, &page->_mapcount)) in page_remove_file_rmap() 1378 if (!atomic_add_negative(-1, compound_mapcount_ptr(page))) in page_remove_anon_compound_rmap() 1396 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_anon_compound_rmap() 1439 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_rmap()
|
D | huge_memory.c | 2240 if (atomic_add_negative(-1, compound_mapcount_ptr(page))) { in __split_huge_pmd_locked()
|
/linux-6.1.9/tools/memory-model/ |
D | linux-kernel.def | 116 atomic_add_negative(V,X) __atomic_op_return{mb}(X,+,V) < 0
|
/linux-6.1.9/kernel/ |
D | ucount.c | 152 return !atomic_add_negative(1, &ucounts->count); in get_ucounts_or_wrap()
|
/linux-6.1.9/Documentation/ |
D | atomic_t.txt | 50 atomic_inc_and_test(), atomic_add_negative()
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | hw_queue.c | 141 if (atomic_add_negative(num_of_entries * -1, free_slots)) { in ext_queue_sanity_checks()
|
/linux-6.1.9/include/linux/atomic/ |
D | atomic-instrumented.h | 588 atomic_add_negative(int i, atomic_t *v) in atomic_add_negative() function
|
/linux-6.1.9/drivers/infiniband/core/ |
D | cm.c | 1835 while (!ret && !atomic_add_negative(-1, &cm_id_priv->work_count)) { in cm_process_work()
|