Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Drmap.c1354 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()
Dhuge_memory.c2240 if (atomic_add_negative(-1, compound_mapcount_ptr(page))) { in __split_huge_pmd_locked()
/linux-6.1.9/tools/memory-model/
Dlinux-kernel.def116 atomic_add_negative(V,X) __atomic_op_return{mb}(X,+,V) < 0
/linux-6.1.9/kernel/
Ducount.c152 return !atomic_add_negative(1, &ucounts->count); in get_ucounts_or_wrap()
/linux-6.1.9/Documentation/
Datomic_t.txt50 atomic_inc_and_test(), atomic_add_negative()
/linux-6.1.9/drivers/misc/habanalabs/common/
Dhw_queue.c141 if (atomic_add_negative(num_of_entries * -1, free_slots)) { in ext_queue_sanity_checks()
/linux-6.1.9/include/linux/atomic/
Datomic-instrumented.h588 atomic_add_negative(int i, atomic_t *v) in atomic_add_negative() function
/linux-6.1.9/drivers/infiniband/core/
Dcm.c1835 while (!ret && !atomic_add_negative(-1, &cm_id_priv->work_count)) { in cm_process_work()