/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | bts.c | 45 struct page *page; member 66 static int buf_nr_pages(struct page *page) in buf_nr_pages() argument 68 if (!PagePrivate(page)) in buf_nr_pages() 71 return 1 << page_private(page); in buf_nr_pages() 74 static size_t buf_size(struct page *page) in buf_size() argument 76 return buf_nr_pages(page) * PAGE_SIZE; in buf_size() 84 struct page *pag in bts_buffer_setup_aux() local 150 struct page *page = phys->page; bts_config_buffer() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_rx.c | 35 struct page *page; in octep_oq_fill_ring_buffers() local 39 page = dev_alloc_page(); in octep_oq_fill_ring_buffers() 40 if (unlikely(!page)) { in octep_oq_fill_ring_buffers() 44 desc_ring[i].buffer_ptr = dma_map_page(oq->dev, page, 0, in octep_oq_fill_ring_buffers() 51 put_page(page); in octep_oq_fill_ring_buffers() 54 oq->buff_info[i].page = page; in octep_oq_fill_ring_buffers() 64 put_page(oq->buff_info[i].page); in octep_oq_fill_ring_buffers() 65 oq->buff_info[i].page in octep_oq_fill_ring_buffers() 82 struct page *page; octep_oq_refill() local [all...] |
/kernel/linux/linux-5.10/fs/erofs/ |
H A D | xattr.c | 12 struct page *page; member 23 kunmap(it->page); in xattr_iter_end() 27 unlock_page(it->page); in xattr_iter_end() 28 put_page(it->page); in xattr_iter_end() 33 if (!it->page) in xattr_iter_end_final() 98 it.page = erofs_get_meta_page(sb, it.blkaddr); in init_inode_xattrs() 99 if (IS_ERR(it.page)) { in init_inode_xattrs() 100 ret = PTR_ERR(it.page); in init_inode_xattrs() 105 it.kaddr = kmap(it.page); in init_inode_xattrs() [all...] |
/kernel/linux/linux-6.6/fs/fuse/ |
H A D | readdir.c | 38 struct page *page; in fuse_add_dirent_to_cache() local 57 /* Dirent doesn't fit in current page? Jump to next page. */ in fuse_add_dirent_to_cache() 65 page = find_lock_page(file->f_mapping, index); in fuse_add_dirent_to_cache() 67 page = find_or_create_page(file->f_mapping, index, in fuse_add_dirent_to_cache() 70 if (!page) in fuse_add_dirent_to_cache() 79 addr = kmap_local_page(page); in fuse_add_dirent_to_cache() 82 SetPageUptodate(page); in fuse_add_dirent_to_cache() 90 unlock_page(page); in fuse_add_dirent_to_cache() 334 struct page *page; fuse_readdir_uncached() local 453 struct page *page; fuse_readdir_cached() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | uvmm.c | 82 u8 page; in nvkm_uvmm_mthd_pfnmap() local 85 page = args->v0.page; in nvkm_uvmm_mthd_pfnmap() 89 if (argc != (size >> page) * sizeof(args->v0.phys[0])) in nvkm_uvmm_mthd_pfnmap() 99 ret = nvkm_vmm_pfn_map(vmm, page, addr, size, phys); in nvkm_uvmm_mthd_pfnmap() 277 u8 page, align; in nvkm_uvmm_mthd_get() local 284 page = args->v0.page; in nvkm_uvmm_mthd_get() 292 page, align, size, &vma); in nvkm_uvmm_mthd_get() 307 const struct nvkm_vmm_page *page; in nvkm_uvmm_mthd_page() local 333 const struct nvkm_vmm_page *page; nvkm_uvmm_page_index() local 540 const struct nvkm_vmm_page *page; nvkm_uvmm_new() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | sparse.c | 36 * If we did not store the node number in the page then we have to 38 * node the page belongs to. 46 int page_to_nid(const struct page *page) in page_to_nid() argument 48 return section_to_node_table[page_to_section(page)]; in page_to_nid() 277 * physical page frame number. 279 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum) in sparse_encode_mem_map() 292 struct page *sparse_decode_mem_map(unsigned long coded_mem_map, unsigned long pnum) in sparse_decode_mem_map() 296 return ((struct page *)coded_mem_map) + section_nr_to_pfn(pnum); in sparse_decode_mem_map() 301 unsigned long pnum, struct page *mem_ma in sparse_init_one_section() 721 struct page *page = virt_to_page(memmap); free_map_bootmem() local [all...] |
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | compress.c | 26 unsigned int size = sizeof(struct page *) * nr; in page_array_alloc() 36 unsigned int size = sizeof(struct page *) * nr; in page_array_free() 71 bool f2fs_is_compressed_page(struct page *page) in f2fs_is_compressed_page() argument 73 if (!PagePrivate(page)) in f2fs_is_compressed_page() 75 if (!page_private(page)) in f2fs_is_compressed_page() 77 if (IS_ATOMIC_WRITTEN_PAGE(page) || IS_DUMMY_WRITTEN_PAGE(page)) in f2fs_is_compressed_page() 80 * page->private may be set with pid. in f2fs_is_compressed_page() 83 if (IS_IO_TRACED_PAGE(page)) in f2fs_is_compressed_page() 91 f2fs_set_compressed_page(struct page *page, struct inode *inode, pgoff_t index, void *data) f2fs_set_compressed_page() argument 140 f2fs_compress_control_page(struct page *page) f2fs_compress_control_page() argument 164 f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page) f2fs_compress_ctx_add_page() argument 550 struct page *page; f2fs_compress_alloc_page() local 558 f2fs_compress_free_page(struct page *page) f2fs_compress_free_page() argument 705 f2fs_decompress_pages(struct bio *bio, struct page *page, bool verity) f2fs_decompress_pages() argument 830 struct page *page = cc->rpages[i]; __cluster_may_compress() local 946 struct page *page; prepare_compress_overwrite() local 1331 f2fs_compress_write_end_io(struct bio *bio, struct page *page) f2fs_compress_write_end_io() argument 1502 struct page *page; f2fs_alloc_dic() local [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | aops.c | 80 /* We don't use the page cache to create symlink data, so if in ocfs2_symlink_get_block() 221 int ocfs2_read_inline_data(struct inode *inode, struct page *page, in ocfs2_read_inline_data() argument 245 kaddr = kmap_atomic(page); in ocfs2_read_inline_data() 248 /* Clear the remaining part of the page */ in ocfs2_read_inline_data() 250 flush_dcache_page(page); in ocfs2_read_inline_data() 253 SetPageUptodate(page); in ocfs2_read_inline_data() 258 static int ocfs2_readpage_inline(struct inode *inode, struct page *page) in ocfs2_readpage_inline() argument 263 BUG_ON(!PageLocked(page)); in ocfs2_readpage_inline() 280 ocfs2_readpage(struct file *file, struct page *page) ocfs2_readpage() argument 403 ocfs2_writepage(struct page *page, struct writeback_control *wbc) ocfs2_writepage() argument 502 ocfs2_releasepage(struct page *page, gfp_t wait) ocfs2_releasepage() argument 544 ocfs2_clear_page_regions(struct page *page, struct ocfs2_super *osb, u32 cpos, unsigned from, unsigned to) ocfs2_clear_page_regions() argument 574 ocfs2_should_read_blk(struct inode *inode, struct page *page, unsigned int block_start) ocfs2_should_read_blk() argument 595 ocfs2_map_page_blocks(struct page *page, u64 *p_blkno, struct inode *inode, unsigned int from, unsigned int to, int new) ocfs2_map_page_blocks() argument 879 ocfs2_zero_new_buffers(struct page *page, unsigned from, unsigned to) ocfs2_zero_new_buffers() argument 944 ocfs2_prepare_page_for_write(struct inode *inode, u64 *p_blkno, struct ocfs2_write_ctxt *wc, struct page *page, u32 cpos, loff_t user_pos, unsigned user_len, int new) ocfs2_prepare_page_for_write() argument 1482 struct page *page; ocfs2_write_begin_inline() local 2082 ocfs2_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) ocfs2_write_end() argument [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | ioctl.c | 161 int reiserfs_commit_write(struct file *f, struct page *page, 172 struct page *page; in reiserfs_unpack() local 204 * we unpack by finding the page with the tail, and calling in reiserfs_unpack() 205 * __reiserfs_write_begin on that page. This will force a in reiserfs_unpack() 210 page = grab_cache_page(mapping, index); in reiserfs_unpack() 212 if (!page) { in reiserfs_unpack() 215 retval = __reiserfs_write_begin(page, write_from, 0); in reiserfs_unpack() 219 /* conversion can change page content in reiserfs_unpack() [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | ioctl.c | 150 int reiserfs_commit_write(struct file *f, struct page *page, 161 struct page *page; in reiserfs_unpack() local 193 * we unpack by finding the page with the tail, and calling in reiserfs_unpack() 194 * __reiserfs_write_begin on that page. This will force a in reiserfs_unpack() 199 page = grab_cache_page(mapping, index); in reiserfs_unpack() 201 if (!page) { in reiserfs_unpack() 204 retval = __reiserfs_write_begin(page, write_from, 0); in reiserfs_unpack() 208 /* conversion can change page content in reiserfs_unpack() [all...] |
/kernel/linux/linux-5.10/arch/sparc/mm/ |
H A D | srmmu.c | 38 #include <asm/page.h> 342 * Hardware needs alignment to 256 only, but we align to whole page size 346 * Alignments up to the page size are the same for physical and virtual 352 struct page *page; in pte_alloc_one() local 356 page = pfn_to_page(__nocache_pa((unsigned long)ptep) >> PAGE_SHIFT); in pte_alloc_one() 358 if (page_ref_inc_return(page) == 2 && !pgtable_pte_page_ctor(page)) { in pte_alloc_one() 359 page_ref_dec(page); in pte_alloc_one() 369 struct page *pag in pte_free() local 1255 turbosparc_flush_cache_page(struct vm_area_struct *vma, unsigned long page) turbosparc_flush_cache_page() argument 1266 turbosparc_flush_page_to_ram(unsigned long page) turbosparc_flush_page_to_ram() argument 1281 turbosparc_flush_page_for_dma(unsigned long page) turbosparc_flush_page_for_dma() argument 1305 turbosparc_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) turbosparc_flush_tlb_page() argument 1639 smp_flush_page_for_dma(unsigned long page) smp_flush_page_for_dma() argument 1719 smp_flush_cache_page(struct vm_area_struct *vma, unsigned long page) smp_flush_cache_page() argument 1734 smp_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) smp_flush_tlb_page() argument 1749 smp_flush_page_to_ram(unsigned long page) smp_flush_page_to_ram() argument [all...] |
/kernel/linux/linux-6.6/arch/sparc/mm/ |
H A D | srmmu.c | 38 #include <asm/page.h> 342 * Hardware needs alignment to 256 only, but we align to whole page size 346 * Alignments up to the page size are the same for physical and virtual 352 struct page *page; in pte_alloc_one() local 356 page = pfn_to_page(__nocache_pa((unsigned long)ptep) >> PAGE_SHIFT); in pte_alloc_one() 358 if (page_ref_inc_return(page) == 2 && in pte_alloc_one() 359 !pagetable_pte_ctor(page_ptdesc(page))) { in pte_alloc_one() 360 page_ref_dec(page); in pte_alloc_one() 370 struct page *pag in pte_free() local 1254 turbosparc_flush_cache_page(struct vm_area_struct *vma, unsigned long page) turbosparc_flush_cache_page() argument 1265 turbosparc_flush_page_to_ram(unsigned long page) turbosparc_flush_page_to_ram() argument 1280 turbosparc_flush_page_for_dma(unsigned long page) turbosparc_flush_page_for_dma() argument 1304 turbosparc_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) turbosparc_flush_tlb_page() argument 1638 smp_flush_page_for_dma(unsigned long page) smp_flush_page_for_dma() argument 1718 smp_flush_cache_page(struct vm_area_struct *vma, unsigned long page) smp_flush_cache_page() argument 1732 smp_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) smp_flush_tlb_page() argument 1746 smp_flush_page_to_ram(unsigned long page) smp_flush_page_to_ram() argument [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | lops.c | 174 struct page *page = bvec->bv_page; in gfs2_end_log_write_bh() local 177 bh = page_buffers(page); in gfs2_end_log_write_bh() 206 struct page *page; in gfs2_end_log_write() local 220 page = bvec->bv_page; in gfs2_end_log_write() 221 if (page_has_buffers(page)) in gfs2_end_log_write() 224 mempool_free(page, gfs2_page_pool); in gfs2_end_log_write() 318 * @page: the page t 328 gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, struct page *page, unsigned size, unsigned offset, u64 blkno) gfs2_log_write() argument 377 gfs2_log_write_page(struct gfs2_sbd *sdp, struct page *page) gfs2_log_write_page() argument 397 struct page *page; gfs2_end_log_read() local 424 gfs2_jhead_pg_srch(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head, struct page *page) gfs2_jhead_pg_srch() argument 524 struct page *page = NULL; gfs2_find_jhead() local 610 struct page *page = mempool_alloc(gfs2_page_pool, GFP_NOIO); gfs2_get_log_desc() local 657 struct page *page; gfs2_before_commit() local 864 struct page *page; revoke_lo_before_commit() local [all...] |
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | f2fs.h | 13 #include <linux/page-flags.h> 304 struct page *page; /* warm node page pointer */ member 573 ALLOC_NODE, /* allocate a new node page if needed */ 589 /* maximum retry of EIO'ed page */ 784 FI_SKIP_WRITES, /* should skip data page writeback */ 964 struct page *inode_page; /* its inode page, NULL is possible */ 965 struct page *node_pag 1196 struct page *page; /* page to be written */ global() member 1948 F2FS_P_SB(struct page *page) F2FS_P_SB() argument 1963 F2FS_NODE(struct page *page) F2FS_NODE() argument 1968 F2FS_INODE(struct page *page) F2FS_INODE() argument 2378 get_page_private_data(struct page *page) get_page_private_data() argument 2387 set_page_private_data(struct page *page, unsigned long data) set_page_private_data() argument 2395 clear_page_private_data(struct page *page) clear_page_private_data() argument 2402 clear_page_private_all(struct page *page) clear_page_private_all() argument 2734 struct page *page; f2fs_grab_cache_page() local 2770 f2fs_put_page(struct page *page, int unlock) f2fs_put_page() argument 2867 IS_INODE(struct page *page) IS_INODE() argument 3229 inline_xattr_addr(struct inode *inode, struct page *page) inline_xattr_addr() argument 3285 inline_data_addr(struct inode *inode, struct page *page) inline_data_addr() argument 4322 f2fs_is_compressed_page(struct page *page) f2fs_is_compressed_page() argument 4331 f2fs_compress_control_page(struct page *page) f2fs_compress_control_page() argument 4340 f2fs_end_read_compressed_page(struct page *page, bool failed, block_t blkaddr, bool in_task) f2fs_end_read_compressed_page() argument 4345 f2fs_put_page_dic(struct page *page, bool in_task) f2fs_put_page_dic() argument 4360 f2fs_cache_compressed_page(struct f2fs_sb_info *sbi, struct page *page, nid_t ino, block_t blkaddr) f2fs_cache_compressed_page() argument 4362 f2fs_load_compressed_page(struct f2fs_sb_info *sbi, struct page *page, block_t blkaddr) f2fs_load_compressed_page() argument 4635 struct page *page; f2fs_truncate_meta_inode_pages() local [all...] |
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | ali-agp.c | 10 #include <asm/page.h> /* PAGE_SIZE */ 144 static struct page *m1541_alloc_page(struct agp_bridge_data *bridge) in m1541_alloc_page() 146 struct page *page = agp_generic_alloc_page(agp_bridge); in m1541_alloc_page() local 149 if (!page) in m1541_alloc_page() 155 page_to_phys(page)) | ALI_CACHE_FLUSH_EN )); in m1541_alloc_page() 156 return page; in m1541_alloc_page() 159 static void ali_destroy_page(struct page *page, int flags) in ali_destroy_page() argument 161 if (page) { in ali_destroy_page() 170 m1541_destroy_page(struct page *page, int flags) m1541_destroy_page() argument [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | cache.c | 208 static void ceph_readpage_from_fscache_complete(struct page *page, void *data, int error) in ceph_readpage_from_fscache_complete() argument 211 SetPageUptodate(page); in ceph_readpage_from_fscache_complete() 213 unlock_page(page); in ceph_readpage_from_fscache_complete() 225 * unlock the page here (or in the callback). 227 int ceph_readpage_from_fscache(struct inode *inode, struct page *page) in ceph_readpage_from_fscache() argument 235 ret = fscache_read_or_alloc_page(ci->fscache, page, in ceph_readpage_from_fscache() 241 dout("page read submitted\n"); in ceph_readpage_from_fscache() 245 dout("page/inod in ceph_readpage_from_fscache() 282 ceph_readpage_to_fscache(struct inode *inode, struct page *page) ceph_readpage_to_fscache() argument 299 ceph_invalidate_fscache_page(struct inode* inode, struct page *page) ceph_invalidate_fscache_page() argument [all...] |
/kernel/linux/linux-5.10/kernel/dma/ |
H A D | contiguous.c | 30 * inaccessible to page system even if device drivers don't use it. 46 #include <asm/page.h> 257 struct page *dma_alloc_from_contiguous(struct device *dev, size_t count, in dma_alloc_from_contiguous() 276 bool dma_release_from_contiguous(struct device *dev, struct page *pages, in dma_release_from_contiguous() 282 static struct page *cma_alloc_aligned(struct cma *cma, size_t size, gfp_t gfp) in cma_alloc_aligned() 299 * Note that it bypass one-page size of allocations from the per-numa and 300 * global area as the addresses within one page are always contiguous, so 304 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) in dma_alloc_contiguous() 321 struct page *page; in dma_alloc_contiguous() local 347 dma_free_contiguous(struct device *dev, struct page *page, size_t size) dma_free_contiguous() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | selftest_reset.c | 23 resource_size_t num_pages, page; in __igt_reset_stolen() local 81 for (page = 0; page < num_pages; page++) { in __igt_reset_stolen() 82 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen() 96 page << PAGE_SHIFT, in __igt_reset_stolen() 97 ((page + 1) << PAGE_SHIFT) - 1)) in __igt_reset_stolen() 103 crc[page] = crc32_le(0, in, PAGE_SIZE); in __igt_reset_stolen() 121 for (page = 0; page < num_page in __igt_reset_stolen() [all...] |
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | ali-agp.c | 10 #include <asm/page.h> /* PAGE_SIZE */ 144 static struct page *m1541_alloc_page(struct agp_bridge_data *bridge) in m1541_alloc_page() 146 struct page *page = agp_generic_alloc_page(agp_bridge); in m1541_alloc_page() local 149 if (!page) in m1541_alloc_page() 155 page_to_phys(page)) | ALI_CACHE_FLUSH_EN )); in m1541_alloc_page() 156 return page; in m1541_alloc_page() 159 static void ali_destroy_page(struct page *page, int flags) in ali_destroy_page() argument 161 if (page) { in ali_destroy_page() 170 m1541_destroy_page(struct page *page, int flags) m1541_destroy_page() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-integrity.c | 221 char *page) in format_show() 226 return sysfs_emit(page, "%s\n", bi->profile->name); in format_show() 227 return sysfs_emit(page, "none\n"); in format_show() 231 char *page) in tag_size_show() 235 return sysfs_emit(page, "%u\n", bi->tag_size); in tag_size_show() 240 char *page) in protection_interval_bytes_show() 244 return sysfs_emit(page, "%u\n", in protection_interval_bytes_show() 250 const char *page, size_t count) in read_verify_store() 253 char *p = (char *) page; in read_verify_store() 265 struct device_attribute *attr, char *page) in read_verify_show() 220 format_show(struct device *dev, struct device_attribute *attr, char *page) format_show() argument 230 tag_size_show(struct device *dev, struct device_attribute *attr, char *page) tag_size_show() argument 238 protection_interval_bytes_show(struct device *dev, struct device_attribute *attr, char *page) protection_interval_bytes_show() argument 248 read_verify_store(struct device *dev, struct device_attribute *attr, const char *page, size_t count) read_verify_store() argument 264 read_verify_show(struct device *dev, struct device_attribute *attr, char *page) read_verify_show() argument 272 write_generate_store(struct device *dev, struct device_attribute *attr, const char *page, size_t count) write_generate_store() argument 289 write_generate_show(struct device *dev, struct device_attribute *attr, char *page) write_generate_show() argument 297 device_is_integrity_capable_show(struct device *dev, struct device_attribute *attr, char *page) device_is_integrity_capable_show() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | selftest_reset.c | 24 resource_size_t num_pages, page; in __igt_reset_stolen() local 82 for (page = 0; page < num_pages; page++) { in __igt_reset_stolen() 83 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen() 99 page << PAGE_SHIFT, in __igt_reset_stolen() 100 ((page + 1) << PAGE_SHIFT) - 1)) in __igt_reset_stolen() 106 crc[page] = crc32_le(0, in, PAGE_SIZE); in __igt_reset_stolen() 124 for (page = 0; page < num_page in __igt_reset_stolen() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | hugetlb_cgroup.c | 158 * page reference and test for page active here. This function 162 struct page *page) in hugetlb_cgroup_move_parent() 169 page_hcg = hugetlb_cgroup_from_page(page); in hugetlb_cgroup_move_parent() 178 nr_pages = compound_nr(page); in hugetlb_cgroup_move_parent() 188 set_hugetlb_cgroup(page, parent); in hugetlb_cgroup_move_parent() 201 struct page *page; in hugetlb_cgroup_css_offline() local 208 list_for_each_entry(page, in hugetlb_cgroup_css_offline() 161 hugetlb_cgroup_move_parent(int idx, struct hugetlb_cgroup *h_cg, struct page *page) hugetlb_cgroup_move_parent() argument 287 __hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, struct hugetlb_cgroup *h_cg, struct page *page, bool rsvd) __hugetlb_cgroup_commit_charge() argument 298 hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, struct hugetlb_cgroup *h_cg, struct page *page) hugetlb_cgroup_commit_charge() argument 305 hugetlb_cgroup_commit_charge_rsvd(int idx, unsigned long nr_pages, struct hugetlb_cgroup *h_cg, struct page *page) hugetlb_cgroup_commit_charge_rsvd() argument 315 __hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page, bool rsvd) __hugetlb_cgroup_uncharge_page() argument 338 hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page) hugetlb_cgroup_uncharge_page() argument 344 hugetlb_cgroup_uncharge_page_rsvd(int idx, unsigned long nr_pages, struct page *page) hugetlb_cgroup_uncharge_page_rsvd() argument [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | blk-map.c | 134 struct page *page; in bio_copy_user_iov() local 181 page = map_data->pages[i / nr_pages]; in bio_copy_user_iov() 182 page += (i % nr_pages); in bio_copy_user_iov() 186 page = alloc_page(rq->q->bounce_gfp | gfp_mask); in bio_copy_user_iov() 187 if (!page) { in bio_copy_user_iov() 193 if (bio_add_pc_page(rq->q, bio, page, bytes, offset) < bytes) { in bio_copy_user_iov() 195 __free_page(page); in bio_copy_user_iov() 260 struct page **pages; in bio_map_user_iov() 278 struct page *pag in bio_map_user_iov() local 389 struct page *page; bio_map_kern() local 485 struct page *page; bio_copy_kern() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdoops.c | 58 static void mark_page_used(struct mtdoops_context *cxt, int page) in mark_page_used() argument 60 set_bit(page, cxt->oops_page_used); in mark_page_used() 63 static void mark_page_unused(struct mtdoops_context *cxt, int page) in mark_page_unused() argument 65 clear_bit(page, cxt->oops_page_used); in mark_page_unused() 68 static int page_is_used(struct mtdoops_context *cxt, int page) in page_is_used() argument 70 return test_bit(page, cxt->oops_page_used); in page_is_used() 81 int page; in mtdoops_erase_block() local 95 for (page = start_page; page < start_page + erase_pages; page in mtdoops_erase_block() 219 int ret, page, maxpos = 0; find_next_position() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | mtdoops.c | 68 static void mark_page_used(struct mtdoops_context *cxt, int page) in mark_page_used() argument 70 set_bit(page, cxt->oops_page_used); in mark_page_used() 73 static void mark_page_unused(struct mtdoops_context *cxt, int page) in mark_page_unused() argument 75 clear_bit(page, cxt->oops_page_used); in mark_page_unused() 78 static int page_is_used(struct mtdoops_context *cxt, int page) in page_is_used() argument 80 return test_bit(page, cxt->oops_page_used); in page_is_used() 91 int page; in mtdoops_erase_block() local 105 for (page = start_page; page < start_page + erase_pages; page in mtdoops_erase_block() 249 int ret, page, maxpos = 0; find_next_position() local [all...] |