/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() argument 56 switch (mem->type) { in mem_check_range() 62 if (iova < mem->iova || in mem_check_range() 63 length > mem->length || in mem_check_range() 64 iova > mem->iova + mem->length - length) in mem_check_range() 77 static void rxe_mem_init(int access, struct rxe_mem *mem) in rxe_mem_init() argument 79 u32 lkey = mem->pelem.index << 8 | rxe_get_key(); in rxe_mem_init() 82 if (mem->pelem.pool->type == RXE_TYPE_MR) { in rxe_mem_init() 83 mem->ibmr.lkey = lkey; in rxe_mem_init() 84 mem->ibmr.rkey = rkey; in rxe_mem_init() [all …]
|
/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 141 list_for_each_entry_rcu(mem, &mm->context.iommu_group_mem_list, in mm_iommu_get() 143 if ((mem->ua == ua) && (mem->entries == entries)) { in mm_iommu_get() 144 ++mem->used; in mm_iommu_get() 145 *pmem = mem; in mm_iommu_get() 150 if ((mem->ua < (ua + (entries << PAGE_SHIFT))) && in mm_iommu_get() 151 (ua < (mem->ua + in mm_iommu_get() 152 (mem->entries << PAGE_SHIFT)))) { in mm_iommu_get() 165 mem = kzalloc(sizeof(*mem), GFP_KERNEL); in mm_iommu_get() 166 if (!mem) { in mm_iommu_get() [all …]
|
/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 58 if (mem->pages == 1 && mem->mem) in nvkm_mem_addr() 59 return mem->dma[0]; in nvkm_mem_addr() 73 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_map_dma() local 75 .memory = &mem->memory, in nvkm_mem_map_dma() 77 .dma = mem->dma, in nvkm_mem_map_dma() 85 struct nvkm_mem *mem = nvkm_mem(memory); in nvkm_mem_dtor() local 86 if (mem->mem) { in nvkm_mem_dtor() 87 while (mem->pages--) { in nvkm_mem_dtor() [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_mem.c | 36 nouveau_mem_map(struct nouveau_mem *mem, in nouveau_mem_map() argument 54 args.nv50.kind = mem->kind; in nouveau_mem_map() 55 args.nv50.comp = mem->comp; in nouveau_mem_map() 62 if (mem->mem.type & NVIF_MEM_VRAM) in nouveau_mem_map() 68 args.gf100.kind = mem->kind; in nouveau_mem_map() 78 ret = nvif_vmm_map(vmm, vma->addr, mem->mem.size, &args, argc, in nouveau_mem_map() 79 &mem->mem, 0); in nouveau_mem_map() 85 nouveau_mem_fini(struct nouveau_mem *mem) in nouveau_mem_fini() argument 87 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[1]); in nouveau_mem_fini() 88 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[0]); in nouveau_mem_fini() [all …]
|
D | nouveau_vmm.c | 30 if (vma->mem) { in nouveau_vma_unmap() 32 vma->mem = NULL; in nouveau_vma_unmap() 37 nouveau_vma_map(struct nouveau_vma *vma, struct nouveau_mem *mem) in nouveau_vma_map() argument 40 int ret = nouveau_mem_map(mem, &vma->vmm->vmm, &tmp); in nouveau_vma_map() 43 vma->mem = mem; in nouveau_vma_map() 79 struct nouveau_mem *mem = nouveau_mem(&nvbo->bo.mem); in nouveau_vma_new() local 94 vma->mem = NULL; in nouveau_vma_new() 98 if (nvbo->bo.mem.mem_type != TTM_PL_SYSTEM && in nouveau_vma_new() 99 mem->mem.page == nvbo->page) { in nouveau_vma_new() 100 ret = nvif_vmm_get(&vmm->vmm, LAZY, false, mem->mem.page, 0, in nouveau_vma_new() [all …]
|
/Linux-v4.19/kernel/dma/ |
D | coherent.c | 33 struct dma_coherent_mem * mem) in dma_get_device_base() argument 35 if (mem->use_dev_dma_pfn_offset) in dma_get_device_base() 36 return (mem->pfn_base - dev->dma_pfn_offset) << PAGE_SHIFT; in dma_get_device_base() 38 return mem->device_base; in dma_get_device_base() 43 struct dma_coherent_mem **mem) in dma_init_coherent_memory() argument 79 *mem = dma_mem; in dma_init_coherent_memory() 89 static void dma_release_coherent_memory(struct dma_coherent_mem *mem) in dma_release_coherent_memory() argument 91 if (!mem) in dma_release_coherent_memory() 94 memunmap(mem->virt_base); in dma_release_coherent_memory() 95 kfree(mem->bitmap); in dma_release_coherent_memory() [all …]
|
/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() argument 26 unsigned int page_shift = ilog2(mem->page_size); in pci_epc_mem_get_order() 52 struct pci_epc_mem *mem; in __pci_epc_mem_init() local 65 mem = kzalloc(sizeof(*mem), GFP_KERNEL); in __pci_epc_mem_init() 66 if (!mem) { in __pci_epc_mem_init() 77 mem->bitmap = bitmap; in __pci_epc_mem_init() 78 mem->phys_base = phys_base; in __pci_epc_mem_init() 79 mem->page_size = page_size; in __pci_epc_mem_init() 80 mem->pages = pages; in __pci_epc_mem_init() 81 mem->size = size; in __pci_epc_mem_init() [all …]
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | videobuf-dma-contig.c | 41 struct videobuf_dma_contig_memory *mem, in __videobuf_dc_alloc() argument 44 mem->size = size; in __videobuf_dc_alloc() 45 mem->vaddr = dma_alloc_coherent(dev, mem->size, in __videobuf_dc_alloc() 46 &mem->dma_handle, flags); in __videobuf_dc_alloc() 48 if (!mem->vaddr) { in __videobuf_dc_alloc() 49 dev_err(dev, "memory alloc size %ld failed\n", mem->size); in __videobuf_dc_alloc() 53 dev_dbg(dev, "dma mapped data is at %p (%ld)\n", mem->vaddr, mem->size); in __videobuf_dc_alloc() 59 struct videobuf_dma_contig_memory *mem) in __videobuf_dc_free() argument 61 dma_free_coherent(dev, mem->size, mem->vaddr, mem->dma_handle); in __videobuf_dc_free() 63 mem->vaddr = NULL; in __videobuf_dc_free() [all …]
|
D | videobuf-vmalloc.c | 75 struct videobuf_vmalloc_memory *mem; in videobuf_vm_close() local 91 mem = q->bufs[i]->priv; in videobuf_vm_close() 92 if (mem) { in videobuf_vm_close() 99 MAGIC_CHECK(mem->magic, MAGIC_VMAL_MEM); in videobuf_vm_close() 105 __func__, i, mem->vaddr); in videobuf_vm_close() 107 vfree(mem->vaddr); in videobuf_vm_close() 108 mem->vaddr = NULL; in videobuf_vm_close() 140 struct videobuf_vmalloc_memory *mem; in __videobuf_alloc_vb() local 143 vb = kzalloc(size + sizeof(*mem), GFP_KERNEL); in __videobuf_alloc_vb() 147 mem = vb->priv = ((char *)vb) + size; in __videobuf_alloc_vb() [all …]
|
/Linux-v4.19/drivers/base/ |
D | memory.c | 82 struct memory_block *mem = to_memory_block(dev); in memory_block_release() local 84 kfree(mem); in memory_block_release() 115 struct memory_block *mem = to_memory_block(dev); in show_mem_start_phys_index() local 118 phys_index = mem->start_section_nr / sections_per_block; in show_mem_start_phys_index() 130 struct memory_block *mem = to_memory_block(dev); in show_mem_removable() local 132 if (mem->state != MEM_ONLINE) in show_mem_removable() 136 if (!present_section_nr(mem->start_section_nr + i)) in show_mem_removable() 138 pfn = section_nr_to_pfn(mem->start_section_nr + i); in show_mem_removable() 152 struct memory_block *mem = to_memory_block(dev); in show_mem_state() local 159 switch (mem->state) { in show_mem_state() [all …]
|
/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() argument 85 list_for_each_entry(entry, &mem->bo_va_list, bo_list) in check_if_add_bo_to_vm() 99 uint64_t mem; in amdgpu_amdkfd_gpuvm_init_mem_limits() local 102 mem = si.totalram - si.totalhigh; in amdgpu_amdkfd_gpuvm_init_mem_limits() 103 mem *= si.mem_unit; in amdgpu_amdkfd_gpuvm_init_mem_limits() 106 kfd_mem_limit.max_system_mem_limit = (mem >> 1) - (mem >> 3); in amdgpu_amdkfd_gpuvm_init_mem_limits() 107 kfd_mem_limit.max_userptr_mem_limit = mem - (mem >> 2); in amdgpu_amdkfd_gpuvm_init_mem_limits() 443 static int add_bo_to_vm(struct amdgpu_device *adev, struct kgd_mem *mem, in add_bo_to_vm() argument 450 struct amdgpu_bo *bo = mem->bo; in add_bo_to_vm() 451 uint64_t va = mem->va; in add_bo_to_vm() [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() argument 95 struct amdgpu_gtt_node *node = mem->mm_node; in amdgpu_gtt_mgr_has_gart_addr() 113 struct ttm_mem_reg *mem) in amdgpu_gtt_mgr_alloc() argument 117 struct amdgpu_gtt_node *node = mem->mm_node; in amdgpu_gtt_mgr_alloc() 122 if (amdgpu_gtt_mgr_has_gart_addr(mem)) in amdgpu_gtt_mgr_alloc() 140 r = drm_mm_insert_node_in_range(&mgr->mm, &node->node, mem->num_pages, in amdgpu_gtt_mgr_alloc() 141 mem->page_alignment, 0, fpfn, lpfn, in amdgpu_gtt_mgr_alloc() 146 mem->start = node->node.start; in amdgpu_gtt_mgr_alloc() 164 struct ttm_mem_reg *mem) in amdgpu_gtt_mgr_new() argument 171 if ((&tbo->mem == mem || tbo->mem.mem_type != TTM_PL_TT) && in amdgpu_gtt_mgr_new() [all …]
|
/Linux-v4.19/drivers/char/hw_random/ |
D | intel-rng.c | 155 static inline u8 hwstatus_get(void __iomem *mem) in hwstatus_get() argument 157 return readb(mem + INTEL_RNG_HW_STATUS); in hwstatus_get() 160 static inline u8 hwstatus_set(void __iomem *mem, in hwstatus_set() argument 163 writeb(hw_status, mem + INTEL_RNG_HW_STATUS); in hwstatus_set() 164 return hwstatus_get(mem); in hwstatus_set() 169 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_data_present() local 173 data = !!(readb(mem + INTEL_RNG_STATUS) & in intel_rng_data_present() 184 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_data_read() local 186 *data = readb(mem + INTEL_RNG_DATA); in intel_rng_data_read() 193 void __iomem *mem = (void __iomem *)rng->priv; in intel_rng_init() local [all …]
|
/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() argument 76 hlist_add_head(&mem->node, &cma->mem_head); in cma_add_to_cma_mem_list() 82 struct cma_mem *mem = NULL; in cma_get_entry_from_list() local 86 mem = hlist_entry(cma->mem_head.first, struct cma_mem, node); in cma_get_entry_from_list() 87 hlist_del_init(&mem->node); in cma_get_entry_from_list() 91 return mem; in cma_get_entry_from_list() 96 struct cma_mem *mem = NULL; in cma_free_mem() local 99 mem = cma_get_entry_from_list(cma); in cma_free_mem() 100 if (mem == NULL) in cma_free_mem() 103 if (mem->n <= count) { in cma_free_mem() [all …]
|
/Linux-v4.19/drivers/firmware/efi/ |
D | cper.c | 228 static int cper_mem_err_location(struct cper_mem_err_compact *mem, char *msg) in cper_mem_err_location() argument 237 if (mem->validation_bits & CPER_MEM_VALID_NODE) in cper_mem_err_location() 238 n += scnprintf(msg + n, len - n, "node: %d ", mem->node); in cper_mem_err_location() 239 if (mem->validation_bits & CPER_MEM_VALID_CARD) in cper_mem_err_location() 240 n += scnprintf(msg + n, len - n, "card: %d ", mem->card); in cper_mem_err_location() 241 if (mem->validation_bits & CPER_MEM_VALID_MODULE) in cper_mem_err_location() 242 n += scnprintf(msg + n, len - n, "module: %d ", mem->module); in cper_mem_err_location() 243 if (mem->validation_bits & CPER_MEM_VALID_RANK_NUMBER) in cper_mem_err_location() 244 n += scnprintf(msg + n, len - n, "rank: %d ", mem->rank); in cper_mem_err_location() 245 if (mem->validation_bits & CPER_MEM_VALID_BANK) in cper_mem_err_location() [all …]
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_agp_backend.c | 47 struct agp_memory *mem; member 56 struct agp_memory *mem; in ttm_agp_bind() local 60 mem = agp_allocate_memory(agp_be->bridge, ttm->num_pages, AGP_USER_MEMORY); in ttm_agp_bind() 61 if (unlikely(mem == NULL)) in ttm_agp_bind() 64 mem->page_count = 0; in ttm_agp_bind() 71 mem->pages[mem->page_count++] = page; in ttm_agp_bind() 73 agp_be->mem = mem; in ttm_agp_bind() 75 mem->is_flushed = 1; in ttm_agp_bind() 76 mem->type = (cached) ? AGP_USER_CACHED_MEMORY : AGP_USER_MEMORY; in ttm_agp_bind() 78 ret = agp_bind_memory(mem, node->start); in ttm_agp_bind() [all …]
|
D | ttm_bo_util.c | 50 ttm_bo_mem_put(bo, &bo->mem); in ttm_bo_free_old_node() 58 struct ttm_mem_reg *old_mem = &bo->mem; in ttm_bo_move_ttm() 134 struct ttm_mem_reg *mem) in ttm_mem_io_reserve() argument 136 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_io_reserve() 142 return bdev->driver->io_mem_reserve(bdev, mem); in ttm_mem_io_reserve() 145 mem->bus.io_reserved_count++ == 0) { in ttm_mem_io_reserve() 147 ret = bdev->driver->io_mem_reserve(bdev, mem); in ttm_mem_io_reserve() 159 struct ttm_mem_reg *mem) in ttm_mem_io_free() argument 161 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in ttm_mem_io_free() 167 --mem->bus.io_reserved_count == 0 && in ttm_mem_io_free() [all …]
|
D | ttm_bo.c | 94 bo, bo->mem.num_pages, bo->mem.size >> 10, in ttm_bo_mem_space_debug() 95 bo->mem.size >> 20); in ttm_bo_mem_space_debug() 149 BUG_ON(bo->mem.mm_node != NULL); in ttm_bo_release_list() 168 if (!(bo->mem.placement & TTM_PL_FLAG_NO_EVICT)) { in ttm_bo_add_to_lru() 171 man = &bdev->man[bo->mem.mem_type]; in ttm_bo_add_to_lru() 227 struct ttm_mem_reg *mem, bool evict, in ttm_bo_handle_move_mem() argument 231 bool old_is_pci = ttm_mem_reg_is_pci(bdev, &bo->mem); in ttm_bo_handle_move_mem() 232 bool new_is_pci = ttm_mem_reg_is_pci(bdev, mem); in ttm_bo_handle_move_mem() 233 struct ttm_mem_type_manager *old_man = &bdev->man[bo->mem.mem_type]; in ttm_bo_handle_move_mem() 234 struct ttm_mem_type_manager *new_man = &bdev->man[mem->mem_type]; in ttm_bo_handle_move_mem() [all …]
|
/Linux-v4.19/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_util.c | 46 struct mtk_vcodec_mem *mem) in mtk_vcodec_mem_alloc() argument 48 unsigned long size = mem->size; in mtk_vcodec_mem_alloc() 52 mem->va = dma_alloc_coherent(dev, size, &mem->dma_addr, GFP_KERNEL); in mtk_vcodec_mem_alloc() 54 if (!mem->va) { in mtk_vcodec_mem_alloc() 60 memset(mem->va, 0, size); in mtk_vcodec_mem_alloc() 62 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_alloc() 64 (unsigned long)mem->dma_addr); in mtk_vcodec_mem_alloc() 72 struct mtk_vcodec_mem *mem) in mtk_vcodec_mem_free() argument 74 unsigned long size = mem->size; in mtk_vcodec_mem_free() 78 if (!mem->va) { in mtk_vcodec_mem_free() [all …]
|
/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() argument 102 u32 mode = mem->spi->mode; in spi_check_buswidth_req() 129 static bool spi_mem_default_supports_op(struct spi_mem *mem, in spi_mem_default_supports_op() argument 132 if (spi_check_buswidth_req(mem, op->cmd.buswidth, true)) in spi_mem_default_supports_op() 136 spi_check_buswidth_req(mem, op->addr.buswidth, true)) in spi_mem_default_supports_op() 140 spi_check_buswidth_req(mem, op->dummy.buswidth, true)) in spi_mem_default_supports_op() 144 spi_check_buswidth_req(mem, op->data.buswidth, 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() argument 169 struct spi_controller *ctlr = mem->spi->controller; in spi_mem_supports_op() 172 return ctlr->mem_ops->supports_op(mem, op); in spi_mem_supports_op() [all …]
|
/Linux-v4.19/tools/perf/ |
D | builtin-mem.c | 36 struct perf_mem *mem = *(struct perf_mem **)opt->value; in parse_record_events() local 41 mem->operation = 0; in parse_record_events() 67 static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) in __cmd_record() argument 74 OPT_CALLBACK('e', "event", &mem, "event", in __cmd_record() 95 if (mem->operation & MEM_OPERATION_LOAD) in __cmd_record() 98 if (mem->operation & MEM_OPERATION_STORE) in __cmd_record() 106 if (mem->phys_addr) in __cmd_record() 154 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() local 164 if (al.filtered || (mem->hide_unresolved && al.sym == NULL)) in dump_raw_samples() 170 if (mem->phys_addr) { in dump_raw_samples() [all …]
|
/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() argument 30 int ret = nvif_mem_init(mmu, mmu->mem, NVIF_MEM_MAPPABLE | type, 0, in nvif_mem_init_map() 31 size, NULL, 0, mem); in nvif_mem_init_map() 33 ret = nvif_object_map(&mem->object, NULL, 0); in nvif_mem_init_map() 35 nvif_mem_fini(mem); in nvif_mem_init_map() 41 nvif_mem_fini(struct nvif_mem *mem) in nvif_mem_fini() argument 43 nvif_object_fini(&mem->object); in nvif_mem_fini() 48 u64 size, void *argv, u32 argc, struct nvif_mem *mem) in nvif_mem_init_type() argument 54 mem->object.client = NULL; in nvif_mem_init_type() 71 sizeof(*args) + argc, &mem->object); in nvif_mem_init_type() [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | io-defs.h | 5 DEF_PCI_AC_RET(readb, u8, (const PCI_IO_ADDR addr), (addr), mem, addr) 6 DEF_PCI_AC_RET(readw, u16, (const PCI_IO_ADDR addr), (addr), mem, addr) 7 DEF_PCI_AC_RET(readl, u32, (const PCI_IO_ADDR addr), (addr), mem, addr) 8 DEF_PCI_AC_RET(readw_be, u16, (const PCI_IO_ADDR addr), (addr), mem, addr) 9 DEF_PCI_AC_RET(readl_be, u32, (const PCI_IO_ADDR addr), (addr), mem, addr) 10 DEF_PCI_AC_NORET(writeb, (u8 val, PCI_IO_ADDR addr), (val, addr), mem, addr) 11 DEF_PCI_AC_NORET(writew, (u16 val, PCI_IO_ADDR addr), (val, addr), mem, addr) 12 DEF_PCI_AC_NORET(writel, (u32 val, PCI_IO_ADDR addr), (val, addr), mem, addr) 13 DEF_PCI_AC_NORET(writew_be, (u16 val, PCI_IO_ADDR addr), (val, addr), mem, addr) 14 DEF_PCI_AC_NORET(writel_be, (u32 val, PCI_IO_ADDR addr), (val, addr), mem, addr) [all …]
|
/Linux-v4.19/drivers/uio/ |
D | uio_mf624.c | 48 void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR; in mf624_disable_interrupt() 76 void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR; in mf624_enable_interrupt() 103 void __iomem *INTCSR_reg = info->mem[0].internal_addr + INTCSR; in mf624_irq_handler() 130 static int mf624_setup_mem(struct pci_dev *dev, int bar, struct uio_mem *mem, const char *name) in mf624_setup_mem() argument 135 mem->name = name; in mf624_setup_mem() 136 mem->addr = start & PAGE_MASK; in mf624_setup_mem() 137 mem->offs = start & ~PAGE_MASK; in mf624_setup_mem() 138 if (!mem->addr) in mf624_setup_mem() 140 mem->size = ((start & ~PAGE_MASK) + len + PAGE_SIZE - 1) & PAGE_MASK; in mf624_setup_mem() 141 mem->memtype = UIO_MEM_PHYS; in mf624_setup_mem() [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 102 ldbu %0,%1" : "=r"(__kir) : "m"(mem)); \ 104 #define __kernel_ldwu(mem) \ argument 107 ldwu %0,%1" : "=r"(__kir) : "m"(mem)); \ 109 #define __kernel_stb(val,mem) \ argument 111 stb %1,%0" : "=m"(mem) : "r"(val)) [all …]
|