/Linux-v4.19/arch/powerpc/mm/ |
D | mmu_context_iommu.c | 132 struct mm_iommu_table_group_mem_t *mem; in mm_iommu_get() local 257 static void mm_iommu_unpin(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_unpin() 278 static void mm_iommu_do_free(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_do_free() 288 struct mm_iommu_table_group_mem_t *mem = container_of(head, in mm_iommu_free() local 294 static void mm_iommu_release(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_release() 300 long mm_iommu_put(struct mm_struct *mm, struct mm_iommu_table_group_mem_t *mem) in mm_iommu_put() 338 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_lookup() local 356 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_lookup_rm() local 374 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_find() local 387 long mm_iommu_ua_to_hpa(struct mm_iommu_table_group_mem_t *mem, in mm_iommu_ua_to_hpa() [all …]
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | videobuf-dma-contig.c | 41 struct videobuf_dma_contig_memory *mem, in __videobuf_dc_alloc() 59 struct videobuf_dma_contig_memory *mem) in __videobuf_dc_free() 87 struct videobuf_dma_contig_memory *mem; in videobuf_vm_close() local 144 static void videobuf_dma_contig_user_put(struct videobuf_dma_contig_memory *mem) in videobuf_dma_contig_user_put() 160 static int videobuf_dma_contig_user_get(struct videobuf_dma_contig_memory *mem, in videobuf_dma_contig_user_get() 213 struct videobuf_dma_contig_memory *mem; in __videobuf_alloc() local 228 struct videobuf_dma_contig_memory *mem = buf->priv; in __videobuf_to_vaddr() local 240 struct videobuf_dma_contig_memory *mem = vb->priv; in __videobuf_iolock() local 280 struct videobuf_dma_contig_memory *mem; in __videobuf_mmap_mapper() local 368 struct videobuf_dma_contig_memory *mem = buf->priv; in videobuf_to_dma_contig() local [all …]
|
D | videobuf-vmalloc.c | 75 struct videobuf_vmalloc_memory *mem; in videobuf_vm_close() local 140 struct videobuf_vmalloc_memory *mem; in __videobuf_alloc_vb() local 161 struct videobuf_vmalloc_memory *mem = vb->priv; in __videobuf_iolock() local 236 struct videobuf_vmalloc_memory *mem; in __videobuf_mmap_mapper() local 317 struct videobuf_vmalloc_memory *mem = buf->priv; in videobuf_to_vmalloc() local 327 struct videobuf_vmalloc_memory *mem = buf->priv; in videobuf_vmalloc_free() local
|
D | videobuf-dma-sg.c | 139 struct videobuf_dma_sg_memory *mem = buf->priv; in videobuf_to_dma() local 401 struct videobuf_dma_sg_memory *mem; in videobuf_vm_close() local 473 struct videobuf_dma_sg_memory *mem; in __videobuf_alloc_vb() local 494 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_to_vaddr() local 508 struct videobuf_dma_sg_memory *mem = vb->priv; in __videobuf_iolock() local 578 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_sync() local 594 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_mmap_mapper() local
|
/Linux-v4.19/drivers/spi/ |
D | spi-mem.c | 100 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req() 129 static bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op() 167 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op() 190 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op() 325 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name() 346 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size() 366 struct spi_mem *mem; in spi_mem_probe() local 390 struct spi_mem *mem = spi_get_drvdata(spi); in spi_mem_remove() local 401 struct spi_mem *mem = spi_get_drvdata(spi); in spi_mem_shutdown() local
|
/Linux-v4.19/kernel/dma/ |
D | coherent.c | 33 struct dma_coherent_mem * mem) in dma_get_device_base() 43 struct dma_coherent_mem **mem) in dma_init_coherent_memory() 89 static void dma_release_coherent_memory(struct dma_coherent_mem *mem) in dma_release_coherent_memory() 100 struct dma_coherent_mem *mem) in dma_assign_coherent_memory() 115 struct dma_coherent_mem *mem; in dma_declare_coherent_memory() local 131 struct dma_coherent_mem *mem = dev->dma_mem; in dma_release_declared_memory() local 143 struct dma_coherent_mem *mem = dev->dma_mem; in dma_mark_declared_memory_occupied() local 163 static void *__dma_alloc_from_coherent(struct dma_coherent_mem *mem, in __dma_alloc_from_coherent() 210 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_alloc_from_dev_coherent() local 237 static int __dma_release_from_coherent(struct dma_coherent_mem *mem, in __dma_release_from_coherent() [all …]
|
/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_mr.c | 54 int mem_check_range(struct rxe_mem *mem, u64 iova, size_t length) in mem_check_range() 77 static void rxe_mem_init(int access, struct rxe_mem *mem) in rxe_mem_init() 96 struct rxe_mem *mem = container_of(arg, typeof(*mem), pelem); in rxe_mem_cleanup() local 110 static int rxe_mem_alloc(struct rxe_mem *mem, int num_buf) in rxe_mem_alloc() 149 int access, struct rxe_mem *mem) in rxe_mem_init_dma() 163 struct rxe_mem *mem) in rxe_mem_init_user() 240 int max_pages, struct rxe_mem *mem) in rxe_mem_init_fast() 265 struct rxe_mem *mem, in lookup_iova() 304 void *iova_to_vaddr(struct rxe_mem *mem, u64 iova, int length) in iova_to_vaddr() 345 int rxe_mem_copy(struct rxe_mem *mem, u64 iova, void *addr, int length, in rxe_mem_copy() [all …]
|
/Linux-v4.19/drivers/char/hw_random/ |
D | intel-rng.c | 155 static inline u8 hwstatus_get(void __iomem *mem) in hwstatus_get() 160 static inline u8 hwstatus_set(void __iomem *mem, in hwstatus_set() 169 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_data_present() local 184 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_data_read() local 193 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_init() local 212 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_cleanup() local 233 void __iomem *mem; member 333 void __iomem *mem = mem; in mod_init() local 408 void __iomem *mem = (void __iomem *)intel_rng.priv; in mod_exit() local
|
D | geode-rng.c | 57 void __iomem *mem = (void __iomem *)rng->priv; in geode_rng_data_read() local 66 void __iomem *mem = (void __iomem *)rng->priv; in geode_rng_data_present() local 91 void __iomem *mem; in mod_init() local 129 void __iomem *mem = (void __iomem *)geode_rng.priv; in mod_exit() local
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_mem.c | 36 nouveau_mem_map(struct nouveau_mem *mem, in nouveau_mem_map() 85 nouveau_mem_fini(struct nouveau_mem *mem) in nouveau_mem_fini() 97 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_host() local 135 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_vram() local 178 struct nouveau_mem *mem = nouveau_mem(reg); in nouveau_mem_del() local 188 struct nouveau_mem *mem; in nouveau_mem_new() local
|
D | nouveau_sgdma.c | 14 struct nouveau_mem *mem; member 32 struct nouveau_mem *mem = nouveau_mem(reg); in nv04_sgdma_bind() local 67 struct nouveau_mem *mem = nouveau_mem(reg); in nv50_sgdma_bind() local
|
/Linux-v4.19/drivers/base/ |
D | memory.c | 82 struct memory_block *mem = to_memory_block(dev); in memory_block_release() local 115 struct memory_block *mem = to_memory_block(dev); in show_mem_start_phys_index() local 130 struct memory_block *mem = to_memory_block(dev); in show_mem_removable() local 152 struct memory_block *mem = to_memory_block(dev); in show_mem_state() local 261 static int memory_block_change_state(struct memory_block *mem, in memory_block_change_state() 283 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online() local 308 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline() local 324 struct memory_block *mem = to_memory_block(dev); in store_mem_state() local 391 struct memory_block *mem = to_memory_block(dev); in show_phys_device() local 412 struct memory_block *mem = to_memory_block(dev); in show_valid_zones() local [all …]
|
/Linux-v4.19/arch/alpha/include/uapi/asm/ |
D | compiler.h | 94 #define __kernel_ldbu(mem) (mem) argument 95 #define __kernel_ldwu(mem) (mem) argument 96 #define __kernel_stb(val,mem) ((mem) = (val)) argument 97 #define __kernel_stw(val,mem) ((mem) = (val)) argument 99 #define __kernel_ldbu(mem) \ argument 104 #define __kernel_ldwu(mem) \ argument 109 #define __kernel_stb(val,mem) \ argument 112 #define __kernel_stw(val,mem) \ argument
|
/Linux-v4.19/drivers/pci/endpoint/ |
D | pci-epc-mem.c | 23 static int pci_epc_mem_get_order(struct pci_epc_mem *mem, size_t size) in pci_epc_mem_get_order() 52 struct pci_epc_mem *mem; in __pci_epc_mem_init() local 104 struct pci_epc_mem *mem = epc->mem; in pci_epc_mem_exit() local 126 struct pci_epc_mem *mem = epc->mem; in pci_epc_mem_alloc_addr() local 159 struct pci_epc_mem *mem = epc->mem; in pci_epc_mem_free_addr() local
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | mem.c | 35 struct page **mem; member 57 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_addr() local 73 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_map_dma() local 85 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_dtor() local 113 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_map_sgl() local 135 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_map_host() local 154 struct nvkm_mem *mem; in nvkm_mem_new_host() local
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvif/ |
D | mem.c | 28 nvif_mem_init_map(struct nvif_mmu *mmu, u8 type, u64 size, struct nvif_mem *mem) in nvif_mem_init_map() 41 nvif_mem_fini(struct nvif_mem *mem) in nvif_mem_fini() 48 u64 size, void *argv, u32 argc, struct nvif_mem *mem) in nvif_mem_init_type() 87 u64 size, void *argv, u32 argc, struct nvif_mem *mem) in nvif_mem_init()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 81 struct kgd_mem *mem) in check_if_add_bo_to_vm() 99 uint64_t mem; in amdgpu_amdkfd_gpuvm_init_mem_limits() local 443 static int add_bo_to_vm(struct amdgpu_device *adev, struct kgd_mem *mem, in add_bo_to_vm() 534 static void add_kgd_mem_to_kfd_bo_list(struct kgd_mem *mem, in add_kgd_mem_to_kfd_bo_list() 564 static int init_user_pages(struct kgd_mem *mem, struct mm_struct *mm, in init_user_pages() 661 static int reserve_bo_and_vm(struct kgd_mem *mem, in reserve_bo_and_vm() 713 static int reserve_bo_and_cond_vms(struct kgd_mem *mem, in reserve_bo_and_cond_vms() 1129 void *vm, struct kgd_mem **mem, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1261 struct kgd_dev *kgd, struct kgd_mem *mem) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() 1335 struct kgd_dev *kgd, struct kgd_mem *mem, void *vm) in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() [all …]
|
D | amdgpu_gtt_mgr.c | 93 bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_mem_reg *mem) in amdgpu_gtt_mgr_has_gart_addr() 113 struct ttm_mem_reg *mem) in amdgpu_gtt_mgr_alloc() 164 struct ttm_mem_reg *mem) in amdgpu_gtt_mgr_new() 220 struct ttm_mem_reg *mem) in amdgpu_gtt_mgr_del()
|
/Linux-v4.19/tools/perf/ |
D | builtin-mem.c | 36 struct perf_mem *mem = *(struct perf_mem **)opt->value; in parse_record_events() local 67 static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) in __cmd_record() 154 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() local 238 static int report_raw_events(struct perf_mem *mem) in report_raw_events() 277 static int report_events(int argc, const char **argv, struct perf_mem *mem) in report_events() 389 struct perf_mem mem = { in cmd_mem() local
|
/Linux-v4.19/mm/ |
D | cma_debug.c | 73 static void cma_add_to_cma_mem_list(struct cma *cma, struct cma_mem *mem) in cma_add_to_cma_mem_list() 82 struct cma_mem *mem = NULL; in cma_get_entry_from_list() local 96 struct cma_mem *mem = NULL; in cma_free_mem() local 135 struct cma_mem *mem; in cma_alloc_mem() local
|
/Linux-v4.19/drivers/leds/ |
D | leds-bcm6358.c | 44 void __iomem *mem; member 68 static unsigned long bcm6358_led_busy(void __iomem *mem) in bcm6358_led_busy() 99 void __iomem *mem, spinlock_t *lock) in bcm6358_led() 159 void __iomem *mem; in bcm6358_leds_probe() local
|
/Linux-v4.19/arch/mips/sgi-ip22/ |
D | ip22-mc.c | 43 struct mem { struct 54 struct mem bank[4]; in probe_memory() argument
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_bo_util.c | 134 struct ttm_mem_reg *mem) in ttm_mem_io_reserve() 159 struct ttm_mem_reg *mem) in ttm_mem_io_free() 176 struct ttm_mem_reg *mem = &bo->mem; in ttm_mem_io_reserve_vm() local 196 struct ttm_mem_reg *mem = &bo->mem; in ttm_mem_io_free_vm() local 205 static int ttm_mem_reg_ioremap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, in ttm_mem_reg_ioremap() 237 static void ttm_mem_reg_iounmap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, in ttm_mem_reg_iounmap() 558 struct ttm_mem_reg *mem = &bo->mem; in ttm_bo_ioremap() local 580 struct ttm_mem_reg *mem = &bo->mem; in ttm_bo_kmap_ttm() local
|
/Linux-v4.19/drivers/char/agp/ |
D | i460-agp.c | 170 static void i460_tlb_flush (struct agp_memory *mem) in i460_tlb_flush() 293 static int i460_insert_memory_small_io_page (struct agp_memory *mem, in i460_insert_memory_small_io_page() 336 static int i460_remove_memory_small_io_page(struct agp_memory *mem, in i460_remove_memory_small_io_page() 400 static int i460_insert_memory_large_io_page (struct agp_memory *mem, in i460_insert_memory_large_io_page() 461 static int i460_remove_memory_large_io_page (struct agp_memory *mem, in i460_remove_memory_large_io_page() 500 static int i460_insert_memory (struct agp_memory *mem, in i460_insert_memory() 509 static int i460_remove_memory (struct agp_memory *mem, in i460_remove_memory()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | memtrace.c | 28 void *mem; member 56 static int check_memblock_online(struct memory_block *mem, void *arg) in check_memblock_online() 64 static int change_memblock_state(struct memory_block *mem, void *arg) in change_memblock_state() 195 static int online_mem_block(struct memory_block *mem, void *arg) in online_mem_block()
|