Home
last modified time | relevance | path

Searched refs:map_offset (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/firmware/efi/libstub/
Drandomalloc.c60 int map_offset; in efi_random_alloc() local
80 for (map_offset = 0; map_offset < map_size; map_offset += desc_size) { in efi_random_alloc()
81 efi_memory_desc_t *md = (void *)memory_map + map_offset; in efi_random_alloc()
103 for (map_offset = 0; map_offset < map_size; map_offset += desc_size) { in efi_random_alloc()
104 efi_memory_desc_t *md = (void *)memory_map + map_offset; in efi_random_alloc()
/Linux-v5.10/drivers/media/pci/ivtv/
Divtv-udma.c25 …_udma_fill_sg_list (struct ivtv_user_dma *dma, struct ivtv_dma_page_info *dma_page, int map_offset) in ivtv_udma_fill_sg_list() argument
30 if (map_offset < 0) in ivtv_udma_fill_sg_list()
31 return map_offset; in ivtv_udma_fill_sg_list()
40 if (PageHighMem(dma->map[map_offset])) { in ivtv_udma_fill_sg_list()
43 if (dma->bouncemap[map_offset] == NULL) in ivtv_udma_fill_sg_list()
44 dma->bouncemap[map_offset] = alloc_page(GFP_KERNEL); in ivtv_udma_fill_sg_list()
45 if (dma->bouncemap[map_offset] == NULL) in ivtv_udma_fill_sg_list()
48 src = kmap_atomic(dma->map[map_offset]) + offset; in ivtv_udma_fill_sg_list()
49 memcpy(page_address(dma->bouncemap[map_offset]) + offset, src, len); in ivtv_udma_fill_sg_list()
52 sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset); in ivtv_udma_fill_sg_list()
[all …]
Divtv-udma.h14 …_udma_fill_sg_list(struct ivtv_user_dma *dma, struct ivtv_dma_page_info *dma_page, int map_offset);
/Linux-v5.10/drivers/video/fbdev/
Dsbuslib.c48 unsigned long map_offset = 0; in sbusfb_mmap_helper() local
76 map_offset = (physbase + map[i].poff) & POFF_MASK; in sbusfb_mmap_helper()
88 map_offset >> PAGE_SHIFT), in sbusfb_mmap_helper()
/Linux-v5.10/fs/ext4/
Dreadpage.c277 unsigned map_offset = block_in_file - map.m_lblk; in ext4_mpage_readpages() local
278 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages()
288 blocks[page_block] = map.m_pblk + map_offset + in ext4_mpage_readpages()
/Linux-v5.10/drivers/input/rmi4/
Drmi_driver.c570 int map_offset = 0; in rmi_read_register_desc() local
608 bitmap_set(rdesc->presense_map, map_offset, 1); in rmi_read_register_desc()
609 ++map_offset; in rmi_read_register_desc()
665 map_offset = 0; in rmi_read_register_desc()
671 map_offset, 1); in rmi_read_register_desc()
672 ++map_offset; in rmi_read_register_desc()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_vm.c347 unsigned long map_offset; in drm_vm_sg_fault() local
357 map_offset = map->offset - (unsigned long)dev->sg->virtual; in drm_vm_sg_fault()
358 page_offset = (offset >> PAGE_SHIFT) + (map_offset >> PAGE_SHIFT); in drm_vm_sg_fault()
/Linux-v5.10/fs/
Dmpage.c203 unsigned map_offset = block_in_file - args->first_logical_block; in do_mpage_readpage() local
204 unsigned last = nblocks - map_offset; in do_mpage_readpage()
213 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage()
/Linux-v5.10/mm/
Dmemory_hotplug.c510 unsigned long map_offset, in __remove_section() argument
518 sparse_remove_section(ms, pfn, nr_pages, map_offset, altmap); in __remove_section()
537 unsigned long map_offset = 0; in __remove_pages() local
539 map_offset = vmem_altmap_offset(altmap); in __remove_pages()
549 __remove_section(pfn, cur_nr_pages, map_offset, altmap); in __remove_pages()
550 map_offset = 0; in __remove_pages()
Dsparse.c966 unsigned long nr_pages, unsigned long map_offset, in sparse_remove_section() argument
969 clear_hwpoisoned_pages(pfn_to_page(pfn) + map_offset, in sparse_remove_section()
970 nr_pages - map_offset); in sparse_remove_section()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Duar.c194 static unsigned long map_offset(struct mlx5_core_dev *mdev, int dbi) in map_offset() function
248 bfreg->map = up->map + map_offset(mdev, dbi); in alloc_bfreg()
/Linux-v5.10/include/linux/
Dmemory_hotplug.h359 unsigned long map_offset, struct vmem_altmap *altmap);
/Linux-v5.10/drivers/video/fbdev/aty/
Datyfb_base.c1926 unsigned long map_offset = 0; in atyfb_mmap() local
1961 map_offset = par->mmap_map[i].poff + (offset - start); in atyfb_mmap()
1975 map_offset >> PAGE_SHIFT, map_size, vma->vm_page_prot)) in atyfb_mmap()