/openbmc/linux/mm/ |
H A D | percpu-vm.c | 61 for (i = page_start; i < page_end; i++) { in pcpu_free_pages() 92 for (i = page_start; i < page_end; i++) { in pcpu_alloc_pages() 103 while (--i >= page_start) in pcpu_alloc_pages() 109 for (i = page_start; i < page_end; i++) in pcpu_alloc_pages() 128 int page_start, int page_end) in pcpu_pre_unmap_flush() argument 168 page_end - page_start); in pcpu_unmap_pages() 186 int page_start, int page_end) in pcpu_post_unmap_tlb_flush() argument 223 page_end - page_start); in pcpu_map_pages() 237 page_end - page_start); in pcpu_map_pages() 256 int page_start, int page_end) in pcpu_post_map_flush() argument [all …]
|
H A D | percpu-km.c | 36 int page_start, int page_end) in pcpu_post_unmap_tlb_flush() argument 42 int page_start, int page_end, gfp_t gfp) in pcpu_populate_chunk() argument 48 int page_start, int page_end) in pcpu_depopulate_chunk() argument
|
H A D | percpu.c | 1520 static void pcpu_chunk_populated(struct pcpu_chunk *chunk, int page_start, in pcpu_chunk_populated() argument 1523 int nr = page_end - page_start; in pcpu_chunk_populated() 1527 bitmap_set(chunk->populated, page_start, nr); in pcpu_chunk_populated() 1545 int page_start, int page_end) in pcpu_chunk_depopulated() argument 1547 int nr = page_end - page_start; in pcpu_chunk_depopulated() 1551 bitmap_clear(chunk->populated, page_start, nr); in pcpu_chunk_depopulated() 1575 int page_start, int page_end, gfp_t gfp); 1577 int page_start, int page_end); 1579 int page_start, int page_end);
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fb_sh1106.c | 115 int page, page_start, page_end, x, i, ret; in write_vmem() local 119 page_start = offset / (8 * 2 * xres); in write_vmem() 122 for (page = page_start; page < page_end; page++) { in write_vmem()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | ssd1307fb.c | 88 u8 page_start; member 186 static int ssd1307fb_set_page_range(struct ssd1307fb_par *par, u8 page_start, in ssd1307fb_set_page_range() argument 189 u8 page_end = page_start + pages - 1; in ssd1307fb_set_page_range() 192 if (page_start == par->page_start && page_end == par->page_end) in ssd1307fb_set_page_range() 199 ret = ssd1307fb_write_cmd(par->client, page_start); in ssd1307fb_set_page_range() 207 par->page_start = page_start; in ssd1307fb_set_page_range()
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_driver.c | 472 entry->page_start = pdt_address & RMI4_PAGE_MASK; in rmi_read_pdt_entry() 487 fd->query_base_addr = pdt->query_base_addr + pdt->page_start; in rmi_driver_copy_pdt_to_fd() 488 fd->command_base_addr = pdt->command_base_addr + pdt->page_start; in rmi_driver_copy_pdt_to_fd() 489 fd->control_base_addr = pdt->control_base_addr + pdt->page_start; in rmi_driver_copy_pdt_to_fd() 490 fd->data_base_addr = pdt->data_base_addr + pdt->page_start; in rmi_driver_copy_pdt_to_fd() 509 u16 page_start = RMI4_PAGE_SIZE * page; in rmi_scan_pdt_page() local 510 u16 pdt_start = page_start + PDT_START_SCAN_LOCATION; in rmi_scan_pdt_page() 511 u16 pdt_end = page_start + PDT_END_SCAN_LOCATION; in rmi_scan_pdt_page() 797 u16 cmd_addr = pdt->page_start + pdt->command_base_addr; in rmi_initial_reset() 825 return pdt->page_start == 0 ? RMI_SCAN_CONTINUE : -ENODEV; in rmi_initial_reset()
|
H A D | rmi_driver.h | 39 u16 page_start; member
|
/openbmc/linux/arch/riscv/mm/ |
H A D | pageattr.c | 289 int i, page_start; in __set_memory() local 292 page_start = (start - (unsigned long)area->addr) >> PAGE_SHIFT; in __set_memory() 294 for (i = page_start; i < page_start + numpages; ++i) { in __set_memory()
|
/openbmc/linux/drivers/gpu/drm/solomon/ |
H A D | ssd130x.c | 220 u8 page_start, u8 pages) in ssd130x_set_page_range() argument 222 u8 page_end = page_start + pages - 1; in ssd130x_set_page_range() 225 if (page_start == ssd130x->page_start && page_end == ssd130x->page_end) in ssd130x_set_page_range() 228 ret = ssd130x_write_cmd(ssd130x, 3, SSD130X_SET_PAGE_RANGE, page_start, page_end); in ssd130x_set_page_range() 232 ssd130x->page_start = page_start; in ssd130x_set_page_range() 239 u8 page_start, u8 col_start) in ssd130x_set_page_pos() argument 245 SSD130X_START_PAGE_ADDRESS_SET(page_start); in ssd130x_set_page_pos()
|
H A D | ssd130x.h | 90 u8 page_start; member
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_metapage.c | 350 sector_t page_start; in metapage_writepage() local 356 page_start = (sector_t)page->index << in metapage_writepage() 382 lblock = page_start + block_offset; in metapage_writepage() 477 sector_t page_start; /* address of page in fs blocks */ in metapage_read_folio() local 484 page_start = (sector_t)page->index << in metapage_read_folio() 490 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_read_folio()
|
/openbmc/qemu/target/loongarch/ |
H A D | translate.h | 42 target_ulong page_start; member
|
/openbmc/linux/fs/btrfs/ |
H A D | inode.c | 416 u64 page_start = 0, page_end = 0; in btrfs_cleanup_ordered_extents() local 1089 page_start, PAGE_SIZE, in submit_uncompressed_range() 2694 u64 page_start = page_offset(page); in btrfs_writepage_fixup_worker() local 2734 page_start, PAGE_SIZE, in btrfs_writepage_fixup_worker() 8013 cur = page_start; in btrfs_invalidate_folio() 8162 u64 page_start; in btrfs_page_mkwrite() local 8169 page_start = page_offset(page); in btrfs_page_mkwrite() 8201 (page_start >= size)) { in btrfs_page_mkwrite() 8236 data_reserved, page_start, in btrfs_page_mkwrite() 8270 btrfs_page_set_dirty(fs_info, page, page_start, end + 1 - page_start); in btrfs_page_mkwrite() [all …]
|
H A D | defrag.c | 724 u64 page_start = (u64)index << PAGE_SHIFT; in defrag_prepare_one_page() local 725 u64 page_end = page_start + PAGE_SIZE - 1; in defrag_prepare_one_page() 760 lock_extent(&inode->io_tree, page_start, page_end, &cached_state); in defrag_prepare_one_page() 761 ordered = btrfs_lookup_ordered_range(inode, page_start, PAGE_SIZE); in defrag_prepare_one_page() 762 unlock_extent(&inode->io_tree, page_start, page_end, in defrag_prepare_one_page()
|
H A D | extent_io.c | 1165 const u64 page_start = page_offset(page); in writepage_delalloc() local 1166 const u64 page_end = page_start + PAGE_SIZE - 1; in writepage_delalloc() 1167 u64 delalloc_start = page_start; in writepage_delalloc() 1405 const u64 page_start = page_offset(page); in __extent_writepage() local 1720 u64 page_start = page_offset(page); in submit_eb_subpage() local 1749 start = page_start + bit_start * fs_info->sectorsize; in submit_eb_subpage() 4687 u64 page_start = page_offset(page); in get_next_extent_buffer() local 4688 u64 cur = page_start; in get_next_extent_buffer() 4690 ASSERT(in_range(bytenr, page_start, PAGE_SIZE)); in get_next_extent_buffer() 4693 while (cur < page_start + PAGE_SIZE) { in get_next_extent_buffer() [all …]
|
H A D | relocation.c | 2928 u64 page_start; in relocate_one_page() local 2966 page_start = page_offset(page); in relocate_one_page() 2967 page_end = page_start + PAGE_SIZE - 1; in relocate_one_page() 2973 cur = max(page_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_page() 2979 u64 clamped_start = max(page_start, extent_start); in relocate_one_page() 3016 page_start, PAGE_SIZE)) { in relocate_one_page()
|
/openbmc/linux/fs/pstore/ |
H A D | ram_core.c | 407 phys_addr_t page_start; in persistent_ram_vmap() local 413 page_start = start - offset_in_page(start); in persistent_ram_vmap() 439 phys_addr_t addr = page_start + i * PAGE_SIZE; in persistent_ram_vmap()
|
/openbmc/qemu/accel/tcg/ |
H A D | tb-maint.c | 1181 tb_page_addr_t page_start, page_last; in tb_invalidate_phys_range() local 1187 page_start = index << TARGET_PAGE_BITS; in tb_invalidate_phys_range() 1188 page_last = page_start | ~TARGET_PAGE_MASK; in tb_invalidate_phys_range() 1191 page_start, page_last, 0); in tb_invalidate_phys_range()
|
/openbmc/qemu/target/hexagon/ |
H A D | translate.c | 1020 target_ulong page_start = ctx->base.pc_first & TARGET_PAGE_MASK; in pkt_crosses_page() local 1030 return found_end && next_ptr - page_start >= TARGET_PAGE_SIZE; in pkt_crosses_page() 1041 target_ulong page_start = ctx->base.pc_first & TARGET_PAGE_MASK; in hexagon_tr_translate_packet() local 1044 if (ctx->base.pc_next - page_start >= TARGET_PAGE_SIZE || in hexagon_tr_translate_packet() 1045 (ctx->base.pc_next - page_start >= TARGET_PAGE_SIZE - bytes_max && in hexagon_tr_translate_packet()
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-tmc-etr.c | 144 dma_addr_t page_start; in tmc_pages_get_offset() local 147 page_start = tmc_pages->daddrs[i]; in tmc_pages_get_offset() 148 if (addr >= page_start && addr < (page_start + PAGE_SIZE)) in tmc_pages_get_offset() 149 return i * PAGE_SIZE + (addr - page_start); in tmc_pages_get_offset()
|
/openbmc/linux/drivers/media/usb/b2c2/ |
H A D | flexcop-usb.c | 179 flexcop_usb_request_t req, flexcop_usb_mem_page_t page_start, in flexcop_usb_memory_req() argument 209 page_start + (addr / V8_MEMORY_PAGE_SIZE), in flexcop_usb_memory_req()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | translate.h | 22 target_ulong page_start; member
|
/openbmc/linux/drivers/accel/habanalabs/common/mmu/ |
H A D | mmu.c | 499 page_id, page_start; in hl_mmu_pa_page_with_offset() local 513 page_start = page_id * dram_page_size; in hl_mmu_pa_page_with_offset() 516 *phys_addr = page_start + page_off + dram_base; in hl_mmu_pa_page_with_offset()
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | translate.c | 123 ctx->page_start = ctx->base.pc_first & TARGET_PAGE_MASK; in loongarch_tr_init_disas_context()
|
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 1733 unsigned long page_start, page_end; in arm_smmu_atc_inv_to_cmd() local 1760 page_start = iova >> inval_grain_shift; in arm_smmu_atc_inv_to_cmd() 1783 log2_span = fls_long(page_start ^ page_end); in arm_smmu_atc_inv_to_cmd() 1786 page_start &= ~span_mask; in arm_smmu_atc_inv_to_cmd() 1788 cmd->atc.addr = page_start << inval_grain_shift; in arm_smmu_atc_inv_to_cmd()
|