Home
last modified time | relevance | path

Searched refs:page_addr (Results 1 – 25 of 50) sorted by relevance

12

/linux/lib/
A Dbuildid.c62 if (note_start + note_size > page_addr + PAGE_SIZE) in parse_build_id()
72 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)page_addr; in get_build_id_32()
85 !parse_build_id(page_addr, build_id, size, in get_build_id_32()
86 page_addr + phdr[i].p_offset, in get_build_id_32()
97 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in get_build_id_64()
110 !parse_build_id(page_addr, build_id, size, in get_build_id_64()
111 page_addr + phdr[i].p_offset, in get_build_id_64()
131 void *page_addr; in build_id_parse() local
143 page_addr = kmap_atomic(page); in build_id_parse()
144 ehdr = (Elf32_Ehdr *)page_addr; in build_id_parse()
[all …]
/linux/fs/ext2/
A Ddir.c208 *page_addr)) in ext2_get_page()
360 void *page_addr; in ext2_find_entry() local
379 kaddr = page_addr; in ext2_find_entry()
411 *res_page_addr = page_addr; in ext2_find_entry()
431 void *page_addr; in ext2_dotdot() local
438 *pa = page_addr; in ext2_dotdot()
447 void *page_addr; in ext2_inode_by_name() local
496 void *page_addr = NULL; in ext2_add_link() local
517 kaddr = page_addr; in ext2_add_link()
672 void *page_addr = NULL; in ext2_empty_dir() local
[all …]
A Dnamei.c283 void *page_addr; in ext2_unlink() local
290 de = ext2_find_entry(dir, &dentry->d_name, &page, &page_addr); in ext2_unlink()
296 err = ext2_delete_entry (de, page, page_addr); in ext2_unlink()
297 ext2_put_page(page, page_addr); in ext2_unlink()
365 void *page_addr; in ext2_rename() local
374 &new_page, &page_addr); in ext2_rename()
379 ext2_set_link(new_dir, new_de, new_page, page_addr, old_inode, 1); in ext2_rename()
380 ext2_put_page(new_page, page_addr); in ext2_rename()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_mksstat.h56 static inline void *vmw_mksstat_get_kern_pstat(void *page_addr) in vmw_mksstat_get_kern_pstat() argument
58 return page_addr + PAGE_SIZE * 1; in vmw_mksstat_get_kern_pstat()
69 static inline void *vmw_mksstat_get_kern_pinfo(void *page_addr) in vmw_mksstat_get_kern_pinfo() argument
71 return page_addr + PAGE_SIZE * 2; in vmw_mksstat_get_kern_pinfo()
82 static inline void *vmw_mksstat_get_kern_pstrs(void *page_addr) in vmw_mksstat_get_kern_pstrs() argument
84 return page_addr + PAGE_SIZE * 3; in vmw_mksstat_get_kern_pstrs()
/linux/drivers/mtd/nand/raw/
A Dnand_legacy.c251 int column, int page_addr) in nand_command() argument
288 if (page_addr != -1) { in nand_command()
289 chip->legacy.cmd_ctrl(chip, page_addr, ctrl); in nand_command()
334 if (column == -1 && page_addr == -1) in nand_command()
390 int column, int page_addr) in nand_command_lp() argument
405 if (column != -1 || page_addr != -1) { in nand_command_lp()
421 if (page_addr != -1) { in nand_command_lp()
422 chip->legacy.cmd_ctrl(chip, page_addr, ctrl); in nand_command_lp()
423 chip->legacy.cmd_ctrl(chip, page_addr >> 8, in nand_command_lp()
426 chip->legacy.cmd_ctrl(chip, page_addr >> 16, in nand_command_lp()
[all …]
A Dsh_flctl.c229 addr = page_addr; /* ERASE1 */ in set_addr()
230 } else if (page_addr != -1) { in set_addr()
236 addr |= (page_addr & 0xff) << 16; in set_addr()
241 addr2 = (page_addr >> 16) & 0xff; in set_addr()
246 addr |= (page_addr & 0xff) << 8; in set_addr()
655 page_addr); in execmd_read_page_sector()
739 int column, int page_addr) in flctl_cmdfunc() argument
765 set_addr(mtd, 0, page_addr); in flctl_cmdfunc()
776 execmd_read_oob(mtd, page_addr); in flctl_cmdfunc()
786 set_addr(mtd, 0, page_addr); in flctl_cmdfunc()
[all …]
A Dfsl_elbc_nand.c160 elbc_fcm_ctrl->page = page_addr; in set_addr()
167 out_be32(&lbc->fbar, page_addr >> 6); in set_addr()
171 buf_num = (page_addr & 1) << 2; in set_addr()
177 out_be32(&lbc->fbar, page_addr >> 5); in set_addr()
181 buf_num = page_addr & 7; in set_addr()
334 set_addr(mtd, 0, page_addr, 0); in fsl_elbc_cmdfunc()
356 " 0x%x, column: 0x%x.\n", page_addr, column); in fsl_elbc_cmdfunc()
359 set_addr(mtd, column, page_addr, 1); in fsl_elbc_cmdfunc()
391 "page_addr: 0x%x.\n", page_addr); in fsl_elbc_cmdfunc()
392 set_addr(mtd, 0, page_addr, 0); in fsl_elbc_cmdfunc()
[all …]
A Dhisi504_nand.c389 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr() argument
409 if (page_addr != -1) { in set_addr()
410 host->addr_value[0] |= (page_addr & 0xffff) in set_addr()
416 host->addr_value[0] |= ((page_addr >> 16) & 0xff) << 16; in set_addr()
418 host->addr_value[1] |= ((page_addr >> 16) & 0xff); in set_addr()
424 int column, int page_addr) in hisi_nfc_cmdfunc() argument
442 set_addr(mtd, column, page_addr); in hisi_nfc_cmdfunc()
448 set_addr(mtd, column, page_addr); in hisi_nfc_cmdfunc()
452 set_addr(mtd, column, page_addr); in hisi_nfc_cmdfunc()
488 command, column, page_addr); in hisi_nfc_cmdfunc()
A Dmxc_nand.c299 page_addr == -1); in mxc_do_addr_cycle()
308 if (page_addr != -1) { in mxc_do_addr_cycle()
316 (page_addr >> 8) & 0xff, in mxc_do_addr_cycle()
319 (page_addr >> 16) & 0xff, in mxc_do_addr_cycle()
324 (page_addr >> 8) & 0xff, true); in mxc_do_addr_cycle()
329 (page_addr >> 8) & 0xff, in mxc_do_addr_cycle()
332 (page_addr >> 16) & 0xff, in mxc_do_addr_cycle()
337 (page_addr >> 8) & 0xff, true); in mxc_do_addr_cycle()
1335 int column, int page_addr) in mxc_nand_command() argument
1341 command, column, page_addr); in mxc_nand_command()
[all …]
A Dcafe_nand.c70 int page_addr; member
161 int column, int page_addr) in cafe_nand_cmdfunc() argument
170 command, column, page_addr); in cafe_nand_cmdfunc()
197 if (page_addr != -1) in cafe_nand_cmdfunc()
199 } else if (page_addr != -1) { in cafe_nand_cmdfunc()
200 cafe_writel(cafe, page_addr & 0xffff, NAND_ADDR1); in cafe_nand_cmdfunc()
201 page_addr >>= 16; in cafe_nand_cmdfunc()
203 cafe_writel(cafe, page_addr, NAND_ADDR2); in cafe_nand_cmdfunc()
A Dfsl_ifc_nand.c138 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() argument
146 ifc_nand_ctrl->page = page_addr; in set_addr()
148 ifc_out32(page_addr, &ifc->ifc_nand.row0); in set_addr()
151 buf_num = page_addr & priv->bufnum_mask; in set_addr()
291 int column, int page_addr) { in fsl_ifc_cmdfunc() argument
306 set_addr(mtd, 0, page_addr, 0); in fsl_ifc_cmdfunc()
321 set_addr(mtd, column, page_addr, 1); in fsl_ifc_cmdfunc()
361 set_addr(mtd, 0, page_addr, 0); in fsl_ifc_cmdfunc()
440 set_addr(mtd, column, page_addr, ifc_nand_ctrl->oob); in fsl_ifc_cmdfunc()
/linux/drivers/android/
A Dbinder_alloc.c184 void __user *page_addr; in binder_update_page_range() local
203 for (page_addr = start; page_addr < end; page_addr += PAGE_SIZE) { in binder_update_page_range()
226 for (page_addr = start; page_addr < end; page_addr += PAGE_SIZE) { in binder_update_page_range()
253 alloc->pid, page_addr); in binder_update_page_range()
259 user_page_addr = (uintptr_t)page_addr; in binder_update_page_range()
279 for (page_addr = end - PAGE_SIZE; 1; page_addr -= PAGE_SIZE) { in binder_update_page_range()
292 if (page_addr == start) in binder_update_page_range()
301 if (page_addr == start) in binder_update_page_range()
851 void __user *page_addr; in binder_alloc_deferred_release() local
862 __func__, alloc->pid, i, page_addr, in binder_alloc_deferred_release()
[all …]
A Dbinder_alloc_selftest.c96 void __user *page_addr; in check_buffer_pages_allocated() local
101 page_addr = buffer->user_data; in check_buffer_pages_allocated()
102 for (; page_addr < end; page_addr += PAGE_SIZE) { in check_buffer_pages_allocated()
103 page_index = (page_addr - alloc->buffer) / PAGE_SIZE; in check_buffer_pages_allocated()
/linux/arch/ia64/include/asm/
A Dkexec.h20 unsigned long page_addr = (unsigned long)page_address(page); \
21 flush_icache_range(page_addr, page_addr + PAGE_SIZE); \
/linux/drivers/staging/rts5208/
A Dxd.c682 u32 page_addr; in reset_xd() local
687 page_addr = (u32)i << xd_card->block_shift; in reset_xd()
720 page_addr += j; in reset_xd()
997 u32 page_addr; in xd_mark_bad_block() local
1018 page_addr = phy_blk << xd_card->block_shift; in xd_mark_bad_block()
1049 u32 page_addr; in xd_init_page() local
1242 u32 page_addr; in xd_erase_block() local
1359 u32 page_addr = i << xd_card->block_shift; in xd_build_l2p_tbl() local
1408 page_addr = ((phy_block + 1) << in xd_build_l2p_tbl()
1504 u32 page_addr, new_blk; in xd_read_multiple_pages() local
[all …]
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_db.c14 unsigned long page_addr = virt & PAGE_MASK; in hns_roce_db_map_user() local
22 if (page->user_virt == page_addr) in hns_roce_db_map_user()
32 page->user_virt = page_addr; in hns_roce_db_map_user()
33 page->umem = ib_umem_get(context->ibucontext.device, page_addr, in hns_roce_db_map_user()
44 offset = virt - page_addr; in hns_roce_db_map_user()
/linux/drivers/target/tcm_fc/
A Dtfc_io.c60 void *page_addr; in ft_queue_data_in() local
142 page_addr = from; in ft_queue_data_in()
147 kunmap_atomic(page_addr); in ft_queue_data_in()
209 void *page_addr; in ft_recv_write_data() local
301 page_addr = to; in ft_recv_write_data()
306 kunmap_atomic(page_addr); in ft_recv_write_data()
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_qp_ctxt.h135 #define HINIC_WQ_PAGE_PFN(page_addr) ((page_addr) >> HINIC_WQ_PAGE_PFN_SHIFT) argument
136 #define HINIC_WQ_BLOCK_PFN(page_addr) ((page_addr) >> \ argument
/linux/drivers/iommu/
A Ds390-iommu.c212 u8 *page_addr = (u8 *) (pa & PAGE_MASK); in s390_iommu_update_trans() local
233 dma_update_cpu_trans(entry, page_addr, flags); in s390_iommu_update_trans()
234 page_addr += PAGE_SIZE; in s390_iommu_update_trans()
251 page_addr -= PAGE_SIZE; in s390_iommu_update_trans()
257 dma_update_cpu_trans(entry, page_addr, flags); in s390_iommu_update_trans()
/linux/drivers/scsi/libfc/
A Dfc_libfc.c109 void *page_addr; in fc_copy_buffer_to_sglist() local
132 page_addr = kmap_atomic(sg_page(sg) + (off >> PAGE_SHIFT)); in fc_copy_buffer_to_sglist()
135 memcpy((char *)page_addr + (off & ~PAGE_MASK), buf, sg_bytes); in fc_copy_buffer_to_sglist()
136 kunmap_atomic(page_addr); in fc_copy_buffer_to_sglist()
/linux/arch/s390/pci/
A Dpci_dma.c120 void dma_update_cpu_trans(unsigned long *entry, void *page_addr, int flags) in dma_update_cpu_trans() argument
125 set_pt_pfaa(entry, page_addr); in dma_update_cpu_trans()
139 u8 *page_addr = (u8 *) (pa & PAGE_MASK); in __dma_update_trans() local
159 dma_update_cpu_trans(entry, page_addr, flags); in __dma_update_trans()
160 page_addr += PAGE_SIZE; in __dma_update_trans()
168 page_addr -= PAGE_SIZE; in __dma_update_trans()
173 dma_update_cpu_trans(entry, page_addr, flags); in __dma_update_trans()
/linux/arch/arm64/include/asm/
A Dmte.h25 void mte_save_page_tags(const void *page_addr, void *tag_storage);
27 void mte_restore_page_tags(void *page_addr, const void *tag_storage);
/linux/drivers/mtd/nand/raw/bcm47xxnflash/
A Dops_bcm4706.c211 int page_addr) in bcm47xxnflash_ops_bcm4706_cmdfunc() argument
221 if (page_addr != -1) in bcm47xxnflash_ops_bcm4706_cmdfunc()
222 b47n->curr_page_addr = page_addr; in bcm47xxnflash_ops_bcm4706_cmdfunc()
267 if (page_addr != -1) in bcm47xxnflash_ops_bcm4706_cmdfunc()
/linux/drivers/s390/block/
A Ddcssblk.c870 unsigned long page_addr; in dcssblk_submit_bio() local
901 page_addr = (unsigned long)bvec_virt(&bvec); in dcssblk_submit_bio()
903 if (unlikely((page_addr & 4095) != 0) || (bvec.bv_len & 4095) != 0) in dcssblk_submit_bio()
907 memcpy((void*)page_addr, (void*)source_addr, in dcssblk_submit_bio()
910 memcpy((void*)source_addr, (void*)page_addr, in dcssblk_submit_bio()
/linux/drivers/hv/
A Dchannel_mgmt.c799 void *page_addr; in vmbus_wait_for_unload() local
829 page_addr = hv_cpu->synic_message_page; in vmbus_wait_for_unload()
830 msg = (struct hv_message *)page_addr in vmbus_wait_for_unload()
867 page_addr = hv_cpu->synic_message_page; in vmbus_wait_for_unload()
868 msg = (struct hv_message *)page_addr + VMBUS_MESSAGE_SINT; in vmbus_wait_for_unload()

Completed in 65 milliseconds

12