Lines Matching refs:ceph_wbc
492 struct ceph_writeback_ctl ceph_wbc; in writepage_nounlock() local
504 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
517 if (page_off >= ceph_wbc.i_size) { in writepage_nounlock()
518 dout("%p page eof %llu\n", page, ceph_wbc.i_size); in writepage_nounlock()
523 if (ceph_wbc.i_size < page_off + len) in writepage_nounlock()
524 len = ceph_wbc.i_size - page_off; in writepage_nounlock()
536 ceph_wbc.truncate_seq, ceph_wbc.truncate_size, in writepage_nounlock()
719 struct ceph_writeback_ctl ceph_wbc; in ceph_writepages_start() local
746 snapc = get_oldest_context(inode, &ceph_wbc, NULL); in ceph_writepages_start()
757 if (ceph_wbc.head_snapc && snapc != last_snapc) { in ceph_writepages_start()
772 } else if (!ceph_wbc.head_snapc) { in ceph_writepages_start()
823 !ceph_wbc.head_snapc && in ceph_writepages_start()
829 if (page_offset(page) >= ceph_wbc.i_size) { in ceph_writepages_start()
831 page, ceph_wbc.i_size); in ceph_writepages_start()
832 if ((ceph_wbc.size_stable || in ceph_writepages_start()
959 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
960 ceph_wbc.truncate_size, false); in ceph_writepages_start()
969 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
970 ceph_wbc.truncate_size, true); in ceph_writepages_start()
1007 if (ceph_wbc.size_stable) { in ceph_writepages_start()
1008 len = min(len, ceph_wbc.i_size - offset); in ceph_writepages_start()
1085 !ceph_wbc.head_snapc) { in ceph_writepages_start()