Home
last modified time | relevance | path

Searched refs:page_start (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/mm/
Dpercpu-vm.c55 struct page **pages, int page_start, int page_end) in pcpu_free_pages() argument
61 for (i = page_start; i < page_end; i++) { in pcpu_free_pages()
83 struct page **pages, int page_start, int page_end, in pcpu_alloc_pages() argument
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
131 pcpu_chunk_addr(chunk, pcpu_low_unit_cpu, page_start), in pcpu_pre_unmap_flush()
154 struct page **pages, int page_start, int page_end) in pcpu_unmap_pages() argument
160 for (i = page_start; i < page_end; i++) { in pcpu_unmap_pages()
[all …]
Dpercpu-km.c36 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
Dpercpu.c1523 static void pcpu_chunk_populated(struct pcpu_chunk *chunk, int page_start, in pcpu_chunk_populated() argument
1526 int nr = page_end - page_start; in pcpu_chunk_populated()
1530 bitmap_set(chunk->populated, page_start, nr); in pcpu_chunk_populated()
1548 int page_start, int page_end) in pcpu_chunk_depopulated() argument
1550 int nr = page_end - page_start; in pcpu_chunk_depopulated()
1554 bitmap_clear(chunk->populated, page_start, nr); in pcpu_chunk_depopulated()
1578 int page_start, int page_end, gfp_t gfp);
1580 int page_start, int page_end);
1582 int page_start, int page_end);
/linux-6.1.9/drivers/staging/fbtft/
Dfb_sh1106.c115 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()
/linux-6.1.9/drivers/video/fbdev/
Dssd1307fb.c88 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()
/linux-6.1.9/drivers/gpu/drm/solomon/
Dssd130x.c191 u8 page_start, u8 pages) in ssd130x_set_page_range() argument
193 u8 page_end = page_start + pages - 1; in ssd130x_set_page_range()
196 if (page_start == ssd130x->page_start && page_end == ssd130x->page_end) in ssd130x_set_page_range()
199 ret = ssd130x_write_cmd(ssd130x, 3, SSD130X_SET_PAGE_RANGE, page_start, page_end); in ssd130x_set_page_range()
203 ssd130x->page_start = page_start; in ssd130x_set_page_range()
210 u8 page_start, u8 col_start) in ssd130x_set_page_pos() argument
216 SSD130X_START_PAGE_ADDRESS_SET(page_start); in ssd130x_set_page_pos()
Dssd130x.h87 u8 page_start; member
/linux-6.1.9/drivers/input/rmi4/
Drmi_driver.c472 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()
Drmi_driver.h39 u16 page_start; member
/linux-6.1.9/fs/jfs/
Djfs_metapage.c350 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()
/linux-6.1.9/fs/btrfs/
Dinode.c194 u64 page_start, page_end; in btrfs_cleanup_ordered_extents() local
198 page_start = page_offset(locked_page); in btrfs_cleanup_ordered_extents()
199 page_end = page_start + PAGE_SIZE - 1; in btrfs_cleanup_ordered_extents()
214 if (locked_page && index == (page_start >> PAGE_SHIFT)) { in btrfs_cleanup_ordered_extents()
235 if (bytes + offset <= page_start + PAGE_SIZE) in btrfs_cleanup_ordered_extents()
243 if (page_start >= offset && page_end <= (offset + bytes - 1)) { in btrfs_cleanup_ordered_extents()
934 const u64 page_start = page_offset(locked_page); in submit_uncompressed_range() local
935 const u64 page_end = page_start + PAGE_SIZE - 1; in submit_uncompressed_range()
938 page_start, PAGE_SIZE); in submit_uncompressed_range()
941 end_extent_writepage(locked_page, ret, page_start, page_end); in submit_uncompressed_range()
[all …]
Dextent_io.c2248 const u64 page_start = page_offset(page); in __extent_writepage() local
2249 const u64 page_end = page_start + PAGE_SIZE - 1; in __extent_writepage()
2331 end_extent_writepage(page, ret, page_start, page_end); in __extent_writepage()
2789 u64 page_start = page_offset(page); in submit_eb_subpage() local
2819 start = page_start + bit_start * fs_info->sectorsize; in submit_eb_subpage()
5691 u64 page_start = page_offset(page); in get_next_extent_buffer() local
5692 u64 cur = page_start; in get_next_extent_buffer()
5694 ASSERT(in_range(bytenr, page_start, PAGE_SIZE)); in get_next_extent_buffer()
5697 while (cur < page_start + PAGE_SIZE) { in get_next_extent_buffer()
5709 if (gang[i]->start >= page_start + PAGE_SIZE) in get_next_extent_buffer()
Drelocation.c2945 u64 page_start; in relocate_one_page() local
2977 page_start = page_offset(page); in relocate_one_page()
2978 page_end = page_start + PAGE_SIZE - 1; in relocate_one_page()
2984 cur = max(page_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_page()
2989 u64 clamped_start = max(page_start, extent_start); in relocate_one_page()
3024 page_start, PAGE_SIZE)) { in relocate_one_page()
Dioctl.c1300 u64 page_start = (u64)index << PAGE_SHIFT; in defrag_prepare_one_page() local
1301 u64 page_end = page_start + PAGE_SIZE - 1; in defrag_prepare_one_page()
1336 lock_extent(&inode->io_tree, page_start, page_end, &cached_state); in defrag_prepare_one_page()
1337 ordered = btrfs_lookup_ordered_range(inode, page_start, PAGE_SIZE); in defrag_prepare_one_page()
1338 unlock_extent(&inode->io_tree, page_start, page_end, in defrag_prepare_one_page()
Ddisk-io.c865 u64 page_start = folio_pos(folio); in btree_dirty_folio() local
890 cur = page_start + cur_bit * fs_info->sectorsize; in btree_dirty_folio()
/linux-6.1.9/fs/pstore/
Dram_core.c407 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()
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c143 dma_addr_t page_start; in tmc_pages_get_offset() local
146 page_start = tmc_pages->daddrs[i]; in tmc_pages_get_offset()
147 if (addr >= page_start && addr < (page_start + PAGE_SIZE)) in tmc_pages_get_offset()
148 return i * PAGE_SIZE + (addr - page_start); in tmc_pages_get_offset()
/linux-6.1.9/drivers/media/usb/b2c2/
Dflexcop-usb.c179 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()
/linux-6.1.9/drivers/misc/habanalabs/common/mmu/
Dmmu.c539 page_id, page_start; in hl_mmu_pa_page_with_offset() local
553 page_start = page_id * dram_page_size; in hl_mmu_pa_page_with_offset()
556 *phys_addr = page_start + page_off + dram_base; in hl_mmu_pa_page_with_offset()
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c1718 unsigned long page_start, page_end; in arm_smmu_atc_inv_to_cmd() local
1745 page_start = iova >> inval_grain_shift; in arm_smmu_atc_inv_to_cmd()
1768 log2_span = fls_long(page_start ^ page_end); in arm_smmu_atc_inv_to_cmd()
1771 page_start &= ~span_mask; in arm_smmu_atc_inv_to_cmd()
1773 cmd->atc.addr = page_start << inval_grain_shift; in arm_smmu_atc_inv_to_cmd()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c4579 u32 page_start, page_end, data_start, data_end; in bnx2_nvram_write() local
4584 page_start = offset32 + written; in bnx2_nvram_write()
4585 page_start -= (page_start % bp->flash_info->page_size); in bnx2_nvram_write()
4587 page_end = page_start + bp->flash_info->page_size; in bnx2_nvram_write()
4589 data_start = (written == 0) ? offset32 : page_start; in bnx2_nvram_write()
4612 page_start + j, in bnx2_nvram_write()
4632 if ((rc = bnx2_nvram_erase_page(bp, page_start)) != 0) in bnx2_nvram_write()
4638 for (addr = page_start; addr < data_start; in bnx2_nvram_write()
/linux-6.1.9/fs/cifs/
Dfile.c4967 loff_t page_start = pos & PAGE_MASK; in cifs_write_begin() local
5000 if (page_start >= i_size || in cifs_write_begin()
5022 cifs_readpage_worker(file, page, &page_start); in cifs_write_begin()