/linux-6.1.9/lib/ |
D | buildid.c | 51 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-6.1.9/fs/ext2/ |
D | dir.c | 200 int quiet, void **page_addr) in ext2_get_page() argument 207 *page_addr = kmap_local_folio(folio, n & (folio_nr_pages(folio) - 1)); in ext2_get_page() 209 if (!ext2_check_page(&folio->page, quiet, *page_addr)) in ext2_get_page() 215 ext2_put_page(&folio->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 …]
|
D | namei.c | 277 void *page_addr; in ext2_unlink() local 284 de = ext2_find_entry(dir, &dentry->d_name, &page, &page_addr); in ext2_unlink() 290 err = ext2_delete_entry (de, page, page_addr); in ext2_unlink() 291 ext2_put_page(page, page_addr); in ext2_unlink() 359 void *page_addr; in ext2_rename() local 368 &new_page, &page_addr); in ext2_rename() 373 ext2_set_link(new_dir, new_de, new_page, page_addr, old_inode, 1); in ext2_rename() 374 ext2_put_page(new_page, page_addr); in ext2_rename()
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_mksstat.h | 56 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-6.1.9/drivers/mtd/nand/raw/ |
D | nand_legacy.c | 251 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 …]
|
D | sh_flctl.c | 223 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 …]
|
D | fsl_elbc_nand.c | 151 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 …]
|
D | hisi504_nand.c | 389 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()
|
D | mxc_nand.c | 291 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 …]
|
D | cafe_nand.c | 70 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()
|
D | fsl_ifc_nand.c | 138 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-6.1.9/arch/ia64/include/asm/ |
D | kexec.h | 20 unsigned long page_addr = (unsigned long)page_address(page); \ 21 flush_icache_range(page_addr, page_addr + PAGE_SIZE); \
|
/linux-6.1.9/drivers/android/ |
D | binder_alloc.c | 184 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 …]
|
D | binder_alloc_selftest.c | 96 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-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_db.c | 13 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-6.1.9/drivers/staging/rts5208/ |
D | xd.c | 138 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-6.1.9/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp_ctxt.h | 135 #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-6.1.9/drivers/target/tcm_fc/ |
D | tfc_io.c | 60 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-6.1.9/drivers/iommu/ |
D | s390-iommu.c | 210 phys_addr_t page_addr = pa & PAGE_MASK; in s390_iommu_update_trans() local 231 dma_update_cpu_trans(entry, page_addr, flags); in s390_iommu_update_trans() 232 page_addr += PAGE_SIZE; in s390_iommu_update_trans() 249 page_addr -= PAGE_SIZE; in s390_iommu_update_trans() 255 dma_update_cpu_trans(entry, page_addr, flags); in s390_iommu_update_trans()
|
/linux-6.1.9/drivers/scsi/libfc/ |
D | fc_libfc.c | 109 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-6.1.9/arch/arm64/include/asm/ |
D | mte.h | 27 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-6.1.9/arch/s390/pci/ |
D | pci_dma.c | 120 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-6.1.9/drivers/mtd/nand/raw/bcm47xxnflash/ |
D | ops_bcm4706.c | 211 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-6.1.9/drivers/mtd/maps/ |
D | pci.c | 126 unsigned long page_addr = ofs & 0x00400000; in intel_iq80310_translate() local 132 if (page_addr) { in intel_iq80310_translate()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_int_process_v11.c | 301 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()
|