Lines Matching refs:ceph_wbc
583 struct ceph_writeback_ctl ceph_wbc; in writepage_nounlock() local
597 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
610 if (page_off >= ceph_wbc.i_size) { in writepage_nounlock()
611 dout("%p page eof %llu\n", page, ceph_wbc.i_size); in writepage_nounlock()
616 if (ceph_wbc.i_size < page_off + len) in writepage_nounlock()
617 len = ceph_wbc.i_size - page_off; in writepage_nounlock()
629 ceph_wbc.truncate_seq, in writepage_nounlock()
630 ceph_wbc.truncate_size, in writepage_nounlock()
802 struct ceph_writeback_ctl ceph_wbc; in ceph_writepages_start() local
829 snapc = get_oldest_context(inode, &ceph_wbc, NULL); in ceph_writepages_start()
840 if (ceph_wbc.head_snapc && snapc != last_snapc) { in ceph_writepages_start()
855 } else if (!ceph_wbc.head_snapc) { in ceph_writepages_start()
907 !ceph_wbc.head_snapc && in ceph_writepages_start()
913 if (page_offset(page) >= ceph_wbc.i_size) { in ceph_writepages_start()
915 page, ceph_wbc.i_size); in ceph_writepages_start()
916 if (ceph_wbc.size_stable || in ceph_writepages_start()
1042 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
1043 ceph_wbc.truncate_size, false); in ceph_writepages_start()
1052 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
1053 ceph_wbc.truncate_size, true); in ceph_writepages_start()
1090 if (ceph_wbc.size_stable) { in ceph_writepages_start()
1091 len = min(len, ceph_wbc.i_size - offset); in ceph_writepages_start()
1168 !ceph_wbc.head_snapc) { in ceph_writepages_start()