Home
last modified time | relevance | path

Searched refs:pagep (Results 1 – 25 of 67) sorted by relevance

123

/kernel/linux/linux-5.10/fs/hfsplus/
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()
[all …]
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()
/kernel/linux/linux-5.10/fs/ext4/
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[1]) && !try_to_release_page(pagep[1], 0))) { in move_extent_per_page()
374 if (!page_has_buffers(pagep[0])) in move_extent_per_page()
[all …]
/kernel/linux/linux-5.10/fs/hfs/
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()
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/
Dfile.c156 struct page **pagep, void **fsdata) in hpfs_write_begin() argument
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() argument
176 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in hpfs_write_end()
/kernel/linux/linux-5.10/include/linux/
Dshmem_fs.h100 struct page **pagep, enum sgp_type sgp);
126 struct page **pagep);
133 src_addr, pagep) ({ BUG(); 0; }) argument
Dfscrypt.h858 static inline void fscrypt_finalize_bounce_page(struct page **pagep) in fscrypt_finalize_bounce_page() argument
860 struct page *page = *pagep; in fscrypt_finalize_bounce_page()
863 *pagep = fscrypt_pagecache_page(page); in fscrypt_finalize_bounce_page()
/kernel/linux/linux-5.10/mm/
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()
Duserfaultfd.c56 struct page **pagep, in mcopy_atomic_pte() argument
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()
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() argument
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()
1699 struct page **pagep, enum sgp_type sgp, in shmem_swapin_page() argument
1710 VM_BUG_ON(!*pagep || !xa_is_value(*pagep)); in shmem_swapin_page()
[all …]
Dswap_state.c349 struct page **pagep = pages; in free_pages_and_swap_cache() local
354 free_swap_cache(pagep[i]); in free_pages_and_swap_cache()
355 release_pages(pagep, nr); in free_pages_and_swap_cache()
/kernel/linux/linux-5.10/fs/bfs/
Dfile.c173 struct page **pagep, void **fsdata) in bfs_write_begin() argument
177 ret = block_write_begin(mapping, pos, len, flags, pagep, in bfs_write_begin()
/kernel/linux/linux-5.10/fs/adfs/
Dinode.c56 struct page **pagep, void **fsdata) in adfs_write_begin() argument
60 *pagep = NULL; in adfs_write_begin()
61 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in adfs_write_begin()
/kernel/linux/linux-5.10/fs/jffs2/
Dfile.c29 struct page **pagep, void **fsdata);
134 struct page **pagep, void **fsdata) in jffs2_write_begin() argument
220 *pagep = pg; in jffs2_write_begin()
/kernel/linux/linux-5.10/fs/exfat/
Dinode.c391 struct page **pagep, void **fsdata) in exfat_write_begin() argument
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() argument
414 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in exfat_write_end()
/kernel/linux/linux-5.10/fs/ecryptfs/
Dmmap.c267 struct page **pagep, void **fsdata) in ecryptfs_write_begin() argument
277 *pagep = page; in ecryptfs_write_begin()
366 *pagep = NULL; in ecryptfs_write_begin()
/kernel/linux/linux-5.10/fs/9p/
Dvfs_addr.c257 struct page **pagep, void **fsdata) in v9fs_write_begin() argument
287 *pagep = page; in v9fs_write_begin()
/kernel/linux/linux-5.10/fs/ocfs2/
Daops.h43 struct page **pagep, void **fsdata,
/kernel/linux/linux-5.10/fs/udf/
Dfile.c90 unsigned len, unsigned flags, struct page **pagep, in udf_adinicb_write_begin() argument
100 *pagep = page; in udf_adinicb_write_begin()
/kernel/linux/linux-5.10/fs/jfs/
Dinode.c318 struct page **pagep, void **fsdata) in jfs_write_begin() argument
322 ret = nobh_write_begin(mapping, pos, len, flags, pagep, fsdata, in jfs_write_begin()
/kernel/linux/linux-5.10/fs/omfs/
Dfile.c320 struct page **pagep, void **fsdata) in omfs_write_begin() argument
324 ret = block_write_begin(mapping, pos, len, flags, pagep, in omfs_write_begin()
/kernel/linux/linux-5.10/fs/ubifs/
Dfile.c218 loff_t pos, unsigned len, struct page **pagep, in write_begin_slow() argument
308 *pagep = page; in write_begin_slow()
423 struct page **pagep, void **fsdata) in ubifs_write_begin() argument
496 return write_begin_slow(mapping, pos, len, pagep, flags); in ubifs_write_begin()
505 *pagep = page; in ubifs_write_begin()
/kernel/linux/linux-5.10/fs/affs/
Dfile.c418 struct page **pagep, void **fsdata) in affs_write_begin() argument
422 *pagep = NULL; in affs_write_begin()
423 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata, in affs_write_begin()
652 struct page **pagep, void **fsdata) in affs_write_begin_ofs() argument
674 *pagep = page; in affs_write_begin_ofs()
/kernel/linux/linux-5.10/fs/f2fs/
Dcompress.c942 struct page **pagep, pgoff_t index, void **fsdata) in prepare_compress_overwrite() argument
1040 *pagep = cc->rpages[offset_in_cluster(cc, index)]; in prepare_compress_overwrite()
1053 struct page **pagep, pgoff_t index, void **fsdata) in f2fs_prepare_compress_overwrite() argument
1064 return prepare_compress_overwrite(&cc, pagep, index, fsdata); in f2fs_prepare_compress_overwrite()
1091 struct page *pagep; in f2fs_truncate_partial_cluster() local
1106 err = f2fs_prepare_compress_overwrite(inode, &pagep, in f2fs_truncate_partial_cluster()

123