/linux-6.12.1/mm/ |
D | percpu-vm.c | 55 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 …]
|
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
|
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);
|
/linux-6.12.1/drivers/staging/fbtft/ |
D | fb_sh1106.c | 112 int page, page_start, page_end, x, i, ret; in write_vmem() local 116 page_start = offset / (8 * 2 * xres); in write_vmem() 119 for (page = page_start; page < page_end; page++) { in write_vmem()
|
/linux-6.12.1/drivers/video/fbdev/ |
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()
|
/linux-6.12.1/drivers/input/rmi4/ |
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()
|
D | rmi_driver.h | 39 u16 page_start; member
|
/linux-6.12.1/arch/riscv/mm/ |
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()
|
/linux-6.12.1/fs/btrfs/ |
D | file.c | 1914 u64 page_start; in btrfs_page_mkwrite() local 1923 page_start = folio_pos(folio); in btrfs_page_mkwrite() 1924 page_end = page_start + folio_size(folio) - 1; in btrfs_page_mkwrite() 1936 page_start, reserved_space); in btrfs_page_mkwrite() 1956 (page_start >= size)) { in btrfs_page_mkwrite() 1962 lock_extent(io_tree, page_start, page_end, &cached_state); in btrfs_page_mkwrite() 1966 unlock_extent(io_tree, page_start, page_end, &cached_state); in btrfs_page_mkwrite() 1974 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), page_start, PAGE_SIZE); in btrfs_page_mkwrite() 1976 unlock_extent(io_tree, page_start, page_end, &cached_state); in btrfs_page_mkwrite() 1985 reserved_space = round_up(size - page_start, fs_info->sectorsize); in btrfs_page_mkwrite() [all …]
|
D | defrag.c | 860 u64 page_start = (u64)index << PAGE_SHIFT; in defrag_prepare_one_folio() local 861 u64 page_end = page_start + PAGE_SIZE - 1; in defrag_prepare_one_folio() 897 lock_extent(&inode->io_tree, page_start, page_end, &cached_state); in defrag_prepare_one_folio() 898 ordered = btrfs_lookup_ordered_range(inode, page_start, PAGE_SIZE); in defrag_prepare_one_folio() 899 unlock_extent(&inode->io_tree, page_start, page_end, in defrag_prepare_one_folio()
|
D | extent_io.c | 1122 const u64 page_start = folio_pos(folio); in writepage_delalloc() local 1123 const u64 page_end = page_start + folio_size(folio) - 1; in writepage_delalloc() 1130 u64 delalloc_start = page_start; in writepage_delalloc() 1157 delalloc_start = page_start; in writepage_delalloc() 1174 found_start = page_start; in writepage_delalloc() 1216 unsigned int start_bit = (found_start - page_start) >> in writepage_delalloc() 1219 page_start) >> fs_info->sectorsize_bits; in writepage_delalloc() 1243 DIV_ROUND_UP(delalloc_end + 1 - page_start, PAGE_SIZE); in writepage_delalloc() 1425 const u64 page_start = folio_pos(folio); in extent_writepage() local 1471 page_start, PAGE_SIZE, !ret); in extent_writepage()
|
D | inode.c | 401 u64 page_start = 0, page_end = 0; in btrfs_cleanup_ordered_extents() local 405 page_start = folio_pos(locked_folio); in btrfs_cleanup_ordered_extents() 406 page_end = page_start + folio_size(locked_folio) - 1; in btrfs_cleanup_ordered_extents() 420 if (locked_folio && index == (page_start >> PAGE_SHIFT)) { in btrfs_cleanup_ordered_extents() 441 if (bytes + offset <= page_start + folio_size(locked_folio)) in btrfs_cleanup_ordered_extents() 449 if (page_start >= offset && page_end <= (offset + bytes - 1)) { in btrfs_cleanup_ordered_extents() 1162 const u64 page_start = folio_pos(locked_folio); in submit_uncompressed_range() local 1167 page_start, PAGE_SIZE, in submit_uncompressed_range() 2730 u64 page_start = folio_pos(folio); in btrfs_writepage_fixup_worker() local 2739 ret = btrfs_delalloc_reserve_space(inode, &data_reserved, page_start, in btrfs_writepage_fixup_worker() [all …]
|
D | disk-io.c | 556 u64 page_start = folio_pos(folio); in btree_dirty_folio() local 582 cur = page_start + cur_bit * fs_info->sectorsize; in btree_dirty_folio()
|
/linux-6.12.1/fs/jfs/ |
D | jfs_metapage.c | 356 sector_t page_start; in metapage_write_folio() local 362 page_start = folio_pos(folio) >> inode->i_blkbits; in metapage_write_folio() 387 lblock = page_start + block_offset; in metapage_write_folio() 486 sector_t page_start; /* address of page in fs blocks */ in metapage_read_folio() local 493 page_start = folio_pos(folio) >> inode->i_blkbits; in metapage_read_folio() 498 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_read_folio()
|
/linux-6.12.1/drivers/gpu/drm/solomon/ |
D | ssd130x.c | 298 u8 page_start, u8 pages) in ssd130x_set_page_range() argument 300 u8 page_end = page_start + pages - 1; in ssd130x_set_page_range() 303 if (page_start == ssd130x->page_start && page_end == ssd130x->page_end) in ssd130x_set_page_range() 306 ret = ssd130x_write_cmd(ssd130x, 3, SSD130X_SET_PAGE_RANGE, page_start, page_end); in ssd130x_set_page_range() 310 ssd130x->page_start = page_start; in ssd130x_set_page_range() 317 u8 page_start, u8 col_start) in ssd130x_set_page_pos() argument 323 SSD130X_START_PAGE_ADDRESS_SET(page_start); in ssd130x_set_page_pos() 776 u8 page_start; in ssd130x_update_rect() local 783 page_start = ssd130x->page_offset + y / page_height; in ssd130x_update_rect() 784 ret = ssd130x_set_page_range(ssd130x, page_start, pages); in ssd130x_update_rect()
|
D | ssd130x.h | 103 u8 page_start; member
|
/linux-6.12.1/fs/pstore/ |
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()
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | coresight-tmc-etr.c | 151 dma_addr_t page_start; in tmc_pages_get_offset() local 154 page_start = tmc_pages->daddrs[i]; in tmc_pages_get_offset() 155 if (addr >= page_start && addr < (page_start + PAGE_SIZE)) in tmc_pages_get_offset() 156 return i * PAGE_SIZE + (addr - page_start); in tmc_pages_get_offset()
|
/linux-6.12.1/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 179 flexcop_usb_request_t req, flexcop_usb_mem_page_t page_start, in flexcop_usb_memory_req() argument 206 page_start + (addr / V8_MEMORY_PAGE_SIZE), in flexcop_usb_memory_req()
|
/linux-6.12.1/drivers/accel/habanalabs/common/mmu/ |
D | mmu.c | 500 page_id, page_start; in hl_mmu_pa_page_with_offset() local 514 page_start = page_id * dram_page_size; in hl_mmu_pa_page_with_offset() 517 *phys_addr = page_start + page_off + dram_base; in hl_mmu_pa_page_with_offset()
|
/linux-6.12.1/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 1990 unsigned long page_start, page_end; in arm_smmu_atc_inv_to_cmd() local 2017 page_start = iova >> inval_grain_shift; in arm_smmu_atc_inv_to_cmd() 2040 log2_span = fls_long(page_start ^ page_end); in arm_smmu_atc_inv_to_cmd() 2043 page_start &= ~span_mask; in arm_smmu_atc_inv_to_cmd() 2045 cmd->atc.addr = page_start << inval_grain_shift; in arm_smmu_atc_inv_to_cmd()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 4564 u32 page_start, page_end, data_start, data_end; in bnx2_nvram_write() local 4569 page_start = offset32 + written; in bnx2_nvram_write() 4570 page_start -= (page_start % bp->flash_info->page_size); in bnx2_nvram_write() 4572 page_end = page_start + bp->flash_info->page_size; in bnx2_nvram_write() 4574 data_start = (written == 0) ? offset32 : page_start; in bnx2_nvram_write() 4597 page_start + j, in bnx2_nvram_write() 4617 if ((rc = bnx2_nvram_erase_page(bp, page_start)) != 0) in bnx2_nvram_write() 4623 for (addr = page_start; addr < data_start; in bnx2_nvram_write()
|
/linux-6.12.1/kernel/trace/ |
D | trace.c | 9672 phys_addr_t page_start; in map_pages() local 9679 page_start = start; in map_pages() 9685 phys_addr_t addr = page_start + i * PAGE_SIZE; in map_pages()
|