/linux/mm/ |
H A D | debug.c | 125 struct folio *foliop, folio; in __dump_page() local 136 foliop = (struct folio *)&precise; in __dump_page() 138 if (!folio_test_large(foliop)) in __dump_page() 140 foliop = (struct folio *)page; in __dump_page() 142 foliop = (struct folio *)(head - 1); in __dump_page() 143 idx = folio_page_idx(foliop, page); in __dump_page() 147 memcpy(&folio, foliop, 2 * sizeof(struct page)); in __dump_page() 149 foliop = &folio; in __dump_page() 157 foliop = (struct folio *)&precise; in __dump_page() 162 __dump_folio(foliop, &precise, pfn, idx); in __dump_page()
|
H A D | shmem.c | 163 struct folio **foliop, enum sgp_type sgp, gfp_t gfp, 1922 static int shmem_replace_folio(struct folio **foliop, gfp_t gfp, in shmem_replace_folio() argument 1926 struct folio *new, *old = *foliop; in shmem_replace_folio() 1991 *foliop = new; in shmem_replace_folio() 2119 struct folio **foliop, enum sgp_type sgp, in shmem_swapin_folio() argument 2131 VM_BUG_ON(!*foliop || !xa_is_value(*foliop)); in shmem_swapin_folio() 2132 swap = radix_to_swp_entry(*foliop); in shmem_swapin_folio() 2133 *foliop = NULL; in shmem_swapin_folio() 2231 *foliop = folio; in shmem_swapin_folio() 2258 loff_t write_end, struct folio **foliop, enum sgp_type sgp, in shmem_get_folio_gfp() argument [all …]
|
H A D | userfaultfd.c | 245 struct folio **foliop) in mfill_atomic_pte_copy() argument 251 if (!*foliop) { in mfill_atomic_pte_copy() 283 *foliop = folio; in mfill_atomic_pte_copy() 290 folio = *foliop; in mfill_atomic_pte_copy() 291 *foliop = NULL; in mfill_atomic_pte_copy() 661 struct folio **foliop) in mfill_atomic_pte() argument 687 flags, foliop); in mfill_atomic_pte() 694 flags, foliop); in mfill_atomic_pte()
|
/linux/fs/sysv/ |
H A D | dir.c | 62 struct folio **foliop) in dir_get_folio() argument 68 *foliop = folio; in dir_get_folio() 139 struct sysv_dir_entry *sysv_find_entry(struct dentry *dentry, struct folio **foliop) in sysv_find_entry() argument 154 char *kaddr = dir_get_folio(dir, n, foliop); in sysv_find_entry() 158 kaddr += folio_size(*foliop) - SYSV_DIRSIZE; in sysv_find_entry() 166 folio_release_kmap(*foliop, kaddr); in sysv_find_entry() 357 struct sysv_dir_entry *sysv_dotdot(struct inode *dir, struct folio **foliop) in sysv_dotdot() argument 359 struct sysv_dir_entry *de = dir_get_folio(dir, 0, foliop); in sysv_dotdot()
|
H A D | itree.c | 486 struct folio **foliop, void **fsdata) in sysv_write_begin() argument 490 ret = block_write_begin(mapping, pos, len, foliop, get_block); in sysv_write_begin()
|
/linux/fs/minix/ |
H A D | dir.c | 68 struct folio **foliop) in dir_get_folio() argument 74 *foliop = folio; in dir_get_folio() 154 minix_dirent *minix_find_entry(struct dentry *dentry, struct folio **foliop) in minix_find_entry() argument 171 kaddr = dir_get_folio(dir, n, foliop); in minix_find_entry() 191 folio_release_kmap(*foliop, kaddr); in minix_find_entry() 431 struct minix_dir_entry *minix_dotdot(struct inode *dir, struct folio **foliop) in minix_dotdot() argument 434 struct minix_dir_entry *de = dir_get_folio(dir, 0, foliop); in minix_dotdot()
|
/linux/fs/nilfs2/ |
H A D | dir.c | 187 struct folio **foliop) in nilfs_get_folio() argument 202 *foliop = folio; in nilfs_get_folio() 295 const struct qstr *qstr, struct folio **foliop) in nilfs_find_entry() argument 313 char *kaddr = nilfs_get_folio(dir, n, foliop); in nilfs_find_entry() 324 folio_release_kmap(*foliop, kaddr); in nilfs_find_entry() 331 folio_release_kmap(*foliop, kaddr); in nilfs_find_entry() 352 struct nilfs_dir_entry *nilfs_dotdot(struct inode *dir, struct folio **foliop) in nilfs_dotdot() argument 380 *foliop = folio; in nilfs_dotdot()
|
/linux/fs/ext2/ |
H A D | dir.c | 190 int quiet, struct folio **foliop) in ext2_get_folio() argument 203 *foliop = folio; in ext2_get_folio() 343 const struct qstr *child, struct folio **foliop) in ext2_find_entry() argument 361 char *kaddr = ext2_get_folio(dir, n, 0, foliop); in ext2_find_entry() 371 folio_release_kmap(*foliop, de); in ext2_find_entry() 378 folio_release_kmap(*foliop, kaddr); in ext2_find_entry() 412 struct ext2_dir_entry_2 *ext2_dotdot(struct inode *dir, struct folio **foliop) in ext2_dotdot() argument 414 ext2_dirent *de = ext2_get_folio(dir, 0, 0, foliop); in ext2_dotdot()
|
H A D | ext2.h | 725 struct folio **foliop); 728 struct ext2_dir_entry_2 *ext2_dotdot(struct inode *dir, struct folio **foliop);
|
/linux/include/linux/ |
H A D | shmem_fs.h | 153 struct folio **foliop, enum sgp_type sgp); in shmem_read_folio() 201 struct folio **foliop); 204 src_addr, flags, foliop) ({ BUG(); 0; }) 198 shmem_mfill_atomic_pte(dst_pmd,dst_vma,dst_addr,src_addr,flags,foliop) global() argument
|
/linux/fs/qnx6/ |
H A D | dir.c | 28 struct folio **foliop) in qnx6_get_folio() argument 34 *foliop = folio; in qnx6_get_folio() 49 struct folio **foliop) in qnx6_longname() argument 61 *foliop = folio; in qnx6_longname()
|
/linux/fs/ufs/ |
H A D | dir.c | 187 struct folio **foliop) in ufs_get_folio() argument 200 *foliop = folio; in ufs_get_folio() 230 struct ufs_dir_entry *ufs_dotdot(struct inode *dir, struct folio **foliop) in ufs_dotdot() argument 232 struct ufs_dir_entry *de = ufs_get_folio(dir, 0, foliop); in ufs_dotdot() 249 struct folio **foliop) in ufs_find_entry() argument 271 char *kaddr = ufs_get_folio(dir, n, foliop); in ufs_find_entry() 281 folio_release_kmap(*foliop, kaddr); in ufs_find_entry()
|
/linux/fs/bfs/ |
H A D | file.c | 175 struct folio **foliop, void **fsdata) in bfs_write_begin() argument 179 ret = block_write_begin(mapping, pos, len, foliop, bfs_get_block); in bfs_write_begin()
|
/linux/fs/jffs2/ |
H A D | file.c | 29 struct folio **foliop, void **fsdata); 126 struct folio **foliop, void **fsdata) in jffs2_write_begin() argument 213 *foliop = folio; in jffs2_write_begin()
|
/linux/fs/ocfs2/ |
H A D | aops.h | 41 struct folio **foliop, void **fsdata,
|
/linux/fs/hpfs/ |
H A D | file.c | 193 struct folio **foliop, void **fsdata) in hpfs_write_begin() argument 197 ret = cont_write_begin(file, mapping, pos, len, foliop, fsdata, in hpfs_write_begin()
|
/linux/fs/adfs/ |
H A D | inode.c | 58 struct folio **foliop, void **fsdata) in adfs_write_begin() argument 62 ret = cont_write_begin(file, mapping, pos, len, foliop, fsdata, in adfs_write_begin()
|
/linux/fs/ceph/ |
H A D | addr.c | 68 struct folio **foliop, void **_fsdata); 1498 struct folio **foliop, void **_fsdata) in ceph_netfs_check_write_begin() argument 1504 snapc = ceph_find_incompatible(folio_page(*foliop, 0)); in ceph_netfs_check_write_begin() 1508 folio_unlock(*foliop); in ceph_netfs_check_write_begin() 1509 folio_put(*foliop); in ceph_netfs_check_write_begin() 1510 *foliop = NULL; in ceph_netfs_check_write_begin() 1529 struct folio **foliop, void **fsdata) in ceph_write_begin() argument 1535 r = netfs_write_begin(&ci->netfs, file, inode->i_mapping, pos, len, foliop, NULL); in ceph_write_begin() 1539 folio_wait_private_2(*foliop); /* [DEPRECATED] */ in ceph_write_begin() 1540 WARN_ON_ONCE(!folio_test_locked(*foliop)); in ceph_write_begin()
|
/linux/fs/jfs/ |
H A D | inode.c | 295 struct folio **foliop, void **fsdata) in jfs_write_begin() argument 299 ret = block_write_begin(mapping, pos, len, foliop, jfs_get_block); in jfs_write_begin()
|
/linux/fs/omfs/ |
H A D | file.c | 315 struct folio **foliop, void **fsdata) in omfs_write_begin() argument 319 ret = block_write_begin(mapping, pos, len, foliop, omfs_get_block); in omfs_write_begin()
|
/linux/fs/ecryptfs/ |
H A D | mmap.c | 245 struct folio **foliop, void **fsdata) in ecryptfs_write_begin() argument 256 *foliop = folio; in ecryptfs_write_begin()
|
/linux/fs/ubifs/ |
H A D | file.c | 214 loff_t pos, unsigned len, struct folio **foliop) in write_begin_slow() argument 301 *foliop = folio; in write_begin_slow() 417 struct folio **foliop, void **fsdata) in ubifs_write_begin() argument 486 return write_begin_slow(mapping, pos, len, foliop); in ubifs_write_begin() 495 *foliop = folio; in ubifs_write_begin()
|
/linux/fs/hostfs/ |
H A D | hostfs_kern.c | 469 struct folio **foliop, void **fsdata) in hostfs_write_begin() argument 473 *foliop = __filemap_get_folio(mapping, index, FGP_WRITEBEGIN, in hostfs_write_begin() 475 if (IS_ERR(*foliop)) in hostfs_write_begin() 476 return PTR_ERR(*foliop); in hostfs_write_begin()
|
/linux/fs/affs/ |
H A D | file.c | 420 struct folio **foliop, void **fsdata) in affs_write_begin() argument 424 ret = cont_write_begin(file, mapping, pos, len, foliop, fsdata, in affs_write_begin() 650 struct folio **foliop, void **fsdata) in affs_write_begin_ofs() argument 673 *foliop = folio; in affs_write_begin_ofs()
|
/linux/fs/hfs/ |
H A D | hfs_fs.h | 205 loff_t pos, unsigned len, struct folio **foliop, void **fsdata);
|