Home
last modified time | relevance | path

Searched refs:kmap_atomic (Results 1 – 25 of 195) sorted by relevance

12345678

/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dhighmem.rst69 嵌套kmap_local_page()和kmap_atomic()映射在一定程度上是允许的(最多到KMAP_TYPE_NR),
73 * kmap_atomic(). 这允许对单个页面进行非常短的时间映射。由于映射被限制在发布它的CPU上,
76 kmap_atomic()也可以被中断上下文使用,因为它不睡眠,调用者也可能在调用kunmap_atomic()
79 内核中对kmap_atomic()的每次调用都会创建一个不可抢占的段,并禁用缺页异常。这可能是
80 未预期延迟的来源之一。因此用户应该选择kmap_local_page()而不是kmap_atomic()。
97 在64位系统中,调用kmap_local_page()、kmap_atomic()和kmap()没有实际作用,因为64位
/linux-6.1.9/fs/nilfs2/
Dcpfile.c254 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_get_checkpoint()
350 kaddr = kmap_atomic(cp_bh->b_page); in nilfs_cpfile_delete_checkpoints()
392 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_delete_checkpoints()
450 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_cpinfo()
494 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
515 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
539 kaddr = kmap_atomic(bh->b_page); in nilfs_cpfile_do_get_ssinfo()
635 kaddr = kmap_atomic(cp_bh->b_page); in nilfs_cpfile_set_snapshot()
652 kaddr = kmap_atomic(header_bh->b_page); in nilfs_cpfile_set_snapshot()
670 kaddr = kmap_atomic(curr_bh->b_page); in nilfs_cpfile_set_snapshot()
[all …]
Ddat.c81 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_alloc()
105 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_free()
139 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_start()
162 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_prepare_end()
187 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_end()
212 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_abort_end()
347 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_move()
411 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_translate()
442 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_get_vinfo()
Dsufile.c110 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_mod_counter()
318 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
355 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_alloc()
368 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
409 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_cancel_free()
435 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_scrap()
466 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_free()
507 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_mark_dirty()
537 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_set_segment_usage()
584 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_get_stat()
[all …]
/linux-6.1.9/arch/arm/mm/
Dcopypage-fa.c43 kto = kmap_atomic(to); in fa_copy_user_highpage()
44 kfrom = kmap_atomic(from); in fa_copy_user_highpage()
57 void *ptr, *kaddr = kmap_atomic(page); in fa_clear_user_highpage()
Dcopypage-v4wt.c48 kto = kmap_atomic(to); in v4wt_copy_user_highpage()
49 kfrom = kmap_atomic(from); in v4wt_copy_user_highpage()
62 void *ptr, *kaddr = kmap_atomic(page); in v4wt_clear_user_highpage()
Dcopypage-feroceon.c70 kto = kmap_atomic(to); in feroceon_copy_user_highpage()
71 kfrom = kmap_atomic(from); in feroceon_copy_user_highpage()
80 void *ptr, *kaddr = kmap_atomic(page); in feroceon_clear_user_highpage()
Dcopypage-v4wb.c52 kto = kmap_atomic(to); in v4wb_copy_user_highpage()
53 kfrom = kmap_atomic(from); in v4wb_copy_user_highpage()
67 void *ptr, *kaddr = kmap_atomic(page); in v4wb_clear_user_highpage()
Dcopypage-xsc3.c69 kto = kmap_atomic(to); in xsc3_mc_copy_user_highpage()
70 kfrom = kmap_atomic(from); in xsc3_mc_copy_user_highpage()
82 void *ptr, *kaddr = kmap_atomic(page); in xsc3_mc_clear_user_highpage()
Dcopypage-v6.c35 kfrom = kmap_atomic(from); in v6_copy_user_highpage_nonaliasing()
36 kto = kmap_atomic(to); in v6_copy_user_highpage_nonaliasing()
48 void *kaddr = kmap_atomic(page); in v6_clear_user_highpage_nonaliasing()
Dcopypage-v4mc.c67 void *kto = kmap_atomic(to); in v4_mc_copy_user_highpage()
88 void *ptr, *kaddr = kmap_atomic(page); in v4_mc_clear_user_highpage()
Dcopypage-xscale.c87 void *kto = kmap_atomic(to); in xscale_mc_copy_user_highpage()
109 void *ptr, *kaddr = kmap_atomic(page); in xscale_mc_clear_user_highpage()
/linux-6.1.9/include/linux/
Dhighmem-internal.h108 static inline void *kmap_atomic(struct page *page) in kmap_atomic() function
207 static inline void *kmap_atomic(struct page *page) in kmap_atomic() function
219 return kmap_atomic(page); in kmap_atomic_prot()
224 return kmap_atomic(pfn_to_page(pfn)); in kmap_atomic_pfn()
/linux-6.1.9/crypto/async_tx/
Dasync_memcpy.c78 dest_buf = kmap_atomic(dest) + dest_offset; in async_memcpy()
79 src_buf = kmap_atomic(src) + src_offset; in async_memcpy()
/linux-6.1.9/mm/
Dpage_poison.c25 void *addr = kmap_atomic(page); in poison_page()
81 addr = kmap_atomic(page); in unpoison_page()
Dzsmalloc.c976 vaddr = kmap_atomic(page); in init_zspage()
1134 addr = kmap_atomic(pages[0]); in __zs_map_object()
1137 addr = kmap_atomic(pages[1]); in __zs_map_object()
1164 addr = kmap_atomic(pages[0]); in __zs_unmap_object()
1167 addr = kmap_atomic(pages[1]); in __zs_unmap_object()
1272 area->vm_addr = kmap_atomic(page); in zs_map_object()
1368 vaddr = kmap_atomic(m_page); in obj_malloc()
1469 vaddr = kmap_atomic(f_page); in obj_free()
1542 s_addr = kmap_atomic(s_page); in zs_object_copy()
1543 d_addr = kmap_atomic(d_page); in zs_object_copy()
[all …]
/linux-6.1.9/drivers/block/
Dbrd.c204 dst = kmap_atomic(page); in copy_to_brd()
215 dst = kmap_atomic(page); in copy_to_brd()
235 src = kmap_atomic(page); in copy_from_brd()
247 src = kmap_atomic(page); in copy_from_brd()
271 mem = kmap_atomic(page); in brd_do_bvec()
/linux-6.1.9/drivers/target/
Dtarget_core_sbc.c416 unsigned char *addr = kmap_atomic(sg_page(sg)); in compare_and_write_do_cmp()
1170 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_generate()
1171 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate()
1186 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate()
1199 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_generate()
1284 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_copy_prot()
1288 addr = kmap_atomic(sg_page(sg)) + sg->offset + offset; in sbc_dif_copy_prot()
1327 paddr = kmap_atomic(sg_page(psg)) + psg->offset; in sbc_dif_verify()
1328 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_verify()
1344 daddr = kmap_atomic(sg_page(dsg)) + dsg->offset; in sbc_dif_verify()
[all …]
/linux-6.1.9/arch/um/kernel/skas/
Duaccess.c81 addr = (unsigned long) kmap_atomic(page) + in do_op_one_page()
270 addr = (unsigned long) kmap_atomic(page) + in arch_futex_atomic_op_inuser()
348 uaddr = kmap_atomic(page) + ((unsigned long) uaddr & ~PAGE_MASK); in futex_atomic_cmpxchg_inatomic()
/linux-6.1.9/arch/mips/mm/
Dcache.c101 addr = (unsigned long)kmap_atomic(page); in __flush_dcache_page()
143 addr = (unsigned long)kmap_atomic(page); in __update_cache()
/linux-6.1.9/arch/loongarch/mm/
Dinit.c71 vto = kmap_atomic(to); in copy_user_highpage()
72 vfrom = kmap_atomic(from); in copy_user_highpage()
/linux-6.1.9/arch/sh/mm/
Dcache.c100 vto = kmap_atomic(to); in copy_user_highpage()
108 vfrom = kmap_atomic(from); in copy_user_highpage()
125 void *kaddr = kmap_atomic(page); in clear_user_highpage()
/linux-6.1.9/drivers/gpu/drm/gma500/
Dmmu.c282 v = kmap_atomic(pt->p); in psb_mmu_alloc_pt()
331 v = kmap_atomic(pd->p); in psb_mmu_pt_alloc_map_lock()
342 pt->v = kmap_atomic(pt->p); in psb_mmu_pt_alloc_map_lock()
359 pt->v = kmap_atomic(pt->p); in psb_mmu_pt_map_lock()
370 v = kmap_atomic(pd->p); in psb_mmu_pt_unmap_unlock()
747 v = kmap_atomic(pd->p); in psb_mmu_virtual_to_pfn()
/linux-6.1.9/Documentation/mm/
Dhighmem.rst97 Nesting kmap_local_page() and kmap_atomic() mappings is allowed to a certain
103 * kmap_atomic(). This permits a very short duration mapping of a single
108 kmap_atomic() may also be used by interrupt contexts, since it does not
112 Each call of kmap_atomic() in the kernel creates a non-preemptible section
114 users should prefer kmap_local_page() instead of kmap_atomic().
137 On 64-bit systems, calls to kmap_local_page(), kmap_atomic() and kmap() have
/linux-6.1.9/drivers/gpu/drm/
Ddrm_cache.c60 page_virtual = kmap_atomic(page); in drm_clflush_page()
109 page_virtual = kmap_atomic(page); in drm_clflush_pages()

12345678