Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dpercpu-vm.c54 struct page **pages, int page_start, int page_end) in pcpu_free_pages() argument
60 for (i = page_start; i < page_end; i++) { in pcpu_free_pages()
82 struct page **pages, int page_start, int page_end, in pcpu_alloc_pages() argument
91 for (i = page_start; i < page_end; i++) { in pcpu_alloc_pages()
102 while (--i >= page_start) in pcpu_alloc_pages()
108 for (i = page_start; i < page_end; i++) in pcpu_alloc_pages()
127 int page_start, int page_end) in pcpu_pre_unmap_flush() argument
130 pcpu_chunk_addr(chunk, pcpu_low_unit_cpu, page_start), in pcpu_pre_unmap_flush()
153 struct page **pages, int page_start, int page_end) in pcpu_unmap_pages() argument
159 for (i = page_start; i < page_end; i++) { in pcpu_unmap_pages()
[all …]
Dpercpu-km.c36 int page_start, int page_end, gfp_t gfp) in pcpu_populate_chunk() argument
42 int page_start, int page_end) in pcpu_depopulate_chunk() argument
Dpercpu.c1025 unsigned int page_start, page_end, rs, re; in pcpu_is_populated() local
1027 page_start = PFN_DOWN(bit_off * PCPU_MIN_ALLOC_SIZE); in pcpu_is_populated()
1030 rs = page_start; in pcpu_is_populated()
1481 static void pcpu_chunk_populated(struct pcpu_chunk *chunk, int page_start, in pcpu_chunk_populated() argument
1484 int nr = page_end - page_start; in pcpu_chunk_populated()
1488 bitmap_set(chunk->populated, page_start, nr); in pcpu_chunk_populated()
1506 int page_start, int page_end) in pcpu_chunk_depopulated() argument
1508 int nr = page_end - page_start; in pcpu_chunk_depopulated()
1512 bitmap_clear(chunk->populated, page_start, nr); in pcpu_chunk_depopulated()
1535 int page_start, int page_end, gfp_t gfp);
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/fs/jfs/
Djfs_metapage.c349 sector_t page_start; in metapage_writepage() local
355 page_start = (sector_t)page->index << in metapage_writepage()
381 lblock = page_start + block_offset; in metapage_writepage()
477 sector_t page_start; /* address of page in fs blocks */ in metapage_readpage() local
484 page_start = (sector_t)page->index << in metapage_readpage()
490 pblock = metapage_get_blocks(inode, page_start + block_offset, in metapage_readpage()
/kernel/linux/linux-5.10/fs/pstore/
Dram_core.c403 phys_addr_t page_start; in persistent_ram_vmap() local
409 page_start = start - offset_in_page(start); in persistent_ram_vmap()
425 phys_addr_t addr = page_start + i * PAGE_SIZE; in persistent_ram_vmap()
/kernel/linux/linux-5.10/fs/btrfs/
Dinode.c114 u64 page_start = page_offset(locked_page); in btrfs_cleanup_ordered_extents() local
115 u64 page_end = page_start + PAGE_SIZE - 1; in btrfs_cleanup_ordered_extents()
133 if (page_start >= offset && page_end <= (offset + bytes - 1)) { in btrfs_cleanup_ordered_extents()
2338 u64 page_start; in btrfs_writepage_fixup_worker() local
2346 page_start = page_offset(page); in btrfs_writepage_fixup_worker()
2353 ret = btrfs_delalloc_reserve_space(inode, &data_reserved, page_start, in btrfs_writepage_fixup_worker()
2384 page_start, PAGE_SIZE, in btrfs_writepage_fixup_worker()
2398 lock_extent_bits(&inode->io_tree, page_start, page_end, &cached_state); in btrfs_writepage_fixup_worker()
2404 ordered = btrfs_lookup_ordered_range(inode, page_start, PAGE_SIZE); in btrfs_writepage_fixup_worker()
2406 unlock_extent_cached(&inode->io_tree, page_start, page_end, in btrfs_writepage_fixup_worker()
[all …]
Dioctl.c1286 u64 page_start; in cluster_pages_for_defrag() local
1322 page_start = page_offset(page); in cluster_pages_for_defrag()
1323 page_end = page_start + PAGE_SIZE - 1; in cluster_pages_for_defrag()
1325 lock_extent_bits(tree, page_start, page_end, in cluster_pages_for_defrag()
1328 page_start); in cluster_pages_for_defrag()
1329 unlock_extent_cached(tree, page_start, page_end, in cluster_pages_for_defrag()
1382 page_start = page_offset(pages[0]); in cluster_pages_for_defrag()
1386 page_start, page_end - 1, &cached_state); in cluster_pages_for_defrag()
1401 search_start = page_start; in cluster_pages_for_defrag()
1421 clear_extent_bit(&BTRFS_I(inode)->io_tree, page_start, in cluster_pages_for_defrag()
[all …]
Drelocation.c2699 u64 page_start; in relocate_file_extent_cluster() local
2774 page_start = page_offset(page); in relocate_file_extent_cluster()
2775 page_end = page_start + PAGE_SIZE - 1; in relocate_file_extent_cluster()
2777 lock_extent(&BTRFS_I(inode)->io_tree, page_start, page_end); in relocate_file_extent_cluster()
2782 page_start + offset == cluster->boundary[nr]) { in relocate_file_extent_cluster()
2784 page_start, page_end, in relocate_file_extent_cluster()
2789 ret = btrfs_set_extent_delalloc(BTRFS_I(inode), page_start, in relocate_file_extent_cluster()
2800 page_start, page_end, in relocate_file_extent_cluster()
2808 page_start, page_end); in relocate_file_extent_cluster()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c145 dma_addr_t page_start; in tmc_pages_get_offset() local
148 page_start = tmc_pages->daddrs[i]; in tmc_pages_get_offset()
149 if (addr >= page_start && addr < (page_start + PAGE_SIZE)) in tmc_pages_get_offset()
150 return i * PAGE_SIZE + (addr - page_start); in tmc_pages_get_offset()
/kernel/linux/linux-5.10/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
210 page_start + (addr / V8_MEMORY_PAGE_SIZE), in flexcop_usb_memory_req()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c1520 unsigned long page_start, page_end; in arm_smmu_atc_inv_to_cmd() local
1533 page_start = iova >> inval_grain_shift; in arm_smmu_atc_inv_to_cmd()
1556 log2_span = fls_long(page_start ^ page_end); in arm_smmu_atc_inv_to_cmd()
1559 page_start &= ~span_mask; in arm_smmu_atc_inv_to_cmd()
1561 cmd->atc.addr = page_start << inval_grain_shift; in arm_smmu_atc_inv_to_cmd()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/cifs/
Dfile.c4649 loff_t page_start = pos & PAGE_MASK; in cifs_write_begin() local
4682 if (page_start >= i_size || in cifs_write_begin()
4704 cifs_readpage_worker(file, page, &page_start); in cifs_write_begin()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch39570 + ulong phys, page_start;
39577 + page_start = addr - offset;
39585 + phys = page_start + i * PAGE_SIZE;
39592 + page_start, npages << PAGE_SHIFT);
39601 + __func__, page_start, vaddr, npages << PAGE_SHIFT);