/linux/fs/hfsplus/ |
A D | bnode.c | 32 memcpy(buf, kmap(*pagep) + off, l); in hfs_bnode_read() 38 memcpy(buf, kmap(*++pagep), l); in hfs_bnode_read() 92 memcpy(kmap(*++pagep), buf, l); in hfs_bnode_write() 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() 205 memmove(kmap(*dst_page), kmap(*src_page), src); in hfs_bnode_move() 216 kmap(*src_page) + src, len); in hfs_bnode_move() 255 kmap(*src_page) + src, l); in hfs_bnode_move() 262 memmove(kmap(*++dst_page), in hfs_bnode_move() [all …]
|
A 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()
|
A 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()
|
/linux/tools/perf/util/ |
A D | map.c | 237 struct kmap *kmap = __map__kmap((struct map *)map); in __map__is_extra_kernel_map() local 239 return kmap && kmap->name[0]; in __map__is_extra_kernel_map() 467 struct kmap *kmap = __map__kmap(map); in map__rip_2objdump() local 474 if (kmap && is_entry_trampoline(kmap->name) && kmap->kmaps && kmap->kmaps->machine) { in map__rip_2objdump() 554 struct kmap *kmap = map__kmap(map); in maps__insert() local 556 if (kmap) in maps__insert() 947 struct kmap *kmap = __map__kmap(map); in map__kmap() local 949 if (!kmap) in map__kmap() 951 return kmap; in map__kmap() 956 struct kmap *kmap = map__kmap(map); in map__kmaps() local [all …]
|
A D | symbol-elf.c | 944 static bool ref_reloc_sym_not_found(struct kmap *kmap) in ref_reloc_sym_not_found() argument 946 return kmap && kmap->ref_reloc_sym && kmap->ref_reloc_sym->name && in ref_reloc_sym_not_found() 958 static u64 ref_reloc(struct kmap *kmap) in ref_reloc() argument 960 if (kmap && kmap->ref_reloc_sym && in ref_reloc() 962 return kmap->ref_reloc_sym->addr - in ref_reloc() 972 struct maps *kmaps, struct kmap *kmap, in dso__process_kernel_symbol() argument 1025 if (!kmap) in dso__process_kernel_symbol() 1081 struct kmap *kmap = dso->kernel ? map__kmap(map) : NULL; in dso__load_sym_internal() local 1099 if (kmap && !kmaps) in dso__load_sym_internal() 1155 if (ref_reloc_sym_not_found(kmap)) { in dso__load_sym_internal() [all …]
|
A D | symbol.c | 1170 struct kmap *kmap = map__kmap(map); in validate_kcore_addresses() local 1172 if (!kmap) in validate_kcore_addresses() 1175 if (kmap->ref_reloc_sym && kmap->ref_reloc_sym->name) { in validate_kcore_addresses() 1179 kmap->ref_reloc_sym->name, &start)) in validate_kcore_addresses() 1181 if (start != kmap->ref_reloc_sym->addr) in validate_kcore_addresses() 1438 static int kallsyms__delta(struct kmap *kmap, const char *filename, u64 *delta) in kallsyms__delta() argument 1442 if (!kmap->ref_reloc_sym || !kmap->ref_reloc_sym->name) in kallsyms__delta() 1448 *delta = addr - kmap->ref_reloc_sym->addr; in kallsyms__delta() 1455 struct kmap *kmap = map__kmap(map); in __dso__load_kallsyms() local 1461 if (!kmap || !kmap->kmaps) in __dso__load_kallsyms() [all …]
|
A D | map.h | 41 struct kmap; 43 struct kmap *__map__kmap(struct map *map); 44 struct kmap *map__kmap(struct map *map);
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A D | chtls_hw.c | 166 cdev->kmap.size = num_key_ctx; in chtls_init_kmap() 167 cdev->kmap.available = bsize; in chtls_init_kmap() 170 if (!cdev->kmap.addr) 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() 201 spin_unlock_bh(&cdev->kmap.lock); in get_new_keyid() 213 if (!cdev->kmap.addr) in free_tls_keyid() 219 spin_lock_bh(&cdev->kmap.lock); in free_tls_keyid() [all …]
|
/linux/tools/perf/arch/x86/util/ |
A 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()
|
/linux/fs/btrfs/ |
A 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() 290 data_in = kmap(pages_in[page_in_index]); in zlib_decompress_bio() 345 data_in = kmap(pages_in[page_in_index]); in zlib_decompress_bio()
|
A D | lzo.c | 155 kaddr = kmap(cur_page); in copy_compressed_data_to_page() 180 kaddr = kmap(cur_page); in copy_compressed_data_to_page() 248 data_in = kmap(page_in); in lzo_compress_pages() 318 kaddr = kmap(cur_page); in copy_compressed_segment() 342 kaddr = kmap(cb->compressed_pages[0]); in lzo_decompress_bio() 378 kaddr = kmap(cur_page); in lzo_decompress_bio()
|
A 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() 566 workspace->in_buf.src = kmap(pages_in[page_in_index]); in zstd_decompress_bio() 609 workspace->in_buf.src = kmap(pages_in[page_in_index]); in zstd_decompress_bio()
|
/linux/fs/hfs/ |
A 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() 353 desc = (struct hfs_bnode_desc *)(kmap(node->page[0]) + node->page_offset); in hfs_bnode_find() 443 memset(kmap(*pagep) + node->page_offset, 0, in hfs_bnode_create() 448 memset(kmap(*++pagep), 0, PAGE_SIZE); in hfs_bnode_create()
|
A 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()
|
/linux/arch/m68k/mm/ |
A 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
|
/linux/fs/nilfs2/ |
A 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()
|
/linux/fs/erofs/ |
A D | decompressor_lzma.c | 166 kin = kmap(*rq->in); in z_erofs_lzma_decompress() 223 strm->buf.out = kmap(rq->out[no]) + pageofs; in z_erofs_lzma_decompress() 236 kin = kmap(rq->in[ni]); in z_erofs_lzma_decompress()
|
/linux/fs/vboxsf/ |
A 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()
|
/linux/fs/ecryptfs/ |
A D | read_write.c | 67 virt = kmap(page_for_lower); in ecryptfs_write_lower_page_segment() 256 virt = kmap(page_for_ecryptfs); in ecryptfs_read_lower_page_segment()
|
/linux/include/linux/ |
A D | highmem-internal.h | 40 static inline void *kmap(struct page *page) in kmap() function 159 static inline void *kmap(struct page *page) in kmap() function
|
/linux/net/ceph/ |
A D | pagelist.c | 70 pl->mapped_tail = kmap(page); in ceph_pagelist_addpage() 167 pl->mapped_tail = kmap(page); in ceph_pagelist_truncate()
|
/linux/mm/ |
A D | highmem.c | 545 void *kmap; in __kmap_local_page_prot() local 556 kmap = arch_kmap_local_high_get(page); in __kmap_local_page_prot() 557 if (kmap) in __kmap_local_page_prot() 558 return kmap; in __kmap_local_page_prot()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_bo.h | 19 struct ttm_bo_kmap_obj kmap; member 105 &nvbo->kmap, &is_iomem); in nvbo_kmap_obj_iovirtual()
|
/linux/fs/ntfs/ |
A D | aops.h | 78 kmap(page); in ntfs_map_page()
|
/linux/fs/freevxfs/ |
A D | vxfs_immed.c | 72 kaddr = kmap(pp); in vxfs_immed_readpage()
|