Home
last modified time | relevance | path

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

12345678910>>...16

/linux/crypto/async_tx/
H A Draid6test.c40 get_random_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()
H A Dasync_raid6_recov.c73 a = page_address(srcs[0]) + src_offs[0]; in async_sum_product()
74 b = page_address(srcs[1]) + src_offs[1]; in async_sum_product()
75 c = page_address(dest) + d_off; in async_sum_product()
143 d = page_address(dest) + d_off; in async_mult()
144 s = page_address(src) + s_off; in async_mult()
419 ptrs[i] = page_address(blocks[i]) + offs[i]; in async_raid6_2data_recov()
502 ptrs[i] = page_address(blocks[i]) + offs[i]; in async_raid6_datap_recov()
H A Dasync_pq.c124 srcs[i] = page_address(blocks[i]) + offsets[i]; in do_sync_gen_syndrome()
406 p = page_address(p_src) + p_off; in async_syndrome_val()
407 s = page_address(spare) + s_off; in async_syndrome_val()
419 q = page_address(q_src) + q_off; in async_syndrome_val()
420 s = page_address(spare) + s_off; in async_syndrome_val()
H A Dasync_xor.c118 srcs[xor_src_cnt++] = page_address(src_list[i]) + in do_sync_xor_offs()
122 dest_buf = page_address(dest) + offset; in do_sync_xor_offs()
283 return !memchr_inv(page_address(p) + offset, 0, len); in page_is_zero()
/linux/include/linux/
H A Dhighmem-internal.h46 addr = page_address(page); in kmap()
165 return page_address(page); in kmap()
174 kunmap_flush_on_unmap(page_address(page)); in kunmap()
180 return page_address(page); in kmap_local_page()
185 return page_address(&folio->page) + offset; in kmap_local_folio()
212 return page_address(page); in kmap_atomic()
/linux/mm/kmsan/
H A Dshadow.c28 return page_address(shadow_page_for(page)); in shadow_ptr_for()
33 return page_address(origin_page_for(page)); in origin_ptr_for()
158 kmsan_internal_unpoison_memory(page_address(dst), PAGE_SIZE, in kmsan_copy_page_meta()
184 __memset(page_address(shadow), 0, PAGE_SIZE * pages); in kmsan_alloc_page()
185 __memset(page_address(origin), 0, PAGE_SIZE * pages); in kmsan_alloc_page()
193 __memset(page_address(shadow), -1, PAGE_SIZE * pages); in kmsan_alloc_page()
202 ((depot_stack_handle_t *)page_address(origin))[i] = handle; in kmsan_alloc_page()
210 kmsan_internal_poison_memory(page_address(page), in kmsan_free_page()
/linux/security/selinux/
H A Dstatus.c52 status = page_address(selinux_state.status_page); in selinux_kernel_status_page()
85 status = page_address(selinux_state.status_page); in selinux_status_update_setenforce()
110 status = page_address(selinux_state.status_page); in selinux_status_update_policyload()
/linux/net/ceph/
H 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()
/linux/arch/x86/kernel/
H 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()
H A Despfix_64.c167 pmd_p = (pmd_t *)page_address(page); in init_espfix_ap()
179 pte_p = (pte_t *)page_address(page); in init_espfix_ap()
187 stack_page = page_address(alloc_pages_node(node, GFP_KERNEL, 0)); in init_espfix_ap()
H A Dirq_32.c127 per_cpu(pcpu_hot.hardirq_stack_ptr, cpu) = page_address(ph); in irq_init_percpu_irqstack()
128 per_cpu(pcpu_hot.softirq_stack_ptr, cpu) = page_address(ps); in irq_init_percpu_irqstack()
H A Dmachine_kexec_64.c160 paddr = __pa(page_address(image->control_code_page)+PAGE_SIZE); in init_transition_pgtable()
212 p = page_address(page); in alloc_pgt_page()
360 control_page = page_address(image->control_code_page) + PAGE_SIZE; in machine_kexec()
366 (unsigned long)__pa(page_address(image->control_code_page)); in machine_kexec()
/linux/mm/
H A Dhighmem.c282 if (page_address(page)) in map_new_virtual()
283 return (unsigned long)page_address(page); in map_new_virtual()
316 vaddr = (unsigned long)page_address(page); in kmap_high()
342 vaddr = (unsigned long)page_address(page); in kmap_high_get()
369 vaddr = (unsigned long)page_address(page); in kunmap_high()
585 return page_address(page); in __kmap_local_page_prot()
753 void *page_address(const struct page *page) in page_address() function
779 EXPORT_SYMBOL(page_address);
/linux/mm/kasan/
H A Dcommon.c130 kasan_unpoison(set_tag(page_address(page), tag), in __kasan_unpoison_pages()
141 kasan_poison(page_address(page), PAGE_SIZE << order, in __kasan_poison_pages()
152 kasan_poison(page_address(page), page_size(page), in __kasan_poison_slab()
288 if (ptr != page_address(virt_to_head_page(ptr))) { in check_page_allocation()
482 ptr = page_address(page); in __kasan_mempool_poison_pages()
/linux/kernel/power/
H A Dsnapshot.c61 static inline int __must_check hibernate_restore_protect_page(void *page_address) in hibernate_restore_protect_page() argument
64 return set_memory_ro((unsigned long)page_address, 1); in hibernate_restore_protect_page()
68 static inline int hibernate_restore_unprotect_page(void *page_address) in hibernate_restore_unprotect_page() argument
71 return set_memory_rw((unsigned long)page_address, 1); in hibernate_restore_unprotect_page()
77 static inline int __must_check hibernate_restore_protect_page(void *page_address) {return 0; } in hibernate_restore_protect_page() argument
78 static inline int hibernate_restore_unprotect_page(void *page_address) {return 0; } in hibernate_restore_unprotect_page() argument
103 unsigned long addr = (unsigned long)page_address(page); in hibernate_unmap_page()
239 static void recycle_safe_page(void *page_address) in recycle_safe_page() argument
241 struct linked_page *lp = page_address; in recycle_safe_page()
1462 zeros_only = do_copy_page(dst, page_address(s_page)); in safe_copy_page()
[all …]
/linux/drivers/iommu/
H A Diommu-pages.h101 return page_address(page); in iommu_alloc_pages_node()
118 return page_address(page); in iommu_alloc_pages()
/linux/arch/arm/mm/
H A Dcopypage-v6.c80 discard_old_kernel_data(page_address(to)); in v6_copy_user_highpage_aliasing()
109 discard_old_kernel_data(page_address(page)); in v6_clear_user_highpage_aliasing()
/linux/arch/powerpc/mm/
H A Ddma-noncoherent.c102 unsigned long start = (unsigned long)page_address(page) + offset; in __dma_sync_page()
121 unsigned long kaddr = (unsigned long)page_address(page); in arch_dma_prep_coherent()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx.c149 page_info->page_address = page_address(page); in gve_setup_rx_buffer()
224 rx->qpl_copy_pool[j].page_address = page_address(page); in gve_rx_prefill_pages()
538 void *src = page_info->page_address + page_info->page_offset; in gve_rx_copy_to_pool()
572 alloc_page_info.page_address = page_address(page); in gve_rx_copy_to_pool()
575 memcpy(alloc_page_info.page_address, src, page_info->pad + len); in gve_rx_copy_to_pool()
588 dst = copy_page_info->page_address + copy_page_info->page_offset; in gve_rx_copy_to_pool()
837 va = page_info->page_address + page_info->page_offset; in gve_rx()
859 xdp_prepare_buff(&xdp, page_info->page_address + in gve_rx()
/linux/arch/riscv/kernel/
H A Dmachine_kexec.c63 control_code_buffer = page_address(image->control_code_page); in machine_kexec_prepare()
180 void *control_code_buffer = page_address(image->control_code_page); in machine_kexec()
/linux/kernel/
H A Dkexec_core.c283 arch_kexec_post_alloc_pages(page_address(pages), count, in kimage_alloc_pages()
301 arch_kexec_pre_free_pages(page_address(page), count); in kimage_free_pages()
446 arch_kexec_post_alloc_pages(page_address(pages), 1 << order, 0); in kimage_alloc_crash_control_pages()
485 ind_page = page_address(page); in kimage_add_entry()
811 arch_kexec_post_alloc_pages(page_address(page), 1, 0); in kimage_load_crash_segment()
836 arch_kexec_pre_free_pages(page_address(page), 1); in kimage_load_crash_segment()
/linux/arch/um/kernel/skas/
H A Duaccess.c78 addr = (unsigned long) page_address(page) + in do_op_one_page()
269 addr = (unsigned long) page_address(page) + in arch_futex_atomic_op_inuser()
348 uaddr = page_address(page) + (((unsigned long) uaddr) & ~PAGE_MASK); in futex_atomic_cmpxchg_inatomic()
/linux/arch/m68k/include/asm/
H A Dcacheflush_mm.h258 #define flush_dcache_page(page) __flush_pages_to_ram(page_address(page), 1)
264 __flush_pages_to_ram(page_address(page), nr)
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c5640 u32 page_address; in mpi3mr_cfg_get_dev_pg0() local
5650 cfg_req.page_address = 0; in mpi3mr_cfg_get_dev_pg0()
5663 page_address = ((form & MPI3_DEVICE_PGAD_FORM_MASK) | in mpi3mr_cfg_get_dev_pg0()
5665 cfg_req.page_address = cpu_to_le32(page_address); in mpi3mr_cfg_get_dev_pg0()
5700 u32 page_address; in mpi3mr_cfg_get_sas_phy_pg0() local
5710 cfg_req.page_address = 0; in mpi3mr_cfg_get_sas_phy_pg0()
5723 page_address = ((form & MPI3_SAS_PHY_PGAD_FORM_MASK) | in mpi3mr_cfg_get_sas_phy_pg0()
5725 cfg_req.page_address = cpu_to_le32(page_address); in mpi3mr_cfg_get_sas_phy_pg0()
5759 u32 page_address; in mpi3mr_cfg_get_sas_phy_pg1() local
5769 cfg_req.page_address = 0; in mpi3mr_cfg_get_sas_phy_pg1()
[all …]
/linux/fs/isofs/
H A Dnamei.c167 page_address(page), in isofs_lookup()
168 1024 + page_address(page)); in isofs_lookup()

12345678910>>...16