Lines Matching refs:file
178 static int ceph_do_readpage(struct file *filp, struct page *page)
212 dout("readpage ino %llx.%llx file %p off %llu len %llu page %p index %lu\n",
254 static int ceph_readpage(struct file *filp, struct page *page)
453 static int ceph_readpages(struct file *file, struct address_space *mapping,
456 struct inode *inode = file_inode(file);
458 struct ceph_file_info *fi = file->private_data;
474 dout("readpages %p file %p ctx %p nr_pages %d max %d\n",
475 inode, file, rw_ctx, nr_pages, max);
484 dout("readpages %p file %p ret %d\n", inode, file, rc);
624 /* is this a partial page at end of file? */
1185 /* more to do; loop back to beginning of file */
1186 dout("writepages looping back to beginning of file\n");
1305 * - file is currently zero-length
1322 /* pos beyond last page in the file */
1340 static int ceph_write_begin(struct file *file, struct address_space *mapping,
1344 struct inode *inode = file_inode(file);
1351 dout("write_begin file %p inode %p page %p %d~%d\n", file, inode, page, (int)pos, (int)len);
1393 r = ceph_do_readpage(file, page);
1413 static int ceph_write_end(struct file *file, struct address_space *mapping,
1417 struct inode *inode = file_inode(file);
1420 dout("write_end file %p inode %p page %p %d~%d (%d)\n", file,
1432 /* did file size increase? */
1739 int ceph_uninline_data(struct file *filp, struct page *locked_page)
1881 int ceph_mmap(struct file *file, struct vm_area_struct *vma)
1883 struct address_space *mapping = file->f_mapping;
1887 file_accessed(file);