Home
last modified time | relevance | path

Searched defs:mem (Results 1 – 25 of 689) sorted by relevance

12345678910>>...28

/Linux-v5.4/arch/powerpc/mm/book3s64/
Diommu_api.c60 struct mm_iommu_table_group_mem_t *mem, *mem2; in mm_iommu_do_alloc() local
199 static void mm_iommu_unpin(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_unpin()
223 static void mm_iommu_do_free(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_do_free()
233 struct mm_iommu_table_group_mem_t *mem = container_of(head, in mm_iommu_free() local
239 static void mm_iommu_release(struct mm_iommu_table_group_mem_t *mem) in mm_iommu_release()
245 long mm_iommu_put(struct mm_struct *mm, struct mm_iommu_table_group_mem_t *mem) in mm_iommu_put()
287 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_lookup() local
305 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_lookup_rm() local
323 struct mm_iommu_table_group_mem_t *mem, *ret = NULL; in mm_iommu_get() local
341 long mm_iommu_ua_to_hpa(struct mm_iommu_table_group_mem_t *mem, in mm_iommu_ua_to_hpa()
[all …]
/Linux-v5.4/drivers/media/v4l2-core/
Dvideobuf-dma-contig.c38 struct videobuf_dma_contig_memory *mem, in __videobuf_dc_alloc()
56 struct videobuf_dma_contig_memory *mem) in __videobuf_dc_free()
84 struct videobuf_dma_contig_memory *mem; in videobuf_vm_close() local
141 static void videobuf_dma_contig_user_put(struct videobuf_dma_contig_memory *mem) in videobuf_dma_contig_user_put()
157 static int videobuf_dma_contig_user_get(struct videobuf_dma_contig_memory *mem, in videobuf_dma_contig_user_get()
211 struct videobuf_dma_contig_memory *mem; in __videobuf_alloc() local
226 struct videobuf_dma_contig_memory *mem = buf->priv; in __videobuf_to_vaddr() local
238 struct videobuf_dma_contig_memory *mem = vb->priv; in __videobuf_iolock() local
278 struct videobuf_dma_contig_memory *mem; in __videobuf_mmap_mapper() local
364 struct videobuf_dma_contig_memory *mem = buf->priv; in videobuf_to_dma_contig() local
[all …]
Dvideobuf-vmalloc.c72 struct videobuf_vmalloc_memory *mem; in videobuf_vm_close() local
137 struct videobuf_vmalloc_memory *mem; in __videobuf_alloc_vb() local
158 struct videobuf_vmalloc_memory *mem = vb->priv; in __videobuf_iolock() local
213 struct videobuf_vmalloc_memory *mem; in __videobuf_mmap_mapper() local
294 struct videobuf_vmalloc_memory *mem = buf->priv; in videobuf_to_vmalloc() local
304 struct videobuf_vmalloc_memory *mem = buf->priv; in videobuf_vmalloc_free() local
Dvideobuf-dma-sg.c136 struct videobuf_dma_sg_memory *mem = buf->priv; in videobuf_to_dma() local
398 struct videobuf_dma_sg_memory *mem; in videobuf_vm_close() local
470 struct videobuf_dma_sg_memory *mem; in __videobuf_alloc_vb() local
491 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_to_vaddr() local
505 struct videobuf_dma_sg_memory *mem = vb->priv; in __videobuf_iolock() local
575 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_sync() local
591 struct videobuf_dma_sg_memory *mem = buf->priv; in __videobuf_mmap_mapper() local
/Linux-v5.4/drivers/spi/
Dspi-mem.c102 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req()
138 bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op()
188 static bool spi_mem_internal_supports_op(struct spi_mem *mem, in spi_mem_internal_supports_op()
214 bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_supports_op()
223 static int spi_mem_access_start(struct spi_mem *mem) in spi_mem_access_start()
250 static void spi_mem_access_end(struct spi_mem *mem) in spi_mem_access_end()
273 int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) in spi_mem_exec_op()
395 const char *spi_mem_get_name(struct spi_mem *mem) in spi_mem_get_name()
416 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) in spi_mem_adjust_op_size()
496 spi_mem_dirmap_create(struct spi_mem *mem, in spi_mem_dirmap_create()
[all …]
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_mr.c54 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
109 static int rxe_mem_alloc(struct rxe_mem *mem, int num_buf) in rxe_mem_alloc()
148 int access, struct rxe_mem *mem) in rxe_mem_init_dma()
162 struct rxe_mem *mem) in rxe_mem_init_user()
239 int max_pages, struct rxe_mem *mem) in rxe_mem_init_fast()
264 struct rxe_mem *mem, in lookup_iova()
303 void *iova_to_vaddr(struct rxe_mem *mem, u64 iova, int length) in iova_to_vaddr()
344 int rxe_mem_copy(struct rxe_mem *mem, u64 iova, void *addr, int length, in rxe_mem_copy()
[all …]
/Linux-v5.4/kernel/dma/
Dcoherent.c32 struct dma_coherent_mem * mem) in dma_get_device_base()
42 struct dma_coherent_mem **mem) in dma_init_coherent_memory()
87 static void dma_release_coherent_memory(struct dma_coherent_mem *mem) in dma_release_coherent_memory()
98 struct dma_coherent_mem *mem) in dma_assign_coherent_memory()
113 struct dma_coherent_mem *mem; in dma_declare_coherent_memory() local
126 static void *__dma_alloc_from_coherent(struct dma_coherent_mem *mem, in __dma_alloc_from_coherent()
173 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_alloc_from_dev_coherent() local
191 static int __dma_release_from_coherent(struct dma_coherent_mem *mem, in __dma_release_from_coherent()
221 struct dma_coherent_mem *mem = dev_get_coherent_memory(dev); in dma_release_from_dev_coherent() local
235 static int __dma_mmap_from_coherent(struct dma_coherent_mem *mem, in __dma_mmap_from_coherent()
[all …]
/Linux-v5.4/drivers/char/hw_random/
Dintel-rng.c155 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
Dgeode-rng.c57 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-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_mem.c36 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
Dnouveau_sgdma.c14 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-v5.4/drivers/base/
Dmemory.c92 struct memory_block *mem = to_memory_block(dev); in memory_block_release() local
109 struct memory_block *mem = to_memory_block(dev); in phys_index_show() local
125 struct memory_block *mem = to_memory_block(dev); in removable_show() local
149 struct memory_block *mem = to_memory_block(dev); in state_show() local
258 static int memory_block_change_state(struct memory_block *mem, in memory_block_change_state()
280 struct memory_block *mem = to_memory_block(dev); in memory_subsys_online() local
304 struct memory_block *mem = to_memory_block(dev); in memory_subsys_offline() local
319 struct memory_block *mem = to_memory_block(dev); in state_store() local
377 struct memory_block *mem = to_memory_block(dev); in phys_device_show() local
398 struct memory_block *mem = to_memory_block(dev); in valid_zones_show() local
[all …]
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dcompiler.h94 #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-v5.4/drivers/pci/endpoint/
Dpci-epc-mem.c23 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-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dmem.c35 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-v5.4/drivers/infiniband/sw/siw/
Dsiw_mem.c50 struct siw_mem *mem; in siw_mem_id2obj() local
93 struct siw_mem *mem = kzalloc(sizeof(*mem), GFP_KERNEL); in siw_mr_add_mem() local
128 struct siw_mem *mem = mr->mem, *found; in siw_mr_drop_mem() local
142 struct siw_mem *mem = container_of(ref, struct siw_mem, ref); in siw_free_mem() local
168 int siw_check_mem(struct ib_pd *pd, struct siw_mem *mem, u64 addr, in siw_check_mem()
222 int siw_check_sge(struct ib_pd *pd, struct siw_sge *sge, struct siw_mem *mem[], in siw_check_sge()
295 struct siw_mem *mem = siw_mem_id2obj(sdev, stag >> 8); in siw_invalidate_stag() local
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c84 struct kgd_mem *mem) in check_if_add_bo_to_vm()
102 uint64_t mem; in amdgpu_amdkfd_gpuvm_init_mem_limits() local
371 static int add_bo_to_vm(struct amdgpu_device *adev, struct kgd_mem *mem, in add_bo_to_vm()
443 static void add_kgd_mem_to_kfd_bo_list(struct kgd_mem *mem, in add_kgd_mem_to_kfd_bo_list()
461 static void remove_kgd_mem_from_kfd_bo_list(struct kgd_mem *mem, in remove_kgd_mem_from_kfd_bo_list()
484 static int init_user_pages(struct kgd_mem *mem, struct mm_struct *mm, in init_user_pages()
561 static int reserve_bo_and_vm(struct kgd_mem *mem, in reserve_bo_and_vm()
611 static int reserve_bo_and_cond_vms(struct kgd_mem *mem, in reserve_bo_and_cond_vms()
1072 void *vm, struct kgd_mem **mem, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1227 struct kgd_dev *kgd, struct kgd_mem *mem) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
[all …]
/Linux-v5.4/drivers/gpu/drm/nouveau/nvif/
Dmem.c28 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-v5.4/tools/perf/
Dbuiltin-mem.c40 struct perf_mem *mem = *(struct perf_mem **)opt->value; in parse_record_events() local
71 static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) in __cmd_record()
158 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() local
242 static int report_raw_events(struct perf_mem *mem) in report_raw_events()
279 static int report_events(int argc, const char **argv, struct perf_mem *mem) in report_events()
391 struct perf_mem mem = { in cmd_mem() local
/Linux-v5.4/mm/
Dcma_debug.c71 static void cma_add_to_cma_mem_list(struct cma *cma, struct cma_mem *mem) in cma_add_to_cma_mem_list()
80 struct cma_mem *mem = NULL; in cma_get_entry_from_list() local
94 struct cma_mem *mem = NULL; in cma_free_mem() local
133 struct cma_mem *mem; in cma_alloc_mem() local
/Linux-v5.4/drivers/leds/
Dleds-bcm6358.c40 void __iomem *mem; member
64 static unsigned long bcm6358_led_busy(void __iomem *mem) in bcm6358_led_busy()
95 void __iomem *mem, spinlock_t *lock) in bcm6358_led()
155 void __iomem *mem; in bcm6358_leds_probe() local
/Linux-v5.4/arch/mips/sgi-ip22/
Dip22-mc.c43 struct mem { struct
54 struct mem bank[4]; in probe_memory() argument
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_bo_util.c134 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()
560 struct ttm_mem_reg *mem = &bo->mem; in ttm_bo_ioremap() local
582 struct ttm_mem_reg *mem = &bo->mem; in ttm_bo_kmap_ttm() local
/Linux-v5.4/drivers/char/agp/
Di460-agp.c170 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-v5.4/drivers/infiniband/ulp/iser/
Diser_memory.c191 iser_reg_dma(struct iser_device *device, struct iser_data_buf *mem, in iser_reg_dma()
228 struct iser_data_buf *mem, in iser_fast_reg_fmr()
381 struct iser_data_buf *mem, in iser_reg_sig_mr()
439 struct iser_data_buf *mem, in iser_fast_reg_mr()
487 struct iser_data_buf *mem, in iser_reg_data_sg()
506 struct iser_data_buf *mem = &task->data[dir]; in iser_reg_rdma_mem() local

12345678910>>...28