Home
last modified time | relevance | path

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

/linux/drivers/media/pci/ivtv/
A Divtv-udma.c30 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()
52 sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset); in ivtv_udma_fill_sg_list()
55 sg_set_page(&dma->SGlist[map_offset], dma->map[map_offset], len, offset); in ivtv_udma_fill_sg_list()
58 map_offset++; in ivtv_udma_fill_sg_list()
[all …]
A Divtv-udma.h14 …_udma_fill_sg_list(struct ivtv_user_dma *dma, struct ivtv_dma_page_info *dma_page, int map_offset);
/linux/drivers/firmware/efi/libstub/
A Drandomalloc.c62 int map_offset; in efi_random_alloc() local
82 for (map_offset = 0; map_offset < map_size; map_offset += desc_size) { in efi_random_alloc()
83 efi_memory_desc_t *md = (void *)memory_map + map_offset; in efi_random_alloc()
105 for (map_offset = 0; map_offset < map_size; map_offset += desc_size) { in efi_random_alloc()
106 efi_memory_desc_t *md = (void *)memory_map + map_offset; in efi_random_alloc()
A Darm64-stub.c50 int map_offset; in check_image_region() local
63 for (map_offset = 0; map_offset < map_size; map_offset += desc_size) { in check_image_region()
64 efi_memory_desc_t *md = (void *)memory_map + map_offset; in check_image_region()
/linux/drivers/video/fbdev/
A 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/fs/ext4/
A 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/drivers/input/rmi4/
A 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/fs/
A 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/drivers/gpu/drm/
A Ddrm_vm.c342 unsigned long map_offset; in drm_vm_sg_fault() local
352 map_offset = map->offset - (unsigned long)dev->sg->virtual; in drm_vm_sg_fault()
353 page_offset = (offset >> PAGE_SHIFT) + (map_offset >> PAGE_SHIFT); in drm_vm_sg_fault()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A 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/mm/
A Dsparse.c947 unsigned long nr_pages, unsigned long map_offset, in sparse_remove_section() argument
950 clear_hwpoisoned_pages(pfn_to_page(pfn) + map_offset, in sparse_remove_section()
951 nr_pages - map_offset); in sparse_remove_section()
A Dmemory_hotplug.c496 unsigned long map_offset, in __remove_section() argument
504 sparse_remove_section(ms, pfn, nr_pages, map_offset, altmap); in __remove_section()
523 unsigned long map_offset = 0; in __remove_pages() local
525 map_offset = vmem_altmap_offset(altmap); in __remove_pages()
535 __remove_section(pfn, cur_nr_pages, map_offset, altmap); in __remove_pages()
536 map_offset = 0; in __remove_pages()
/linux/include/linux/
A Dmemory_hotplug.h345 unsigned long map_offset, struct vmem_altmap *altmap);
/linux/drivers/video/fbdev/aty/
A Datyfb_base.c1936 unsigned long map_offset = 0; in atyfb_mmap() local
1971 map_offset = par->mmap_map[i].poff + (offset - start); in atyfb_mmap()
1985 map_offset >> PAGE_SHIFT, map_size, vma->vm_page_prot)) in atyfb_mmap()

Completed in 30 milliseconds