Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/include/linux/
Dhighmem.h91 static inline void *kmap_atomic(struct page *page) in kmap_atomic() function
97 #define kmap_atomic_prot(page, prot) kmap_atomic(page)
105 #define kmap_atomic_pfn(pfn) kmap_atomic(pfn_to_page(pfn))
160 void *addr = kmap_atomic(page); in clear_user_highpage()
213 void *kaddr = kmap_atomic(page); in clear_highpage()
222 void *kaddr = kmap_atomic(page); in zero_user_segments()
255 vfrom = kmap_atomic(from); in copy_user_highpage()
256 vto = kmap_atomic(to); in copy_user_highpage()
270 vfrom = kmap_atomic(from); in copy_highpage()
271 vto = kmap_atomic(to); in copy_highpage()
/Linux-v5.4/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()
132 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_start()
155 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_prepare_end()
180 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_commit_end()
205 kaddr = kmap_atomic(req->pr_entry_bh->b_page); in nilfs_dat_abort_end()
340 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_move()
404 kaddr = kmap_atomic(entry_bh->b_page); in nilfs_dat_translate()
435 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()
319 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
356 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_alloc()
369 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_alloc()
410 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_cancel_free()
437 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_scrap()
468 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_free()
532 kaddr = kmap_atomic(bh->b_page); in nilfs_sufile_set_segment_usage()
579 kaddr = kmap_atomic(header_bh->b_page); in nilfs_sufile_get_stat()
605 kaddr = kmap_atomic(su_bh->b_page); in nilfs_sufile_do_set_error()
[all …]
/Linux-v5.4/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-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.c68 kto = kmap_atomic(to); in xsc3_mc_copy_user_highpage()
69 kfrom = kmap_atomic(from); in xsc3_mc_copy_user_highpage()
81 void *ptr, *kaddr = kmap_atomic(page); in xsc3_mc_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-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-v5.4/arch/csky/abiv2/
Dcacheflush.c13 start = (unsigned long) kmap_atomic(page); in flush_icache_page()
25 kaddr = (unsigned long) kmap_atomic(page) + (vaddr & ~PAGE_MASK); in flush_icache_user_range()
46 addr = (unsigned long) kmap_atomic(page); in update_mmu_cache()
/Linux-v5.4/fs/erofs/
Ddecompressor.c101 src = kmap_atomic(*in); in generic_copy_inplace_data()
123 src = kmap_atomic(*rq->in); in z_erofs_lz4_decompress()
204 char *buf = kmap_atomic(page); in copy_from_pcpubuf()
231 dst = kmap_atomic(*rq->out); in z_erofs_decompress_generic()
308 src = kmap_atomic(*rq->in); in z_erofs_shifted_transform()
312 dst = kmap_atomic(rq->out[0]); in z_erofs_shifted_transform()
322 dst = kmap_atomic(rq->out[1]); in z_erofs_shifted_transform()
/Linux-v5.4/Documentation/vm/
Dhighmem.rst64 * kmap_atomic(). This permits a very short duration mapping of a single
69 kmap_atomic() may also be used by interrupt contexts, since it is does not
75 Using kmap_atomic
78 When and where to use kmap_atomic() is straightforward. It is used when code
87 void *vaddr = kmap_atomic(page);
95 Note that the kunmap_atomic() call takes the result of the kmap_atomic() call
99 another you need to keep the kmap_atomic calls strictly nested, like::
101 vaddr1 = kmap_atomic(page1);
102 vaddr2 = kmap_atomic(page2);
/Linux-v5.4/arch/parisc/include/asm/
Dcacheflush.h118 static inline void *kmap_atomic(struct page *page) in kmap_atomic() function
132 #define kmap_atomic_prot(page, prot) kmap_atomic(page)
133 #define kmap_atomic_pfn(pfn) kmap_atomic(pfn_to_page(pfn))
/Linux-v5.4/arch/xtensa/mm/
Dhighmem.c40 void *kmap_atomic(struct page *page) in kmap_atomic() function
60 EXPORT_SYMBOL(kmap_atomic);
/Linux-v5.4/arch/nds32/mm/
Dhighmem.c35 void *kmap_atomic(struct page *page) in kmap_atomic() function
62 EXPORT_SYMBOL(kmap_atomic);
/Linux-v5.4/arch/sparc/mm/
Dhighmem.c52 void *kmap_atomic(struct page *page) in kmap_atomic() function
86 EXPORT_SYMBOL(kmap_atomic);
/Linux-v5.4/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-v5.4/drivers/gpu/drm/
Ddrm_cache.c54 page_virtual = kmap_atomic(page); in drm_clflush_page()
102 page_virtual = kmap_atomic(page); in drm_clflush_pages()
/Linux-v5.4/arch/arc/mm/
Dhighmem.c62 void *kmap_atomic(struct page *page) in kmap_atomic() function
81 EXPORT_SYMBOL(kmap_atomic);
/Linux-v5.4/arch/mips/mm/
Dhighmem.c47 void *kmap_atomic(struct page *page) in kmap_atomic() function
68 EXPORT_SYMBOL(kmap_atomic);
/Linux-v5.4/mm/
Dpage_poison.c42 void *addr = kmap_atomic(page); in poison_page()
100 addr = kmap_atomic(page); in unpoison_page()
/Linux-v5.4/fs/squashfs/
Dpage_actor.c63 return actor->pageaddr = kmap_atomic(actor->page[0]); in direct_first_page()
72 kmap_atomic(actor->page[actor->next_page++]); in direct_next_page()

1234567891011