Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/firmware/efi/libstub/
Drandomalloc.c66 int map_offset; in efi_random_alloc() local
78 for (map_offset = 0; map_offset < map->map_size; map_offset += map->desc_size) { in efi_random_alloc()
79 efi_memory_desc_t *md = (void *)map->map + map_offset; in efi_random_alloc()
109 for (map_offset = 0; map_offset < map->map_size; map_offset += map->desc_size) { in efi_random_alloc()
110 efi_memory_desc_t *md = (void *)map->map + map_offset; in efi_random_alloc()
Dkaslr.c63 int map_offset; in check_image_region() local
69 for (map_offset = 0; map_offset < map->map_size; map_offset += map->desc_size) { in check_image_region()
70 efi_memory_desc_t *md = (void *)map->map + map_offset; in check_image_region()
/linux-6.12.1/fs/ext4/
Dreadpage.c263 unsigned map_offset = block_in_file - map.m_lblk; in ext4_mpage_readpages() local
264 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages()
266 first_block = map.m_pblk + map_offset; in ext4_mpage_readpages()
/linux-6.12.1/drivers/video/fbdev/
Dsbuslib.c48 unsigned long map_offset = 0; in sbusfb_mmap_helper() local
77 map_offset = (physbase + map[i].poff) & POFF_MASK; in sbusfb_mmap_helper()
89 map_offset >> PAGE_SHIFT), in sbusfb_mmap_helper()
/linux-6.12.1/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-6.12.1/fs/
Dmpage.c198 unsigned map_offset = block_in_file - args->first_logical_block; in do_mpage_readpage() local
199 unsigned last = nblocks - map_offset; in do_mpage_readpage()
201 first_block = map_bh->b_blocknr + map_offset; in do_mpage_readpage()
/linux-6.12.1/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-6.12.1/drivers/video/fbdev/aty/
Datyfb_base.c1939 unsigned long map_offset = 0; in atyfb_mmap() local
1974 map_offset = par->mmap_map[i].poff + (offset - start); in atyfb_mmap()
1988 map_offset >> PAGE_SHIFT, map_size, vma->vm_page_prot)) in atyfb_mmap()
/linux-6.12.1/fs/btrfs/
Dvolumes.c6455 u64 map_offset; in btrfs_map_block() local
6479 map_offset = logical - map->start; in btrfs_map_block()
6481 max_len = btrfs_max_io_len(map, map_offset, &io_geom); in btrfs_map_block()
6482 *length = min_t(u64, map->chunk_len - map_offset, max_len); in btrfs_map_block()