/kernel/linux/linux-5.10/fs/hfsplus/ |
D | bnode.c | 32 memcpy(buf, kmap(*pagep) + off, l); in hfs_bnode_read() 38 memcpy(buf, kmap(*++pagep), l); in hfs_bnode_read() 85 memcpy(kmap(*pagep) + off, buf, l); in hfs_bnode_write() 92 memcpy(kmap(*++pagep), buf, l); in hfs_bnode_write() 115 memset(kmap(*pagep) + off, 0, l); in hfs_bnode_clear() 121 memset(kmap(*++pagep), 0, l); in hfs_bnode_clear() 145 memcpy(kmap(*dst_page) + src, kmap(*src_page) + src, l); in hfs_bnode_copy() 152 memcpy(kmap(*++dst_page), kmap(*++src_page), l); in hfs_bnode_copy() 161 src_ptr = kmap(*src_page) + src; in hfs_bnode_copy() 162 dst_ptr = kmap(*dst_page) + dst; in hfs_bnode_copy() [all …]
|
D | bitmap.c | 42 pptr = kmap(page); in hfsplus_block_allocate() 87 curr = pptr = kmap(page); in hfsplus_block_allocate() 138 pptr = kmap(page); in hfsplus_block_allocate() 188 pptr = kmap(page); in hfsplus_block_free() 222 pptr = kmap(page); in hfsplus_block_free()
|
D | btree.c | 166 head = (struct hfs_btree_header_rec *)(kmap(page) + in hfs_btree_open() 294 head = (struct hfs_btree_header_rec *)(kmap(page) + in hfs_btree_write() 397 data = kmap(*pagep); in hfs_bmap_alloc() 421 data = kmap(*++pagep); in hfs_bmap_alloc() 443 data = kmap(*pagep); in hfs_bmap_alloc() 493 data = kmap(page); in hfs_bmap_free()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_hw.c | 166 cdev->kmap.size = num_key_ctx; in chtls_init_kmap() 167 cdev->kmap.available = bsize; in chtls_init_kmap() 168 ksize = sizeof(*cdev->kmap.addr) * bsize; in chtls_init_kmap() 169 cdev->kmap.addr = kvzalloc(ksize, GFP_KERNEL); in chtls_init_kmap() 170 if (!cdev->kmap.addr) in chtls_init_kmap() 173 cdev->kmap.start = lldi->vr->key.start; in chtls_init_kmap() 174 spin_lock_init(&cdev->kmap.lock); in chtls_init_kmap() 189 spin_lock_bh(&cdev->kmap.lock); in get_new_keyid() 190 keyid = find_first_zero_bit(cdev->kmap.addr, cdev->kmap.size); in get_new_keyid() 191 if (keyid < cdev->kmap.size) { in get_new_keyid() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | map.c | 213 (dso->kernel ? sizeof(struct kmap) : 0))); in map__new2() 233 struct kmap *kmap = __map__kmap((struct map *)map); in __map__is_extra_kernel_map() local 235 return kmap && kmap->name[0]; in __map__is_extra_kernel_map() 385 size += sizeof(struct kmap); in map__clone() 463 struct kmap *kmap = __map__kmap(map); in map__rip_2objdump() local 470 if (kmap && is_entry_trampoline(kmap->name) && kmap->kmaps && kmap->kmaps->machine) { in map__rip_2objdump() 471 struct map *kernel_map = machine__kernel_map(kmap->kmaps->machine); in map__rip_2objdump() 550 struct kmap *kmap = map__kmap(map); in maps__insert() local 552 if (kmap) in maps__insert() 553 kmap->kmaps = maps; in maps__insert() [all …]
|
D | symbol-elf.c | 933 static bool ref_reloc_sym_not_found(struct kmap *kmap) in ref_reloc_sym_not_found() argument 935 return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in ref_reloc_sym_not_found() 936 !kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc_sym_not_found() 947 static u64 ref_reloc(struct kmap *kmap) in ref_reloc() argument 949 if (kmap && kmap->ref_reloc_sym && in ref_reloc() 950 kmap->ref_reloc_sym->unrelocated_addr) in ref_reloc() 951 return kmap->ref_reloc_sym->addr - in ref_reloc() 952 kmap->ref_reloc_sym->unrelocated_addr; in ref_reloc() 961 struct maps *kmaps, struct kmap *kmap, in dso__process_kernel_symbol() argument 985 map->start = shdr->sh_addr + ref_reloc(kmap); in dso__process_kernel_symbol() [all …]
|
D | map.h | 41 struct kmap; 43 struct kmap *__map__kmap(struct map *map); 44 struct kmap *map__kmap(struct map *map);
|
D | symbol.c | 1176 struct kmap *kmap = map__kmap(map); in validate_kcore_addresses() local 1178 if (!kmap) in validate_kcore_addresses() 1181 if (kmap->ref_reloc_sym && kmap->ref_reloc_sym->name) { in validate_kcore_addresses() 1185 kmap->ref_reloc_sym->name, &start)) in validate_kcore_addresses() 1187 if (start != kmap->ref_reloc_sym->addr) in validate_kcore_addresses() 1444 static int kallsyms__delta(struct kmap *kmap, const char *filename, u64 *delta) in kallsyms__delta() argument 1448 if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->name) in kallsyms__delta() 1451 if (kallsyms__get_function_start(filename, kmap->ref_reloc_sym->name, &addr)) in kallsyms__delta() 1454 *delta = addr - kmap->ref_reloc_sym->addr; in kallsyms__delta() 1461 struct kmap *kmap = map__kmap(map); in __dso__load_kallsyms() local [all …]
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
D | event.c | 32 struct kmap *kmap; in perf_event__synthesize_extra_kmaps() local 38 kmap = map__kmap(pos); in perf_event__synthesize_extra_kmaps() 41 PERF_ALIGN(strlen(kmap->name) + 1, sizeof(u64)) + in perf_event__synthesize_extra_kmaps() 64 strlcpy(event->mmap.filename, kmap->name, PATH_MAX); in perf_event__synthesize_extra_kmaps()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | highmem.c | 38 void *kmap; in kmap_atomic_high_prot() local 47 kmap = NULL; in kmap_atomic_high_prot() 50 kmap = kmap_high_get(page); in kmap_atomic_high_prot() 51 if (kmap) in kmap_atomic_high_prot() 52 return kmap; in kmap_atomic_high_prot()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_vram_helper.c | 117 WARN_ON(gbo->kmap.virtual); in drm_gem_vram_cleanup() 420 struct ttm_bo_kmap_obj *kmap = &gbo->kmap; in drm_gem_vram_kmap_locked() local 425 if (kmap->virtual || !map) in drm_gem_vram_kmap_locked() 428 ret = ttm_bo_kmap(&gbo->bo, 0, gbo->bo.num_pages, kmap); in drm_gem_vram_kmap_locked() 433 if (!kmap->virtual) { in drm_gem_vram_kmap_locked() 440 return ttm_kmap_obj_virtual(kmap, is_iomem); in drm_gem_vram_kmap_locked() 441 return kmap->virtual; in drm_gem_vram_kmap_locked() 611 struct ttm_bo_kmap_obj *kmap = &gbo->kmap; in drm_gem_vram_bo_driver_move_notify() local 616 if (!kmap->virtual) in drm_gem_vram_bo_driver_move_notify() 618 ttm_bo_kunmap(kmap); in drm_gem_vram_bo_driver_move_notify() [all …]
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | lzo.c | 143 data_in = kmap(in_page); in lzo_compress_pages() 154 cpage_out = kmap(out_page); in lzo_compress_pages() 224 cpage_out = kmap(out_page); in lzo_compress_pages() 251 data_in = kmap(in_page); in lzo_compress_pages() 261 cpage_out = kmap(pages[0]); in lzo_compress_pages() 308 data_in = kmap(pages_in[0]); in lzo_decompress_bio() 390 data_in = kmap(pages_in[++page_in_index]); in lzo_decompress_bio()
|
D | zlib.c | 129 cpage_out = kmap(out_page); in zlib_compress_pages() 157 data_in = kmap(in_page); in zlib_compress_pages() 170 data_in = kmap(in_page); in zlib_compress_pages() 210 cpage_out = kmap(out_page); in zlib_compress_pages() 248 cpage_out = kmap(out_page); in zlib_compress_pages() 292 data_in = kmap(pages_in[page_in_index]); in zlib_decompress_bio() 348 data_in = kmap(pages_in[page_in_index]); in zlib_decompress_bio()
|
D | zstd.c | 402 workspace->in_buf.src = kmap(in_page); in zstd_compress_pages() 414 workspace->out_buf.dst = kmap(out_page); in zstd_compress_pages() 461 workspace->out_buf.dst = kmap(out_page); in zstd_compress_pages() 482 workspace->in_buf.src = kmap(in_page); in zstd_compress_pages() 521 workspace->out_buf.dst = kmap(out_page); in zstd_compress_pages() 568 workspace->in_buf.src = kmap(pages_in[page_in_index]); in zstd_decompress_bio() 611 workspace->in_buf.src = kmap(pages_in[page_in_index]); in zstd_decompress_bio()
|
/kernel/linux/linux-5.10/arch/m68k/mm/ |
D | Makefile | 9 obj-$(CONFIG_MMU_MOTOROLA) += kmap.o memory.o motorola.o hwtest.o 11 obj-$(CONFIG_MMU_COLDFIRE) += kmap.o memory.o mcfmmu.o
|
/kernel/linux/linux-5.10/fs/hfs/ |
D | bnode.c | 83 memcpy(kmap(page) + off, buf, len); in hfs_bnode_write() 108 memset(kmap(page) + off, 0, len); in hfs_bnode_clear() 126 memcpy(kmap(dst_page) + dst, kmap(src_page) + src, len); in hfs_bnode_copy() 143 ptr = kmap(page); in hfs_bnode_move() 354 desc = (struct hfs_bnode_desc *)(kmap(node->page[0]) + node->page_offset); in hfs_bnode_find() 444 memset(kmap(*pagep) + node->page_offset, 0, in hfs_bnode_create() 449 memset(kmap(*++pagep), 0, PAGE_SIZE); in hfs_bnode_create()
|
D | btree.c | 83 head = (struct hfs_btree_header_rec *)(kmap(page) + sizeof(struct hfs_bnode_desc)); in hfs_btree_open() 172 head = (struct hfs_btree_header_rec *)(kmap(page) + sizeof(struct hfs_bnode_desc)); in hfs_btree_write() 271 data = kmap(*pagep); in hfs_bmap_alloc() 294 data = kmap(*++pagep); in hfs_bmap_alloc() 316 data = kmap(*pagep); in hfs_bmap_alloc() 363 data = kmap(page); in hfs_bmap_free()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | alloc.c | 527 desc_kaddr = kmap(desc_bh->b_page); in nilfs_palloc_prepare_alloc_entry() 539 bitmap_kaddr = kmap(bitmap_bh->b_page); in nilfs_palloc_prepare_alloc_entry() 608 desc_kaddr = kmap(req->pr_desc_bh->b_page); in nilfs_palloc_commit_free_entry() 611 bitmap_kaddr = kmap(req->pr_bitmap_bh->b_page); in nilfs_palloc_commit_free_entry() 649 desc_kaddr = kmap(req->pr_desc_bh->b_page); in nilfs_palloc_abort_alloc_entry() 652 bitmap_kaddr = kmap(req->pr_bitmap_bh->b_page); in nilfs_palloc_abort_alloc_entry() 757 bitmap_kaddr = kmap(bitmap_bh->b_page); in nilfs_palloc_freev()
|
D | ifile.h | 24 void *kaddr = kmap(ibh->b_page); in nilfs_ifile_map_inode()
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | read_write.c | 67 virt = kmap(page_for_lower); in ecryptfs_write_lower_page_segment() 254 virt = kmap(page_for_ecryptfs); in ecryptfs_read_lower_page_segment()
|
/kernel/linux/linux-5.10/net/ceph/ |
D | pagelist.c | 70 pl->mapped_tail = kmap(page); in ceph_pagelist_addpage() 167 pl->mapped_tail = kmap(page); in ceph_pagelist_truncate()
|
/kernel/linux/linux-5.10/fs/ntfs/ |
D | aops.h | 78 kmap(page); in ntfs_map_page()
|
/kernel/linux/linux-5.10/fs/vboxsf/ |
D | file.c | 236 buf = kmap(page); in vboxsf_readpage() 288 buf = kmap(page); in vboxsf_writepage() 322 buf = kmap(page); in vboxsf_write_end()
|
/kernel/linux/linux-5.10/fs/freevxfs/ |
D | vxfs_immed.c | 72 kaddr = kmap(pp); in vxfs_immed_readpage()
|
/kernel/linux/linux-5.10/fs/afs/ |
D | dir_edit.c | 221 meta_page = kmap(page0); in afs_edit_dir_add() 248 dir_page = kmap(page); in afs_edit_dir_add() 399 meta_page = kmap(page0); in afs_edit_dir_remove() 411 dir_page = kmap(page); in afs_edit_dir_remove()
|