Searched refs:atomic_add_negative (Results  1 – 8 of 8) sorted by relevance
| /Linux-v5.15/kernel/ | 
| D | ucount.c | 155 	if (ucounts && atomic_add_negative(1, &ucounts->count)) {  in get_ucounts() 191 	overflow = atomic_add_negative(1, &ucounts->count);  in alloc_ucounts()
  | 
| /Linux-v5.15/mm/ | 
| D | rmap.c | 1268 			if (atomic_add_negative(-1, &page[i]._mapcount))  in page_remove_file_rmap() 1271 		if (!atomic_add_negative(-1, compound_mapcount_ptr(page)))  in page_remove_file_rmap() 1280 		if (!atomic_add_negative(-1, &page->_mapcount))  in page_remove_file_rmap() 1299 	if (!atomic_add_negative(-1, compound_mapcount_ptr(page)))  in page_remove_anon_compound_rmap() 1317 			if (atomic_add_negative(-1, &page[i]._mapcount))  in page_remove_anon_compound_rmap() 1361 	if (!atomic_add_negative(-1, &page->_mapcount))  in page_remove_rmap()
  | 
| D | huge_memory.c | 2121 		if (atomic_add_negative(-1, compound_mapcount_ptr(page))) {  in __split_huge_pmd_locked()
  | 
| /Linux-v5.15/tools/memory-model/ | 
| D | linux-kernel.def | 116 atomic_add_negative(V,X) __atomic_op_return{mb}(X,+,V) < 0
  | 
| /Linux-v5.15/Documentation/ | 
| D | atomic_t.txt | 50   atomic_inc_and_test(), atomic_add_negative()
  | 
| /Linux-v5.15/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-v5.15/include/linux/atomic/ | 
| D | atomic-instrumented.h | 554 atomic_add_negative(int i, atomic_t *v)  in atomic_add_negative()  function
  | 
| /Linux-v5.15/drivers/infiniband/core/ | 
| D | cm.c | 1838 	while (!ret && !atomic_add_negative(-1, &cm_id_priv->work_count)) {  in cm_process_work()
  |