Searched refs:page (Results 1 - 25 of 334) sorted by relevance

1234567891011>>

/fs/ntfs/
H A Daops.h2 * aops.h - Defines for NTFS kernel address space operations and page cache
35 * ntfs_unmap_page - release a page that was mapped using ntfs_map_page()
36 * @page: the page to release
38 * Unpin, unmap and release a page that was obtained from ntfs_map_page().
40 static inline void ntfs_unmap_page(struct page *page) argument
42 kunmap(page);
43 page_cache_release(page);
47 * ntfs_map_page - map a page int
89 struct page *page = read_mapping_page(mapping, index, NULL); local
[all...]
H A Dusnjrnl.c52 struct page *page; local
55 page = ntfs_map_page(vol->usnjrnl_max_ino->i_mapping, 0);
56 if (IS_ERR(page)) {
61 uh = (USN_HEADER*)page_address(page);
74 flush_dcache_page(page);
75 set_page_dirty(page);
76 ntfs_unmap_page(page);
H A Dbitmap.c53 struct page *page; local
73 /* Get the page containing the first bit (@start_bit). */
75 page = ntfs_map_page(mapping, index);
76 if (IS_ERR(page)) {
78 ntfs_error(vi->i_sb, "Failed to map first page (error "
79 "%li), aborting.", PTR_ERR(page));
80 return PTR_ERR(page);
82 kaddr = page_address(page);
100 /* If we are done, unmap the page an
[all...]
/fs/9p/
H A Dcache.h44 extern int __v9fs_fscache_release_page(struct page *page, gfp_t gfp);
45 extern void __v9fs_fscache_invalidate_page(struct page *page);
47 struct page *page);
52 extern void __v9fs_readpage_to_fscache(struct inode *inode, struct page *page);
54 struct page *page);
56 v9fs_fscache_release_page(struct page *page, gfp_t gfp) argument
62 v9fs_fscache_invalidate_page(struct page *page) argument
67 v9fs_readpage_from_fscache(struct inode *inode, struct page *page) argument
82 v9fs_readpage_to_fscache(struct inode *inode, struct page *page) argument
89 v9fs_uncache_page(struct inode *inode, struct page *page) argument
96 v9fs_fscache_wait_on_page_write(struct inode *inode, struct page *page) argument
116 v9fs_fscache_release_page(struct page *page, gfp_t gfp) argument
121 v9fs_fscache_invalidate_page(struct page *page) argument
123 v9fs_readpage_from_fscache(struct inode *inode, struct page *page) argument
137 v9fs_readpage_to_fscache(struct inode *inode, struct page *page) argument
141 v9fs_uncache_page(struct inode *inode, struct page *page) argument
144 v9fs_fscache_wait_on_page_write(struct inode *inode, struct page *page) argument
[all...]
H A Dvfs_addr.c46 * v9fs_fid_readpage - read an entire page in from 9P
49 * @page: structure to page
52 static int v9fs_fid_readpage(struct p9_fid *fid, struct page *page) argument
59 inode = page->mapping->host;
62 BUG_ON(!PageLocked(page));
64 retval = v9fs_readpage_from_fscache(inode, page);
68 buffer = kmap(page);
69 offset = page_offset(page);
98 v9fs_vfs_readpage(struct file *filp, struct page *page) argument
137 v9fs_release_page(struct page *page, gfp_t gfp) argument
151 v9fs_invalidate_page(struct page *page, unsigned int offset, unsigned int length) argument
162 v9fs_vfs_writepage_locked(struct page *page) argument
201 v9fs_vfs_writepage(struct page *page, struct writeback_control *wbc) argument
228 v9fs_launder_page(struct page *page) argument
281 struct page *page; local
312 v9fs_write_end(struct file *filp, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
[all...]
/fs/ceph/
H A Dcache.h42 int ceph_readpage_from_fscache(struct inode *inode, struct page *page);
47 void ceph_readpage_to_fscache(struct inode *inode, struct page *page);
48 void ceph_invalidate_fscache_page(struct inode* inode, struct page *page);
63 struct page *page)
66 return fscache_uncache_page(ci->fscache, page);
69 static inline int ceph_release_fscache_page(struct page *pag argument
62 ceph_fscache_uncache_page(struct inode *inode, struct page *page) argument
76 ceph_fscache_readpage_cancel(struct inode *inode, struct page *page) argument
125 ceph_readpage_from_fscache(struct inode* inode, struct page *page) argument
139 ceph_readpage_to_fscache(struct inode *inode, struct page *page) argument
152 ceph_invalidate_fscache_page(struct inode *inode, struct page *page) argument
161 ceph_release_fscache_page(struct page *page, gfp_t gfp) argument
166 ceph_fscache_readpage_cancel(struct inode *inode, struct page *page) argument
[all...]
H A Daddr.c22 * The page->private field is used to reference a struct
23 * ceph_snap_context for _every_ dirty page. This indicates which
24 * snapshot the page was logically dirtied in, and thus which snap
29 * i_wrbuffer_ref == i_wrbuffer_ref_head == the dirty page count.
49 * Invalidate and so forth must take care to ensure the dirty page
58 static inline struct ceph_snap_context *page_snap_context(struct page *page) argument
60 if (PagePrivate(page))
61 return (void *)page->private;
66 * Dirty a page
69 ceph_set_page_dirty(struct page *page) argument
132 ceph_invalidatepage(struct page *page, unsigned int offset, unsigned int length) argument
172 ceph_releasepage(struct page *page, gfp_t g) argument
188 readpage_nounlock(struct file *filp, struct page *page) argument
228 ceph_readpage(struct file *filp, struct page *page) argument
255 struct page *page = osd_data->pages[i]; local
294 struct page *page = list_entry(page_list->prev, struct page, lru); local
450 writepage_nounlock(struct page *page, struct writeback_control *wbc) argument
541 ceph_writepage(struct page *page, struct writeback_control *wbc) argument
584 struct page *page; local
760 struct page *page; local
1005 ceph_update_writeable_page(struct file *file, loff_t pos, unsigned len, struct page *page) argument
1110 struct page *page; local
1135 ceph_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
1247 struct page *page = vmf->page; local
[all...]
/fs/coda/
H A Dsymlink.c23 static int coda_symlink_filler(struct file *file, struct page *page) argument
25 struct inode *inode = page->mapping->host;
29 char *p = kmap(page);
36 SetPageUptodate(page);
37 kunmap(page);
38 unlock_page(page);
42 SetPageError(page);
43 kunmap(page);
44 unlock_page(page);
[all...]
/fs/squashfs/
H A Dfile_direct.c23 static int squashfs_read_cache(struct page *target_page, u64 block, int bsize,
24 int pages, struct page **page);
26 /* Read separately compressed datablock directly into page cache */
27 int squashfs_readpage_block(struct page *target_page, u64 block, int bsize)
38 struct page **page; local
47 page = kmalloc_array(pages, sizeof(void *), GFP_KERNEL);
48 if (page == NULL)
52 * Create a "page acto
140 squashfs_read_cache(struct page *target_page, u64 block, int bsize, int pages, struct page **page) argument
[all...]
/fs/logfs/
H A Dfile.c14 struct page **pagep, void **fsdata)
17 struct page *page; local
20 page = grab_cache_page_write_begin(mapping, index, flags);
21 if (!page)
23 *pagep = page;
25 if ((len == PAGE_CACHE_SIZE) || PageUptodate(page))
32 zero_user_segments(page, 0, start, end, PAGE_CACHE_SIZE);
35 return logfs_readpage_nolock(page);
39 loff_t pos, unsigned len, unsigned copied, struct page *pag
38 logfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
82 logfs_readpage(struct file *file, struct page *page) argument
96 clear_radix_tree_dirty(struct page *page) argument
103 __logfs_writepage(struct page *page) argument
117 logfs_writepage(struct page *page, struct writeback_control *wbc) argument
162 logfs_invalidatepage(struct page *page, unsigned int offset, unsigned int length) argument
179 logfs_releasepage(struct page *page, gfp_t only_xfs_uses_this) argument
[all...]
/fs/nfs/
H A Dsymlink.c8 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM
25 /* Symlink caching in the page cache is even more simplistic
29 static int nfs_symlink_filler(struct inode *inode, struct page *page) argument
33 error = NFS_PROTO(inode)->readlink(inode, page, 0, PAGE_SIZE);
36 SetPageUptodate(page);
37 unlock_page(page);
41 SetPageError(page);
42 unlock_page(page);
49 struct page *pag local
[all...]
H A Dfscache.h83 extern void __nfs_fscache_invalidate_page(struct page *, struct inode *);
84 extern int nfs_fscache_release_page(struct page *, gfp_t);
87 struct inode *, struct page *);
91 extern void __nfs_readpage_to_fscache(struct inode *, struct page *, int);
94 * wait for a page to complete writing to the cache
97 struct page *page)
99 if (PageFsCache(page))
100 fscache_wait_on_page_write(nfsi->fscache, page);
104 * release the caching state associated with a page i
96 nfs_fscache_wait_on_page_write(struct nfs_inode *nfsi, struct page *page) argument
107 nfs_fscache_invalidate_page(struct page *page, struct inode *inode) argument
117 nfs_readpage_from_fscache(struct nfs_open_context *ctx, struct inode *inode, struct page *page) argument
145 nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) argument
193 nfs_fscache_release_page(struct page *page, gfp_t gfp) argument
197 nfs_fscache_invalidate_page(struct page *page, struct inode *inode) argument
199 nfs_fscache_wait_on_page_write(struct nfs_inode *nfsi, struct page *page) argument
202 nfs_readpage_from_fscache(struct nfs_open_context *ctx, struct inode *inode, struct page *page) argument
216 nfs_readpage_to_fscache(struct inode *inode, struct page *page, int sync) argument
[all...]
/fs/cifs/
H A Dfscache.h50 extern void __cifs_fscache_invalidate_page(struct page *, struct inode *);
51 extern int cifs_fscache_release_page(struct page *page, gfp_t gfp);
52 extern int __cifs_readpage_from_fscache(struct inode *, struct page *);
59 extern void __cifs_readpage_to_fscache(struct inode *, struct page *);
61 static inline void cifs_fscache_invalidate_page(struct page *page, argument
64 if (PageFsCache(page))
65 __cifs_fscache_invalidate_page(page, inode);
69 struct page *pag
68 cifs_readpage_from_fscache(struct inode *inode, struct page *page) argument
88 cifs_readpage_to_fscache(struct inode *inode, struct page *page) argument
118 cifs_fscache_release_page(struct page *page, gfp_t gfp) argument
123 cifs_fscache_invalidate_page(struct page *page, struct inode *inode) argument
126 cifs_readpage_from_fscache(struct inode *inode, struct page *page) argument
139 cifs_readpage_to_fscache(struct inode *inode, struct page *page) argument
[all...]
/fs/nilfs2/
H A Dpage.c2 * page.c - buffer/page management specific to NILFS
28 #include <linux/page-flags.h>
34 #include "page.h"
43 __nilfs_get_page_block(struct page *page, unsigned long block, pgoff_t index, argument
50 if (!page_has_buffers(page))
51 create_empty_buffers(page, 1 << blkbits, b_state);
54 bh = nilfs_page_get_nth_block(page, block - first_block);
68 struct page *pag local
91 struct page *page = bh->b_page; local
157 nilfs_page_buffers_clean(struct page *page) argument
170 nilfs_page_bug(struct page *page) argument
272 struct page *page = pvec.pages[i], *dpage; local
328 struct page *page = pvec.pages[i], *dpage; local
390 struct page *page = pvec.pages[i]; local
406 nilfs_clear_dirty_page(struct page *page, bool silent) argument
447 nilfs_page_count_clean_buffers(struct page *page, unsigned from, unsigned to) argument
486 __nilfs_clear_page_dirty(struct page *page) argument
527 struct page *page; local
[all...]
H A Ddir.c47 #include "page.h"
58 static inline void nilfs_put_page(struct page *page) argument
60 kunmap(page);
61 page_cache_release(page);
70 * Return the offset into page `page_nr' of the last valid
71 * byte in that page, plus one.
83 static int nilfs_prepare_chunk(struct page *page, unsigned from, unsigned to) argument
85 loff_t pos = page_offset(page)
89 nilfs_commit_chunk(struct page *page, struct address_space *mapping, unsigned from, unsigned to) argument
110 nilfs_check_page(struct page *page) argument
188 struct page *page = read_mapping_page(mapping, n, NULL); local
275 struct page *page = nilfs_get_page(inode, n); local
332 struct page *page = NULL; local
388 struct page *page = nilfs_get_page(dir, 0); local
403 struct page *page; local
415 nilfs_set_link(struct inode *dir, struct nilfs_dir_entry *de, struct page *page, struct inode *inode) argument
444 struct page *page = NULL; local
536 nilfs_delete_entry(struct nilfs_dir_entry *dir, struct page *page) argument
579 struct page *page = grab_cache_page(mapping, 0); local
620 struct page *page = NULL; local
[all...]
H A Dpage.h2 * page.h - buffer/page management specific to NILFS
47 int __nilfs_clear_page_dirty(struct page *);
53 int nilfs_page_buffers_clean(struct page *);
54 void nilfs_page_bug(struct page *);
58 void nilfs_clear_dirty_page(struct page *, bool);
62 unsigned nilfs_page_count_clean_buffers(struct page *, unsigned, unsigned);
67 #define NILFS_PAGE_BUG(page, m, a...) \
68 do { nilfs_page_bug(page); BUG(); } while (0)
71 nilfs_page_get_nth_block(struct page *pag argument
[all...]
/fs/sysv/
H A Ddir.c30 static inline void dir_put_page(struct page *page) argument
32 kunmap(page);
33 page_cache_release(page);
41 static int dir_commit_chunk(struct page *page, loff_t pos, unsigned len) argument
43 struct address_space *mapping = page->mapping;
47 block_write_end(NULL, mapping, pos, len, len, page, NULL);
53 err = write_one_page(page, 1);
55 unlock_page(page);
62 struct page *page = read_mapping_page(mapping, n, NULL); local
87 struct page *page = dir_get_page(inode, n); local
138 struct page *page = NULL; local
182 struct page *page = NULL; local
234 sysv_delete_entry(struct sysv_dir_entry *de, struct page *page) argument
254 struct page *page = grab_cache_page(inode->i_mapping, 0); local
291 struct page *page = NULL; local
331 sysv_set_link(struct sysv_dir_entry *de, struct page *page, struct inode *inode) argument
351 struct page *page = dir_get_page(dir, 0); local
363 struct page *page; local
[all...]
/fs/afs/
H A Dfile.c21 static int afs_readpage(struct file *file, struct page *page);
22 static void afs_invalidatepage(struct page *page, unsigned int offset,
24 static int afs_releasepage(struct page *page, gfp_t gfp_flags);
25 static int afs_launder_page(struct page *page);
108 * deal with notification that a page was read from the cache
110 static void afs_file_readpage_read_complete(struct page *pag argument
127 afs_page_filler(void *data, struct page *page) argument
217 afs_readpage(struct file *file, struct page *page) argument
302 afs_launder_page(struct page *page) argument
314 afs_invalidatepage(struct page *page, unsigned int offset, unsigned int length) argument
351 afs_releasepage(struct page *page, gfp_t gfp_flags) argument
[all...]
/fs/exofs/
H A Ddir.c41 static inline void exofs_put_page(struct page *page) argument
43 kunmap(page);
44 page_cache_release(page);
63 static int exofs_commit_chunk(struct page *page, loff_t pos, unsigned len) argument
65 struct address_space *mapping = page->mapping;
71 if (!PageUptodate(page))
72 SetPageUptodate(page);
78 set_page_dirty(page);
88 exofs_check_page(struct page *page) argument
166 struct page *page = read_mapping_page(mapping, n, NULL); local
258 struct page *page = exofs_get_page(inode, n); local
317 struct page *page = NULL; local
365 struct page *page = exofs_get_page(dir, 0); local
378 struct page *page; local
395 struct page *page; local
405 exofs_set_link(struct inode *dir, struct exofs_dir_entry *de, struct page *page, struct inode *inode) argument
438 struct page *page = NULL; local
525 exofs_delete_entry(struct exofs_dir_entry *dir, struct page *page) argument
578 struct page *page = grab_cache_page(mapping, 0); local
617 struct page *page = NULL; local
[all...]
/fs/ecryptfs/
H A Dmmap.c30 #include <linux/page-flags.h>
42 * Get one page from cache or lower f/s, return error otherwise.
44 * Returns locked and up-to-date page (if ok), with increased
47 struct page *ecryptfs_get_locked_page(struct inode *inode, loff_t index)
49 struct page *page = read_mapping_page(inode->i_mapping, index, NULL); local
50 if (!IS_ERR(page))
51 lock_page(page);
52 return page;
57 * @page
65 ecryptfs_writepage(struct page *page, struct writeback_control *wbc) argument
122 ecryptfs_copy_up_encrypted_with_header(struct page *page, struct ecryptfs_crypt_stat *crypt_stat) argument
194 ecryptfs_readpage(struct file *file, struct page *page) argument
249 fill_zeros_to_end_of_page(struct page *page, unsigned int to) argument
284 struct page *page; local
478 ecryptfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
[all...]
/fs/ext2/
H A Ddir.c67 static inline void ext2_put_page(struct page *page) argument
69 kunmap(page);
70 page_cache_release(page);
79 * Return the offset into page `page_nr' of the last valid
80 * byte in that page, plus one.
93 static int ext2_commit_chunk(struct page *page, loff_t pos, unsigned len) argument
95 struct address_space *mapping = page->mapping;
100 block_write_end(NULL, mapping, pos, len, len, page, NUL
118 ext2_check_page(struct page *page, int quiet) argument
206 struct page *page = read_mapping_page(mapping, n, NULL); local
311 struct page *page = ext2_get_page(inode, n, 0); local
374 struct page *page = NULL; local
433 struct page *page = ext2_get_page(dir, 0, 0); local
447 struct page *page; local
457 ext2_prepare_chunk(struct page *page, loff_t pos, unsigned len) argument
463 ext2_set_link(struct inode *dir, struct ext2_dir_entry_2 *de, struct page *page, struct inode *inode, int update_times) argument
495 struct page *page = NULL; local
631 struct page *page = grab_cache_page(inode->i_mapping, 0); local
672 struct page *page = NULL; local
[all...]
/fs/ufs/
H A Ddir.c15 * Migration to usage of "page cache" on May 2006 by
43 static int ufs_commit_chunk(struct page *page, loff_t pos, unsigned len) argument
45 struct address_space *mapping = page->mapping;
50 block_write_end(NULL, mapping, pos, len, len, page, NULL);
56 err = write_one_page(page, 1);
58 unlock_page(page);
62 static inline void ufs_put_page(struct page *page) argument
64 kunmap(page);
77 struct page *page; local
89 ufs_set_link(struct inode *dir, struct ufs_dir_entry *de, struct page *page, struct inode *inode) argument
111 ufs_check_page(struct page *page) argument
193 struct page *page = read_mapping_page(mapping, n, NULL); local
232 struct page *page = ufs_get_page(dir, 0); local
260 struct page *page = NULL; local
321 struct page *page = NULL; local
454 struct page *page = ufs_get_page(inode, n); local
511 ufs_delete_entry(struct inode *inode, struct ufs_dir_entry *dir, struct page * page) argument
563 struct page *page = grab_cache_page(mapping, 0); local
610 struct page *page = NULL; local
[all...]
/fs/efs/
H A Dsymlink.c14 static int efs_symlink_readpage(struct file *file, struct page *page) argument
16 char *link = kmap(page);
18 struct inode * inode = page->mapping->host;
41 SetPageUptodate(page);
42 kunmap(page);
43 unlock_page(page);
46 SetPageError(page);
47 kunmap(page);
48 unlock_page(page);
[all...]
/fs/jfs/
H A Djfs_metapage.c38 uint pagealloc; /* # of page allocations */
39 uint pagefree; /* # of page frees */
61 unlock_page(mp->page);
63 lock_page(mp->page);
71 * Must have mp->page locked
92 #define mp_anchor(page) ((struct meta_anchor *)page_private(page))
94 static inline struct metapage *page_to_mp(struct page *page, int offset) argument
96 if (!PagePrivate(page))
101 insert_metapage(struct page *page, struct metapage *mp) argument
128 remove_metapage(struct page *page, struct metapage *mp) argument
147 inc_io(struct page *page) argument
152 dec_io(struct page *page, void (*handler) (struct page *)) argument
159 page_to_mp(struct page *page, int offset) argument
164 insert_metapage(struct page *page, struct metapage *mp) argument
174 remove_metapage(struct page *page, struct metapage *mp) argument
240 drop_metapage(struct page *page, struct metapage *mp) argument
279 last_read_complete(struct page *page) argument
288 struct page *page = bio->bi_private; local
321 last_write_complete(struct page *page) argument
343 struct page *page = bio->bi_private; local
355 metapage_writepage(struct page *page, struct writeback_control *wbc) argument
490 metapage_readpage(struct file *fp, struct page *page) argument
546 metapage_releasepage(struct page *page, gfp_t gfp_mask) argument
575 metapage_invalidatepage(struct page *page, unsigned int offset, unsigned int length) argument
601 struct page *page; local
712 struct page *page = mp->page; local
745 struct page *page = mp->page; local
786 struct page *page; local
[all...]
/fs/qnx6/
H A Ddir.c26 static struct page *qnx6_get_page(struct inode *dir, unsigned long n)
29 struct page *page = read_mapping_page(mapping, n, NULL); local
30 if (!IS_ERR(page))
31 kmap(page);
32 return page;
51 struct page **p)
56 /* within page */
59 struct page *page local
74 struct page *page; local
132 struct page *page = qnx6_get_page(inode, n); local
184 struct page *page; local
222 struct page *page = NULL; local
[all...]

Completed in 819 milliseconds

1234567891011>>