Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_user_pages.c126 atomic64_sub(num_pages, &current->mm->pinned_vm); in qib_get_user_pages()
136 atomic64_sub(num_pages, &current->mm->pinned_vm); in qib_release_user_pages()
/linux-6.6.21/drivers/infiniband/core/
Dumem.c201 atomic64_sub(npages, &mm->pinned_vm); in ib_umem_get()
246 atomic64_sub(ib_umem_num_pages(umem), &mm->pinned_vm); in ib_umem_get()
273 atomic64_sub(ib_umem_num_pages(umem), &umem->owning_mm->pinned_vm); in ib_umem_release()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Duser_pages.c101 atomic64_sub(npages, &mm->pinned_vm); in hfi1_release_user_pages()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mksstat.h132atomic64_sub(dt, &pstat[_##kern_cntr.old_top].selfCycles); …
/linux-6.6.21/drivers/infiniband/sw/siw/
Dsiw_mem.c82 atomic64_sub(umem->num_pages, &mm_s->pinned_vm); in siw_umem_release()
444 atomic64_sub(num_pages, &mm_s->pinned_vm); in siw_umem_get()
/linux-6.6.21/arch/arm64/include/asm/
Datomic.h69 ATOMIC64_OP(atomic64_sub)
/linux-6.6.21/include/asm-generic/
Dlocal64.h82 #define local64_sub(i,l) atomic64_sub((i),(&(l)->a))
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_uiom.c181 atomic64_sub(npages, &current->mm->pinned_vm); in usnic_uiom_get_pages()
433 atomic64_sub(usnic_uiom_num_pages(uiomr), &uiomr->owning_mm->pinned_vm); in usnic_uiom_reg_release()
/linux-6.6.21/net/netfilter/
Dnft_quota.c158 atomic64_sub(consumed, priv->consumed); in nft_quota_do_dump()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c1034 atomic64_sub(amdgpu_bo_size(bo), &adev->vram_pin_size); in amdgpu_bo_unpin()
1035 atomic64_sub(amdgpu_vram_mgr_bo_visible_size(bo), in amdgpu_bo_unpin()
1038 atomic64_sub(amdgpu_bo_size(bo), &adev->gart_pin_size); in amdgpu_bo_unpin()
Damdgpu_vram_mgr.c634 atomic64_sub(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_del()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c380 atomic64_sub(phys_pg_pack->total_size, &ctx->dram_phys_mem); in free_device_memory()
381 atomic64_sub(phys_pg_pack->total_size, &hdev->dram_used_mem); in free_device_memory()
2238 atomic64_sub(args->in.alloc.mem_size, in hl_mem_ioctl()
2240 atomic64_sub(args->in.alloc.mem_size, in hl_mem_ioctl()
2776 atomic64_sub(phys_pg_list->total_size, &hdev->dram_used_mem); in hl_vm_ctx_fini()
/linux-6.6.21/arch/s390/kernel/
Dvtime.c307 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/linux-6.6.21/drivers/virtio/
Dvirtio_mem.c652 atomic64_sub(size, &vm->offline_size); in virtio_mem_add_memory()
702 atomic64_sub(size, &vm->offline_size); in virtio_mem_remove_memory()
745 atomic64_sub(size, &vm->offline_size); in virtio_mem_offline_and_remove_memory()
1073 atomic64_sub(size, &vm->offline_size); in virtio_mem_memory_notifier_cb()
/linux-6.6.21/arch/s390/kvm/
Dpci.c201 atomic64_sub(nr_pages, &current->mm->pinned_vm); in unaccount_mem()
/linux-6.6.21/drivers/net/netdevsim/
Dfib.c1172 atomic64_sub(occ, &data->nexthops.num); in nsim_nexthop_account()
1178 atomic64_sub(i, &data->nexthops.num); in nsim_nexthop_account()
/linux-6.6.21/arch/s390/pci/
Dpci_dma.c451 atomic64_sub(size / PAGE_SIZE, &zdev->allocated_pages); in s390_dma_free()
/linux-6.6.21/drivers/misc/
Dvmw_balloon.c1264 atomic64_sub(n_unlocked_frames, &b->size); in vmballoon_deflate()
/linux-6.6.21/drivers/scsi/snic/
Dsnic_scsi.c966 atomic64_sub(act_ios, &st->io.active); in snic_hba_reset_scsi_cleanup()
969 atomic64_sub(act_fwreqs, &st->fw.actv_reqs); in snic_hba_reset_scsi_cleanup()
/linux-6.6.21/io_uring/
Drsrc.c68 atomic64_sub(nr_pages, &ctx->mm_account->pinned_vm); in io_unaccount_mem()
/linux-6.6.21/fs/nilfs2/
Dinode.c61 atomic64_sub(n, &root->blocks_count); in nilfs_inode_sub_blocks()
/linux-6.6.21/block/
Dblk-cgroup.c1832 atomic64_sub(sub, &blkg->delay_nsec); in blkcg_scale_delay()
/linux-6.6.21/drivers/vhost/
Dvdpa.c825 atomic64_sub(PFN_DOWN(map->size), &dev->mm->pinned_vm); in vhost_vdpa_pa_unmap()
/linux-6.6.21/drivers/iommu/iommufd/
Dpages.c882 atomic64_sub(npages, &pages->source_mm->pinned_vm); in do_update_pinned()
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h1832 atomic64_sub(s64 i, atomic64_t *v) in atomic64_sub() function

12