/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu_context.c | 298 int map_size; local 305 map_size = IVPU_MMU_CONT_PAGES_SIZE; 308 map_size = IVPU_MMU_PAGE_SIZE; 314 vpu_addr += map_size; 315 dma_addr += map_size; 316 size -= map_size;
|
/linux-master/arch/x86/kernel/ |
H A D | tboot.c | 169 u32 map_base, map_size; local 173 map_size = PFN_UP(tboot->tboot_size); 174 if (map_tboot_pages(map_base << PAGE_SHIFT, map_base, map_size)) 176 map_base, map_size);
|
/linux-master/kernel/trace/ |
H A D | tracing_map.h | 69 * elements (2 * max_elts). This value is stored in the map_size 186 unsigned int map_size; member in struct:tracing_map
|
H A D | tracing_map.c | 529 idx &= (map->map_size - 1); 554 if (dup_try > map->map_size) { 788 map->map_size = (1 << (map_bits + 1)); 793 map->map = tracing_map_array_alloc(map->map_size, 1087 for (i = 0, n_entries = 0; i < map->map_size; i++) {
|
/linux-master/arch/loongarch/kernel/ |
H A D | efi.c | 134 data.size = tbl->map_size;
|
/linux-master/fs/xfs/ |
H A D | xfs_buf_item.c | 834 int map_size; local 857 * map_size is the size of the bitmap needed to describe the 868 map_size = DIV_ROUND_UP(chunks, NBWORD); 870 if (map_size > XFS_BLF_DATAMAP_SIZE) { 874 map_size, 882 bip->bli_formats[i].blf_map_size = map_size;
|
/linux-master/drivers/pcmcia/ |
H A D | cistpl.c | 93 mem->res = pcmcia_find_mem_region(0, s->map_size, 94 s->map_size, 0, s); 103 s->cis_virt = ioremap(mem->res->start, s->map_size); 118 s->cis_virt = ioremap(mem->static_start, s->map_size); 183 card_offset = addr & ~(s->map_size-1); 191 end = sys + s->map_size; 192 sys = sys + (addr & (s->map_size-1)); 198 card_offset += s->map_size; 257 card_offset = addr & ~(s->map_size-1); 265 end = sys + s->map_size; [all...] |
H A D | rsrc_nonstatic.c | 274 s->cis_virt = ioremap(res->start, s->map_size); 301 virt = ioremap(res->start, s->map_size); 311 for (i = 0; i < s->map_size; i += 44) { 418 /* cis_readable wants to map 2x map_size */ 419 if (step < 2 * s->map_size) 420 step = 2 * s->map_size;
|
H A D | omap_cf.c | 273 cf->socket.map_size = SZ_2K;
|
H A D | xxs1500_ss.c | 267 sock->socket.map_size = MEM_MAP_SIZE;
|
/linux-master/include/pcmcia/ |
H A D | ss.h | 155 u_int map_size; member in struct:pcmcia_socket
|
/linux-master/drivers/gpu/drm/msm/disp/ |
H A D | mdp_format.c | 605 ssize_t map_size; local 611 map_size = ARRAY_SIZE(mdp_formats); 615 map_size = ARRAY_SIZE(mdp_formats_ubwc); 622 for (i = 0; i < map_size; i++) {
|
/linux-master/arch/arm64/kvm/ |
H A D | mmu.c | 1216 unsigned long map_size) 1223 if (map_size == PAGE_SIZE) 1256 if ((gpa_start & (map_size - 1)) != (uaddr_start & (map_size - 1))) 1271 return (hva & ~(map_size - 1)) >= uaddr_start && 1272 (hva & ~(map_size - 1)) + map_size <= uaddr_end; 1214 fault_supports_stage2_huge_mapping(struct kvm_memory_slot *memslot, unsigned long hva, unsigned long map_size) argument
|
/linux-master/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 1342 const unsigned int *map_size, 1383 CS_DESC(csring, fill) = XCT_PTR_LEN(map_size[0]-nh_off) | XCT_PTR_ADDR(map[0]+nh_off); 1385 CS_DESC(csring, fill+i) = XCT_PTR_LEN(map_size[i]) | XCT_PTR_ADDR(map[i]); 1434 unsigned int map_size[MAX_SKB_FRAGS+1]; local 1449 map_size[0] = skb_headlen(skb); 1458 map_size[i+1] = skb_frag_size(frag); 1501 pasemi_mac_queue_csdesc(skb, map, map_size, txring, csring); 1511 XCT_PTR_LEN(map_size[i]) | XCT_PTR_ADDR(map[i]); 1538 map_size[nfrags], DMA_TO_DEVICE); 1340 pasemi_mac_queue_csdesc(const struct sk_buff *skb, const dma_addr_t *map, const unsigned int *map_size, struct pasemi_mac_txring *txring, struct pasemi_mac_csring *csring) argument
|
/linux-master/drivers/video/fbdev/ |
H A D | imxfb.c | 174 u_int map_size; member in struct:imxfb_info 998 fbi->map_size = PAGE_ALIGN(info->fix.smem_len); 999 info->screen_buffer = dma_alloc_wc(&pdev->dev, fbi->map_size, 1058 dma_free_wc(&pdev->dev, fbi->map_size, info->screen_buffer, 1074 dma_free_wc(&pdev->dev, fbi->map_size, info->screen_buffer,
|
H A D | sa1100fb.c | 570 fbi->map_size); 1036 fbi->map_size = PAGE_ALIGN(fbi->fb.fix.smem_len + PAGE_SIZE); 1037 fbi->map_cpu = dma_alloc_wc(fbi->dev, fbi->map_size, &fbi->map_dma, 1195 dma_free_wc(fbi->dev, fbi->map_size, fbi->map_cpu,
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gem.c | 739 if (args->va_address + args->map_size > vm_size) { 742 args->va_address + args->map_size, vm_size); 807 args->offset_in_bo, args->map_size, 817 args->map_size); 822 args->offset_in_bo, args->map_size,
|
/linux-master/fs/xfs/scrub/ |
H A D | reap.c | 754 int map_size; local 758 map_size = DIV_ROUND_UP(chunks, NBWORD); 759 if (map_size > XFS_BLF_DATAMAP_SIZE)
|
/linux-master/drivers/misc/genwqe/ |
H A D | card_dev.c | 776 unsigned long map_size; local 784 map_size = round_up(m->size + (m->addr & ~PAGE_MASK), PAGE_SIZE); 791 rc = genwqe_user_vmap(cd, dma_map, (void *)map_addr, map_size); 808 unsigned long map_size; local 814 map_size = round_up(m->size + (m->addr & ~PAGE_MASK), PAGE_SIZE); 816 dma_map = genwqe_search_pin(cfile, map_addr, map_size, NULL);
|
/linux-master/fs/proc/ |
H A D | vmcore.c | 507 unsigned long map_size; local 524 map_size = (pos - pos_start) << PAGE_SHIFT; 526 pos_start, map_size, 529 len += map_size; 542 map_size = (pos - pos_start) << PAGE_SHIFT; 544 map_size, prot))
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | tcm.h | 64 size_t map_size; member in struct:tcm
|
/linux-master/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-pcm.c | 176 int map_size; local 183 map_size = ctx->pdata->strm_map_size; 196 map, map_size); 210 map, map_size);
|
/linux-master/drivers/media/platform/nxp/dw100/ |
H A D | dw100.c | 97 size_t map_size; member in struct:dw100_ctx 312 dma_free_coherent(&ctx->dw_dev->pdev->dev, ctx->map_size, 315 ctx->map = dma_alloc_coherent(&ctx->dw_dev->pdev->dev, ctx->map_size, 322 memcpy(ctx->map, user_map, ctx->map_size); 340 dma_free_coherent(&ctx->dw_dev->pdev->dev, ctx->map_size, 399 ctx->map_size = mh * mw * sizeof(u32);
|
/linux-master/drivers/ntb/test/ |
H A D | ntb_tool.c | 808 resource_size_t map_size; local 816 ret = ntb_peer_mw_get_addr(tc->ntb, widx, &map_base, &map_size); 824 outmw->io_base = ioremap_wc(map_base, map_size); 870 resource_size_t map_size; local 878 &map_base, &map_size); 908 "Mapping Size \t%pap\n", &map_size);
|
/linux-master/drivers/vhost/ |
H A D | vdpa.c | 1040 u64 offset, map_size, map_iova = iova; local 1053 map_size = min(size, vma->vm_end - uaddr); 1066 ret = vhost_vdpa_map(v, iotlb, map_iova, map_size, uaddr, 1074 size -= map_size; 1075 uaddr += map_size; 1076 map_iova += map_size;
|