Home
last modified time | relevance | path

Searched refs:page_address (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/linux/crypto/async_tx/
A Draid6test.c40 prandom_bytes(page_address(data[i]), PAGE_SIZE); in makedata()
131 memset(page_address(recovi), 0xf0, PAGE_SIZE); in test_disks()
132 memset(page_address(recovj), 0xba, PAGE_SIZE); in test_disks()
139 erra = memcmp(page_address(data[i]), page_address(recovi), PAGE_SIZE); in test_disks()
140 errb = memcmp(page_address(data[j]), page_address(recovj), PAGE_SIZE); in test_disks()
167 memset(page_address(data[disks-2]), 0xee, PAGE_SIZE); in test()
168 memset(page_address(data[disks-1]), 0xee, PAGE_SIZE); in test()
/linux/fs/btrfs/
A Dstruct-funcs.c74 token->kaddr = page_address(token->eb->pages[idx]); \
80 token->kaddr = page_address(token->eb->pages[idx + 1]); \
91 char *kaddr = page_address(eb->pages[idx]); \
101 kaddr = page_address(eb->pages[idx + 1]); \
125 token->kaddr = page_address(token->eb->pages[idx]); \
133 token->kaddr = page_address(token->eb->pages[idx + 1]); \
143 char *kaddr = page_address(eb->pages[idx]); \
156 kaddr = page_address(eb->pages[idx + 1]); \
/linux/include/linux/
A Dhighmem-internal.h46 addr = page_address(page); in kmap()
162 return page_address(page); in kmap()
171 kunmap_flush_on_unmap(page_address(page)); in kunmap()
177 return page_address(page); in kmap_local_page()
182 return page_address(&folio->page) + offset; in kmap_local_folio()
209 return page_address(page); in kmap_atomic()
A Dslub_def.h166 void *object = x - (x - page_address(page)) % cache->size; in nearest_obj()
167 void *last_object = page_address(page) + in nearest_obj()
188 return __obj_to_index(cache, page_address(page), obj); in obj_to_index()
/linux/fs/sysv/
A Ddir.c87 kaddr = (char *)page_address(page); in sysv_readdir()
148 kaddr = (char*)page_address(page); in sysv_find_entry()
192 kaddr = (char*)page_address(page); in sysv_add_link()
210 (char*)de - (char*)page_address(page); in sysv_add_link()
233 char *kaddr = (char*)page_address(page); in sysv_delete_entry()
264 base = (char*)page_address(page); in sysv_make_empty()
298 kaddr = (char *)page_address(page); in sysv_empty_dir()
332 (char *)de-(char*)page_address(page); in sysv_set_link()
351 de = (struct sysv_dir_entry*) page_address(page) + 1; in sysv_dotdot()
/linux/arch/arm64/mm/
A Dpageattr.c102 __change_memory_common((u64)page_address(area->pages[i]), in change_memory_common()
167 (unsigned long)page_address(page), in set_direct_map_invalid_noflush()
182 (unsigned long)page_address(page), in set_direct_map_default_noflush()
192 set_memory_valid((unsigned long)page_address(page), numpages, enable); in __kernel_map_pages()
212 unsigned long addr = (unsigned long)page_address(page); in kernel_page_present()
A Dcopypage.c19 struct page *kto = page_address(to); in copy_highpage()
20 struct page *kfrom = page_address(from); in copy_highpage()
A Dflush.c56 sync_icache_aliases((unsigned long)page_address(page), in __sync_icache_dcache()
57 (unsigned long)page_address(page) + in __sync_icache_dcache()
A Dmteswap.c34 mte_save_page_tags(page_address(page), tag_storage); in mte_save_tags()
65 mte_restore_page_tags(page_address(page), tags); in mte_restore_tags()
/linux/arch/riscv/mm/
A Dpageattr.c162 unsigned long start = (unsigned long)page_address(page); in set_direct_map_invalid_noflush()
179 unsigned long start = (unsigned long)page_address(page); in set_direct_map_default_noflush()
200 __set_memory((unsigned long)page_address(page), numpages, in __kernel_map_pages()
203 __set_memory((unsigned long)page_address(page), numpages, in __kernel_map_pages()
210 unsigned long addr = (unsigned long)page_address(page); in kernel_page_present()
/linux/security/selinux/
A Dstatus.c52 status = page_address(state->status_page); in selinux_kernel_status_page()
86 status = page_address(state->status_page); in selinux_status_update_setenforce()
112 status = page_address(state->status_page); in selinux_status_update_policyload()
/linux/fs/ufs/
A Ddir.c91 (char *) de - (char *) page_address(page); in ufs_set_link()
114 char *kaddr = page_address(page); in ufs_check_page()
236 (struct ufs_dir_entry *)page_address(page)); in ufs_dotdot()
280 kaddr = page_address(page); in ufs_find_entry()
337 kaddr = page_address(page); in ufs_add_link()
375 (char*)de - (char*)page_address(page); in ufs_add_link()
453 kaddr = page_address(page); in ufs_readdir()
499 char *kaddr = page_address(page); in ufs_delete_entry()
525 from = (char*)pde - (char*)page_address(page); in ufs_delete_entry()
563 base = (char*)page_address(page); in ufs_make_empty()
[all …]
/linux/fs/nilfs2/
A Ddir.c121 char *kaddr = page_address(page); in nilfs_check_page()
285 kaddr = page_address(page); in nilfs_readdir()
352 kaddr = page_address(page); in nilfs_find_entry()
395 (struct nilfs_dir_entry *)page_address(page)); in nilfs_dotdot()
420 unsigned int from = (char *)de - (char *)page_address(page); in nilfs_set_link()
467 kaddr = page_address(page); in nilfs_add_link()
504 from = (char *)de - (char *)page_address(page); in nilfs_add_link()
542 char *kaddr = page_address(page); in nilfs_delete_entry()
562 from = (char *)pde - (char *)page_address(page); in nilfs_delete_entry()
634 kaddr = page_address(page); in nilfs_empty_dir()
/linux/mm/
A Dhighmem.c241 if (page_address(page)) in map_new_virtual()
242 return (unsigned long)page_address(page); in map_new_virtual()
275 vaddr = (unsigned long)page_address(page); in kmap_high()
301 vaddr = (unsigned long)page_address(page); in kmap_high_get()
328 vaddr = (unsigned long)page_address(page); in kunmap_high()
553 return page_address(page); in __kmap_local_page_prot()
721 void *page_address(const struct page *page) in page_address() function
747 EXPORT_SYMBOL(page_address);
/linux/net/ceph/
A Dcls_lock_client.c56 p = page_address(lock_op_page); in ceph_cls_lock()
115 p = page_address(unlock_op_page); in ceph_cls_unlock()
168 p = page_address(break_op_page); in ceph_cls_break_lock()
217 p = page_address(cookie_op_page); in ceph_cls_set_cookie()
362 p = page_address(get_info_op_page); in ceph_cls_lock_info()
377 p = page_address(reply_page); in ceph_cls_lock_info()
415 p = page_address(pages[0]); in ceph_cls_assert_locked()
A Dpagevec.c72 bad = copy_from_user(page_address(pages[i]) + po, data, l); in ceph_copy_user_to_page_vector()
98 memcpy(page_address(pages[i]) + po, data, l); in ceph_copy_to_page_vector()
121 memcpy(data, page_address(pages[i]) + po, l); in ceph_copy_from_page_vector()
/linux/arch/x86/kernel/
A Dmachine_kexec_32.c105 control_page = page_address(image->control_code_page); in machine_kexec_prepare_page_tables()
139 set_memory_x((unsigned long)page_address(image->control_code_page), 1); in machine_kexec_prepare()
153 set_memory_nx((unsigned long)page_address(image->control_code_page), 1); in machine_kexec_cleanup()
197 control_page = page_address(image->control_code_page); in machine_kexec()
A Despfix_64.c169 pmd_p = (pmd_t *)page_address(page); in init_espfix_ap()
181 pte_p = (pte_t *)page_address(page); in init_espfix_ap()
189 stack_page = page_address(alloc_pages_node(node, GFP_KERNEL, 0)); in init_espfix_ap()
/linux/fs/minix/
A Ddir.c105 kaddr = (char *)page_address(page); in minix_readdir()
174 kaddr = (char*)page_address(page); in minix_find_entry()
231 kaddr = (char*)page_address(page); in minix_add_link()
265 pos = page_offset(page) + p - (char *)page_address(page); in minix_add_link()
292 char *kaddr = page_address(page); in minix_delete_entry()
376 kaddr = (char *)page_address(page); in minix_empty_dir()
418 (char *)de-(char*)page_address(page); in minix_set_link()
445 de = minix_next_entry(page_address(page), sbi); in minix_dotdot()
/linux/drivers/gpu/drm/v3d/
A Dv3d_mmu.c97 u32 page_address = dma_addr >> V3D_MMU_PAGE_SHIFT; in v3d_mmu_insert_ptes() local
98 u32 pte = page_prot | page_address; in v3d_mmu_insert_ptes()
101 BUG_ON(page_address + (PAGE_SIZE >> V3D_MMU_PAGE_SHIFT) >= in v3d_mmu_insert_ptes()
/linux/drivers/mtd/devices/
A Dblock2mtd.c70 max = page_address(page) + PAGE_SIZE; in _block2mtd_erase()
71 for (p=page_address(page); p<max; p++) in _block2mtd_erase()
74 memset(page_address(page), 0xff, PAGE_SIZE); in _block2mtd_erase()
124 memcpy(buf, page_address(page) + offset, cpylen); in block2mtd_read()
158 if (memcmp(page_address(page)+offset, buf, cpylen)) { in _block2mtd_write()
160 memcpy(page_address(page) + offset, buf, cpylen); in _block2mtd_write()
/linux/arch/nds32/mm/
A Dcacheflush.c200 kto = ((unsigned long)page_address(to) & PAGE_MASK); in copy_user_highpage()
201 kfrom = ((unsigned long)page_address(from) & PAGE_MASK); in copy_user_highpage()
222 kto = ((unsigned long)page_address(page) & PAGE_MASK); in clear_user_highpage()
247 kaddr = (unsigned long)page_address(page); in flush_dcache_page()
312 kaddr = (unsigned long)page_address(page); in flush_anon_page()
/linux/kernel/power/
A Dsnapshot.c64 set_memory_ro((unsigned long)page_address, 1); in hibernate_restore_protect_page()
70 set_memory_rw((unsigned long)page_address, 1); in hibernate_restore_unprotect_page()
237 static void recycle_safe_page(void *page_address) in recycle_safe_page() argument
239 struct linked_page *lp = page_address; in recycle_safe_page()
1398 do_copy_page(dst, page_address(s_page)); in safe_copy_page()
1401 do_copy_page(dst, page_address(s_page)); in safe_copy_page()
1437 safe_copy_page(page_address(d_page), s_page); in copy_data_page()
1446 safe_copy_page(page_address(pfn_to_page(dst_pfn)), in copy_data_page()
2175 handle->buffer = page_address(page); in snapshot_read_next()
2593 return page_address(page); in get_buffer()
[all …]
/linux/arch/mips/mm/
A Dcache.c103 addr = (unsigned long)page_address(page); in __flush_dcache_page()
115 unsigned long addr = (unsigned long) page_address(page); in __flush_anon_page()
145 addr = (unsigned long)page_address(page); in __update_cache()
/linux/fs/ntfs/
A Dcompress.c89 u8 *kp = page_address(page); in zero_partial_compressed_page()
264 dp_addr = (u8*)page_address(dp) + do_sb_start; in ntfs_decompress()
741 clear_page(page_address(page)); in ntfs_read_compressed_block()
743 memset(page_address(page) + cur_ofs, 0, in ntfs_read_compressed_block()
765 memset(page_address(page) + cur_ofs, 0, in ntfs_read_compressed_block()
797 memcpy(page_address(page) + cur_ofs, cb_pos, in ntfs_read_compressed_block()
808 memcpy(page_address(page) + cur_ofs, cb_pos, in ntfs_read_compressed_block()

Completed in 47 milliseconds

12345678910>>...20