Home
last modified time | relevance | path

Searched refs:atomic_long_sub (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/ttm/
Dttm_tt.c363 atomic_long_sub(ttm->num_pages, &ttm_pages_allocated); in ttm_tt_populate()
365 atomic_long_sub(ttm->num_pages, in ttm_tt_populate()
383 atomic_long_sub(ttm->num_pages, &ttm_pages_allocated); in ttm_tt_unpopulate()
385 atomic_long_sub(ttm->num_pages, in ttm_tt_unpopulate()
Dttm_pool.c250 atomic_long_sub(1 << pt->order, &allocated_pages); in ttm_pool_type_take()
/linux-6.12.1/fs/ubifs/
Dshrinker.c117 atomic_long_sub(freed, &ubifs_clean_zn_cnt); in shrink_tnc()
118 atomic_long_sub(freed, &c->clean_zn_cnt); in shrink_tnc()
Dtnc_misc.c270 atomic_long_sub(n, &ubifs_clean_zn_cnt); in ubifs_destroy_tnc_tree()
/linux-6.12.1/include/asm-generic/
Dlocal.h34 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a))
/linux-6.12.1/arch/loongarch/include/asm/
Dlocal.h23 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a))
/linux-6.12.1/arch/alpha/include/asm/
Dlocal.h19 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a))
/linux-6.12.1/include/net/
Dinet_frag.h163 atomic_long_sub(val, &fqdir->mem); in sub_frag_mem_limit()
/linux-6.12.1/io_uring/
Drsrc.h142 atomic_long_sub(nr_pages, &user->locked_vm); in __io_unaccount_mem()
/linux-6.12.1/arch/mips/include/asm/
Dlocal.h23 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a))
/linux-6.12.1/net/xdp/
Dxdp_umem.c35 atomic_long_sub(umem->npgs, &umem->user->locked_vm); in xdp_umem_unaccount_pages()
/linux-6.12.1/mm/
Dpage_counter.c143 atomic_long_sub(nr_pages, &c->usage); in page_counter_try_charge()
Dswapfile.c1286 atomic_long_sub(n_goal * size, &nr_swap_pages); in get_swap_pages()
2810 atomic_long_sub(p->pages, &nr_swap_pages); in SYSCALL_DEFINE1()
Dzsmalloc.c864 atomic_long_sub(class->pages_per_zspage, &pool->pages_allocated); in __free_zspage()
/linux-6.12.1/arch/x86/coco/tdx/
Dtdx.c834 atomic_long_sub(numpages, &nr_shared); in tdx_enc_status_change_finish()
/linux-6.12.1/lib/
Dgenalloc.c318 atomic_long_sub(size, &chunk->avail); in gen_pool_alloc_algo_owner()
/linux-6.12.1/kernel/dma/
Dswiotlb.c966 atomic_long_sub(nslots, &mem->total_used); in dec_used()
987 atomic_long_sub(nslots, &mem->transient_nslabs); in dec_transient_used()
/linux-6.12.1/arch/s390/kvm/
Dpci.c199 atomic_long_sub(nr_pages, &user->locked_vm); in unaccount_mem()
/linux-6.12.1/fs/cachefiles/
Dio.c270 atomic_long_sub(ki->b_writing, &object->volume->cache->b_writing); in cachefiles_write_complete()
/linux-6.12.1/include/linux/
Dmm.h2764 atomic_long_sub(PTRS_PER_PUD * sizeof(pud_t), &mm->pgtables_bytes); in mm_dec_nr_puds()
2792 atomic_long_sub(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); in mm_dec_nr_pmds()
2814 atomic_long_sub(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); in mm_dec_nr_ptes()
Dhugetlb.h1004 atomic_long_sub(l, &mm->hugetlb_usage); in hugetlb_count_sub()
/linux-6.12.1/drivers/base/
Dmemory.c1245 atomic_long_sub(i, &mem->nr_hwpoison); in memblk_nr_poison_sub()
/linux-6.12.1/kernel/bpf/
Dcore.c1052 atomic_long_sub(size, &bpf_jit_current); in bpf_jit_charge_modmem()
1062 atomic_long_sub(size, &bpf_jit_current); in bpf_jit_uncharge_modmem()
/linux-6.12.1/mm/kasan/
Dkasan_test_c.c737 KUNIT_EXPECT_KASAN_FAIL(test, atomic_long_sub(42, unsafe)); in kasan_atomics_helper()
/linux-6.12.1/drivers/iommu/iommufd/
Dpages.c827 atomic_long_sub(npages, &pages->source_user->locked_vm); in decr_user_locked_vm()

12