Lines Matching refs:ceph_wbc
600 struct ceph_writeback_ctl ceph_wbc; in writepage_nounlock() local
612 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
625 if (page_off >= ceph_wbc.i_size) { in writepage_nounlock()
626 dout("%p page eof %llu\n", page, ceph_wbc.i_size); in writepage_nounlock()
631 if (ceph_wbc.i_size < page_off + len) in writepage_nounlock()
632 len = ceph_wbc.i_size - page_off; in writepage_nounlock()
644 ceph_wbc.truncate_seq, ceph_wbc.truncate_size, in writepage_nounlock()
827 struct ceph_writeback_ctl ceph_wbc; in ceph_writepages_start() local
854 snapc = get_oldest_context(inode, &ceph_wbc, NULL); in ceph_writepages_start()
865 if (ceph_wbc.head_snapc && snapc != last_snapc) { in ceph_writepages_start()
880 } else if (!ceph_wbc.head_snapc) { in ceph_writepages_start()
931 !ceph_wbc.head_snapc && in ceph_writepages_start()
937 if (page_offset(page) >= ceph_wbc.i_size) { in ceph_writepages_start()
939 page, ceph_wbc.i_size); in ceph_writepages_start()
940 if ((ceph_wbc.size_stable || in ceph_writepages_start()
1067 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
1068 ceph_wbc.truncate_size, false); in ceph_writepages_start()
1077 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
1078 ceph_wbc.truncate_size, true); in ceph_writepages_start()
1115 if (ceph_wbc.size_stable) { in ceph_writepages_start()
1116 len = min(len, ceph_wbc.i_size - offset); in ceph_writepages_start()
1193 !ceph_wbc.head_snapc) { in ceph_writepages_start()