Home
last modified time | relevance | path

Searched refs:pagep (Results 1 - 25 of 124) sorted by relevance

12345

/kernel/linux/linux-5.10/fs/ext4/
H A Dmove_extent.c253 struct page *pagep[2] = {NULL, NULL}; in move_extent_per_page() local
304 donor_page_offset, pagep); in move_extent_per_page()
332 if ((page_has_private(pagep[0]) && in move_extent_per_page()
333 !try_to_release_page(pagep[0], 0)) || in move_extent_per_page()
334 (page_has_private(pagep[1]) && in move_extent_per_page()
335 !try_to_release_page(pagep[1], 0))) { in move_extent_per_page()
348 *err = mext_page_mkuptodate(pagep[0], from, from + replaced_size); in move_extent_per_page()
354 if ((page_has_private(pagep[0]) && !try_to_release_page(pagep[0], 0)) || in move_extent_per_page()
355 (page_has_private(pagep[ in move_extent_per_page()
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dbnode.c24 struct page **pagep; in hfs_bnode_read() local
28 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bnode_read()
32 memcpy(buf, kmap(*pagep) + off, l); in hfs_bnode_read()
33 kunmap(*pagep); in hfs_bnode_read()
38 memcpy(buf, kmap(*++pagep), l); in hfs_bnode_read()
39 kunmap(*pagep); in hfs_bnode_read()
77 struct page **pagep; in hfs_bnode_write() local
81 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bnode_write()
85 memcpy(kmap(*pagep) + off, buf, l); in hfs_bnode_write()
86 set_page_dirty(*pagep); in hfs_bnode_write()
107 struct page **pagep; hfs_bnode_clear() local
576 struct page **pagep; hfs_bnode_create() local
[all...]
H A Dbtree.c376 struct page **pagep; in hfs_bmap_alloc() local
396 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bmap_alloc()
397 data = kmap(*pagep); in hfs_bmap_alloc()
409 set_page_dirty(*pagep); in hfs_bmap_alloc()
410 kunmap(*pagep); in hfs_bmap_alloc()
420 kunmap(*pagep); in hfs_bmap_alloc()
421 data = kmap(*++pagep); in hfs_bmap_alloc()
427 kunmap(*pagep); in hfs_bmap_alloc()
442 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bmap_alloc()
443 data = kmap(*pagep); in hfs_bmap_alloc()
[all...]
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dbnode.c24 struct page **pagep; in hfs_bnode_read() local
28 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bnode_read()
32 memcpy_from_page(buf, *pagep, off, l); in hfs_bnode_read()
37 memcpy_from_page(buf, *++pagep, 0, l); in hfs_bnode_read()
75 struct page **pagep; in hfs_bnode_write() local
79 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bnode_write()
83 memcpy_to_page(*pagep, off, buf, l); in hfs_bnode_write()
84 set_page_dirty(*pagep); in hfs_bnode_write()
89 memcpy_to_page(*++pagep, 0, buf, l); in hfs_bnode_write()
90 set_page_dirty(*pagep); in hfs_bnode_write()
103 struct page **pagep; hfs_bnode_clear() local
565 struct page **pagep; hfs_bnode_create() local
[all...]
H A Dbtree.c377 struct page **pagep; in hfs_bmap_alloc() local
397 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bmap_alloc()
398 data = kmap_local_page(*pagep); in hfs_bmap_alloc()
410 set_page_dirty(*pagep); in hfs_bmap_alloc()
422 data = kmap_local_page(*++pagep); in hfs_bmap_alloc()
443 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bmap_alloc()
444 data = kmap_local_page(*pagep); in hfs_bmap_alloc()
/kernel/linux/linux-5.10/fs/hfs/
H A Dbtree.c250 struct page **pagep; in hfs_bmap_alloc() local
270 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bmap_alloc()
271 data = kmap(*pagep); in hfs_bmap_alloc()
283 set_page_dirty(*pagep); in hfs_bmap_alloc()
284 kunmap(*pagep); in hfs_bmap_alloc()
293 kunmap(*pagep); in hfs_bmap_alloc()
294 data = kmap(*++pagep); in hfs_bmap_alloc()
300 kunmap(*pagep); in hfs_bmap_alloc()
315 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bmap_alloc()
316 data = kmap(*pagep); in hfs_bmap_alloc()
[all...]
H A Dbnode.c424 struct page **pagep; in hfs_bnode_create() local
443 pagep = node->page; in hfs_bnode_create()
444 memset(kmap(*pagep) + node->page_offset, 0, in hfs_bnode_create()
446 set_page_dirty(*pagep); in hfs_bnode_create()
447 kunmap(*pagep); in hfs_bnode_create()
449 memset(kmap(*++pagep), 0, PAGE_SIZE); in hfs_bnode_create()
450 set_page_dirty(*pagep); in hfs_bnode_create()
451 kunmap(*pagep); in hfs_bnode_create()
/kernel/linux/linux-5.10/fs/hpfs/
H A Dfile.c156 struct page **pagep, void **fsdata) in hpfs_write_begin()
160 *pagep = NULL; in hpfs_write_begin()
161 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in hpfs_write_begin()
172 struct page *pagep, void *fsdata) in hpfs_write_end()
176 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in hpfs_write_end()
154 hpfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) hpfs_write_begin() argument
170 hpfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *pagep, void *fsdata) hpfs_write_end() argument
/kernel/linux/linux-5.10/include/linux/
H A Dshmem_fs.h100 struct page **pagep, enum sgp_type sgp);
126 struct page **pagep);
133 src_addr, pagep) ({ BUG(); 0; })
/kernel/linux/linux-6.6/fs/hpfs/
H A Dfile.c193 struct page **pagep, void **fsdata) in hpfs_write_begin()
197 *pagep = NULL; in hpfs_write_begin()
198 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata, in hpfs_write_begin()
209 struct page *pagep, void *fsdata) in hpfs_write_end()
213 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in hpfs_write_end()
191 hpfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, void **fsdata) hpfs_write_begin() argument
207 hpfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *pagep, void *fsdata) hpfs_write_end() argument
/kernel/linux/linux-6.6/fs/hfs/
H A Dbtree.c253 struct page **pagep; in hfs_bmap_alloc() local
273 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bmap_alloc()
274 data = kmap_local_page(*pagep); in hfs_bmap_alloc()
286 set_page_dirty(*pagep); in hfs_bmap_alloc()
297 data = kmap_local_page(*++pagep); in hfs_bmap_alloc()
318 pagep = node->page + (off >> PAGE_SHIFT); in hfs_bmap_alloc()
319 data = kmap_local_page(*pagep); in hfs_bmap_alloc()
H A Dbnode.c414 struct page **pagep; in hfs_bnode_create() local
433 pagep = node->page; in hfs_bnode_create()
434 memzero_page(*pagep, node->page_offset, in hfs_bnode_create()
436 set_page_dirty(*pagep); in hfs_bnode_create()
438 memzero_page(*++pagep, 0, PAGE_SIZE); in hfs_bnode_create()
439 set_page_dirty(*pagep); in hfs_bnode_create()
/kernel/linux/linux-5.10/mm/
H A Dpercpu-vm.c92 struct page **pagep = &pages[pcpu_page_idx(cpu, i)]; in pcpu_alloc_pages() local
94 *pagep = alloc_pages_node(cpu_to_node(cpu), gfp, 0); in pcpu_alloc_pages()
95 if (!*pagep) in pcpu_alloc_pages()
H A Duserfaultfd.c56 struct page **pagep, in mcopy_atomic_pte()
67 if (!*pagep) { in mcopy_atomic_pte()
82 *pagep = page; in mcopy_atomic_pte()
89 page = *pagep; in mcopy_atomic_pte()
90 *pagep = NULL; in mcopy_atomic_pte()
51 mcopy_atomic_pte(struct mm_struct *dst_mm, pmd_t *dst_pmd, struct vm_area_struct *dst_vma, unsigned long dst_addr, unsigned long src_addr, struct page **pagep, bool wp_copy) mcopy_atomic_pte() argument
H A Dshmem.c141 static int shmem_replace_page(struct page **pagep, gfp_t gfp,
144 struct page **pagep, enum sgp_type sgp,
148 struct page **pagep, enum sgp_type sgp,
153 struct page **pagep, enum sgp_type sgp) in shmem_getpage()
155 return shmem_getpage_gfp(inode, index, pagep, sgp, in shmem_getpage()
1625 static int shmem_replace_page(struct page **pagep, gfp_t gfp, in shmem_replace_page() argument
1634 oldpage = *pagep; in shmem_replace_page()
1680 *pagep = newpage; in shmem_replace_page()
1693 * Swap in the page pointed to by *pagep.
1694 * Caller has to make sure that *pagep contain
152 shmem_getpage(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp) shmem_getpage() argument
1698 shmem_swapin_page(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma, vm_fault_t *fault_type) shmem_swapin_page() argument
1798 shmem_getpage_gfp(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma, struct vm_fault *vmf, vm_fault_t *fault_type) shmem_getpage_gfp() argument
2351 shmem_mfill_atomic_pte(struct mm_struct *dst_mm, pmd_t *dst_pmd, struct vm_area_struct *dst_vma, unsigned long dst_addr, unsigned long src_addr, bool zeropage, struct page **pagep) shmem_mfill_atomic_pte() argument
2484 shmem_mcopy_atomic_pte(struct mm_struct *dst_mm, pmd_t *dst_pmd, struct vm_area_struct *dst_vma, unsigned long dst_addr, unsigned long src_addr, struct page **pagep) shmem_mcopy_atomic_pte() argument
2517 shmem_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) shmem_write_begin() argument
[all...]
/kernel/linux/linux-6.6/mm/
H A Dpercpu-vm.c93 struct page **pagep = &pages[pcpu_page_idx(cpu, i)]; in pcpu_alloc_pages() local
95 *pagep = alloc_pages_node(cpu_to_node(cpu), gfp, 0); in pcpu_alloc_pages()
96 if (!*pagep) in pcpu_alloc_pages()
/kernel/linux/linux-5.10/fs/bfs/
H A Dfile.c173 struct page **pagep, void **fsdata) in bfs_write_begin()
177 ret = block_write_begin(mapping, pos, len, flags, pagep, in bfs_write_begin()
171 bfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) bfs_write_begin() argument
/kernel/linux/linux-6.6/fs/bfs/
H A Dfile.c173 struct page **pagep, void **fsdata) in bfs_write_begin()
177 ret = block_write_begin(mapping, pos, len, pagep, bfs_get_block); in bfs_write_begin()
171 bfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, void **fsdata) bfs_write_begin() argument
/kernel/linux/linux-5.10/fs/adfs/
H A Dinode.c56 struct page **pagep, void **fsdata) in adfs_write_begin()
60 *pagep = NULL; in adfs_write_begin()
61 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in adfs_write_begin()
54 adfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) adfs_write_begin() argument
/kernel/linux/linux-5.10/fs/jffs2/
H A Dfile.c29 struct page **pagep, void **fsdata);
134 struct page **pagep, void **fsdata) in jffs2_write_begin()
220 *pagep = pg; in jffs2_write_begin()
132 jffs2_write_begin(struct file *filp, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata) jffs2_write_begin() argument
/kernel/linux/linux-6.6/fs/adfs/
H A Dinode.c56 struct page **pagep, void **fsdata) in adfs_write_begin()
60 *pagep = NULL; in adfs_write_begin()
61 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata, in adfs_write_begin()
54 adfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, void **fsdata) adfs_write_begin() argument
/kernel/linux/linux-6.6/fs/jffs2/
H A Dfile.c29 struct page **pagep, void **fsdata);
133 struct page **pagep, void **fsdata) in jffs2_write_begin()
219 *pagep = pg; in jffs2_write_begin()
131 jffs2_write_begin(struct file *filp, struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, void **fsdata) jffs2_write_begin() argument
/kernel/linux/linux-5.10/fs/exfat/
H A Dinode.c391 struct page **pagep, void **fsdata) in exfat_write_begin()
395 *pagep = NULL; in exfat_write_begin()
396 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in exfat_write_begin()
408 struct page *pagep, void *fsdata) in exfat_write_end()
414 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in exfat_write_end()
389 exfat_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int flags, struct page **pagep, void **fsdata) exfat_write_begin() argument
406 exfat_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int copied, struct page *pagep, void *fsdata) exfat_write_end() argument
/kernel/linux/linux-6.6/fs/exfat/
H A Dinode.c365 struct page **pagep, void **fsdata) in exfat_write_begin()
369 *pagep = NULL; in exfat_write_begin()
370 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata, in exfat_write_begin()
382 struct page *pagep, void *fsdata) in exfat_write_end()
388 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in exfat_write_end()
363 exfat_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, struct page **pagep, void **fsdata) exfat_write_begin() argument
380 exfat_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int copied, struct page *pagep, void *fsdata) exfat_write_end() argument
/kernel/linux/linux-5.10/fs/ocfs2/
H A Daops.h43 struct page **pagep, void **fsdata,

Completed in 19 milliseconds

12345