Home
last modified time | relevance | path

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

123

/linux-5.19.10/lib/
Dbuildid.c51 static inline int parse_build_id(const void *page_addr, in parse_build_id() argument
58 if (note_start < page_addr || note_start + note_size < note_start) in parse_build_id()
62 if (note_start + note_size > page_addr + PAGE_SIZE) in parse_build_id()
69 static int get_build_id_32(const void *page_addr, unsigned char *build_id, in get_build_id_32() argument
72 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)page_addr; in get_build_id_32()
81 phdr = (Elf32_Phdr *)(page_addr + sizeof(Elf32_Ehdr)); 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()
94 static int get_build_id_64(const void *page_addr, unsigned char *build_id, in get_build_id_64() argument
97 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in get_build_id_64()
[all …]
/linux-5.19.10/fs/ext2/
Ddir.c200 int quiet, void **page_addr) in ext2_get_page() argument
205 *page_addr = kmap_local_page(page); in ext2_get_page()
208 *page_addr)) in ext2_get_page()
215 ext2_put_page(page, *page_addr); in ext2_get_page()
360 void *page_addr; in ext2_find_entry() local
375 page = ext2_get_page(dir, n, 0, &page_addr); in ext2_find_entry()
379 kaddr = page_addr; in ext2_find_entry()
386 ext2_put_page(page, page_addr); in ext2_find_entry()
393 ext2_put_page(page, page_addr); in ext2_find_entry()
411 *res_page_addr = page_addr; in ext2_find_entry()
[all …]
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-5.19.10/drivers/gpu/drm/vmwgfx/
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-5.19.10/drivers/mtd/nand/raw/
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()
291 chip->legacy.cmd_ctrl(chip, page_addr >> 8, ctrl); in nand_command()
293 chip->legacy.cmd_ctrl(chip, page_addr >> 16, 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()
[all …]
Dsh_flctl.c223 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr() argument
229 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()
237 addr |= ((page_addr >> 8) & 0xff) << 24; in set_addr()
241 addr2 = (page_addr >> 16) & 0xff; in set_addr()
246 addr |= (page_addr & 0xff) << 8; in set_addr()
247 addr |= ((page_addr >> 8) & 0xff) << 16; in set_addr()
248 addr |= ((page_addr >> 16) & 0xff) << 24; in set_addr()
622 static void execmd_read_page_sector(struct mtd_info *mtd, int page_addr) in execmd_read_page_sector() argument
[all …]
Dfsl_elbc_nand.c151 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() argument
160 elbc_fcm_ctrl->page = page_addr; in set_addr()
167 out_be32(&lbc->fbar, page_addr >> 6); in set_addr()
169 ((page_addr << FPAR_LP_PI_SHIFT) & FPAR_LP_PI) | in set_addr()
171 buf_num = (page_addr & 1) << 2; in set_addr()
177 out_be32(&lbc->fbar, page_addr >> 5); in set_addr()
179 ((page_addr << FPAR_SP_PI_SHIFT) & FPAR_SP_PI) | in set_addr()
181 buf_num = page_addr & 7; in set_addr()
307 int column, int page_addr) in fsl_elbc_cmdfunc() argument
330 " 0x%x, column: 0x%x.\n", page_addr, column); in fsl_elbc_cmdfunc()
[all …]
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()
Dmxc_nand.c291 static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr) in mxc_do_addr_cycle() argument
299 page_addr == -1); in mxc_do_addr_cycle()
308 if (page_addr != -1) { in mxc_do_addr_cycle()
310 host->devtype_data->send_addr(host, (page_addr & 0xff), false); 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()
[all …]
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()
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-5.19.10/arch/ia64/include/asm/
Dkexec.h20 unsigned long page_addr = (unsigned long)page_address(page); \
21 flush_icache_range(page_addr, page_addr + PAGE_SIZE); \
/linux-5.19.10/drivers/android/
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()
204 page = &alloc->pages[(page_addr - alloc->buffer) / PAGE_SIZE]; in binder_update_page_range()
226 for (page_addr = start; page_addr < end; page_addr += PAGE_SIZE) { in binder_update_page_range()
231 index = (page_addr - alloc->buffer) / 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()
283 index = (page_addr - alloc->buffer) / PAGE_SIZE; in binder_update_page_range()
292 if (page_addr == start) in binder_update_page_range()
[all …]
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-5.19.10/drivers/infiniband/hw/hns/
Dhns_roce_db.c13 unsigned long page_addr = virt & PAGE_MASK; in hns_roce_db_map_user() local
21 if (page->user_virt == page_addr) in hns_roce_db_map_user()
31 page->user_virt = page_addr; in hns_roce_db_map_user()
32 page->umem = ib_umem_get(context->ibucontext.device, page_addr, in hns_roce_db_map_user()
43 offset = virt - page_addr; in hns_roce_db_map_user()
/linux-5.19.10/drivers/staging/rts5208/
Dxd.c138 static int xd_read_redundant(struct rtsx_chip *chip, u32 page_addr, in xd_read_redundant() argument
145 xd_assign_phy_addr(chip, page_addr, XD_RW_ADDR); in xd_read_redundant()
200 static int xd_read_cis(struct rtsx_chip *chip, u32 page_addr, u8 *buf, in xd_read_cis() argument
211 xd_assign_phy_addr(chip, page_addr, XD_RW_ADDR); in xd_read_cis()
682 u32 page_addr; in reset_xd() local
687 page_addr = (u32)i << xd_card->block_shift; in reset_xd()
690 retval = xd_read_redundant(chip, page_addr, redunt, 11); in reset_xd()
703 retval = xd_read_redundant(chip, page_addr + j, in reset_xd()
720 page_addr += j; in reset_xd()
722 retval = xd_read_cis(chip, page_addr, buf, 10); in reset_xd()
[all …]
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
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-5.19.10/drivers/target/tcm_fc/
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-5.19.10/drivers/scsi/libfc/
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-5.19.10/drivers/iommu/
Ds390-iommu.c221 phys_addr_t page_addr = pa & PAGE_MASK; in s390_iommu_update_trans() local
242 dma_update_cpu_trans(entry, page_addr, flags); in s390_iommu_update_trans()
243 page_addr += PAGE_SIZE; in s390_iommu_update_trans()
260 page_addr -= PAGE_SIZE; in s390_iommu_update_trans()
266 dma_update_cpu_trans(entry, page_addr, flags); in s390_iommu_update_trans()
/linux-5.19.10/arch/arm64/include/asm/
Dmte.h27 void mte_save_page_tags(const void *page_addr, void *tag_storage);
29 void mte_restore_page_tags(void *page_addr, const void *tag_storage);
/linux-5.19.10/arch/s390/pci/
Dpci_dma.c120 void dma_update_cpu_trans(unsigned long *entry, phys_addr_t page_addr, int flags) in dma_update_cpu_trans() argument
125 set_pt_pfaa(entry, page_addr); in dma_update_cpu_trans()
139 phys_addr_t page_addr = (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-5.19.10/drivers/mtd/nand/raw/bcm47xxnflash/
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-5.19.10/drivers/mtd/maps/
Dpci.c126 unsigned long page_addr = ofs & 0x00400000; in intel_iq80310_translate() local
132 if (page_addr) { in intel_iq80310_translate()
/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_int_process_v11.c301 info.page_addr = ih_ring_entry[4] | in event_interrupt_wq_v11()
309 exception_data.va = (info.page_addr) << PAGE_SHIFT; in event_interrupt_wq_v11()

123