Lines Matching refs:ceph_wbc
608 struct ceph_writeback_ctl ceph_wbc; in writepage_nounlock() local
620 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
633 if (page_off >= ceph_wbc.i_size) { in writepage_nounlock()
634 dout("%p page eof %llu\n", page, ceph_wbc.i_size); in writepage_nounlock()
639 if (ceph_wbc.i_size < page_off + len) in writepage_nounlock()
640 len = ceph_wbc.i_size - page_off; in writepage_nounlock()
652 ceph_wbc.truncate_seq, ceph_wbc.truncate_size, in writepage_nounlock()
835 struct ceph_writeback_ctl ceph_wbc; in ceph_writepages_start() local
862 snapc = get_oldest_context(inode, &ceph_wbc, NULL); in ceph_writepages_start()
873 if (ceph_wbc.head_snapc && snapc != last_snapc) { in ceph_writepages_start()
888 } else if (!ceph_wbc.head_snapc) { in ceph_writepages_start()
939 !ceph_wbc.head_snapc && in ceph_writepages_start()
945 if (page_offset(page) >= ceph_wbc.i_size) { in ceph_writepages_start()
947 page, ceph_wbc.i_size); in ceph_writepages_start()
948 if ((ceph_wbc.size_stable || in ceph_writepages_start()
1075 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
1076 ceph_wbc.truncate_size, false); in ceph_writepages_start()
1085 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
1086 ceph_wbc.truncate_size, true); in ceph_writepages_start()
1123 if (ceph_wbc.size_stable) { in ceph_writepages_start()
1124 len = min(len, ceph_wbc.i_size - offset); in ceph_writepages_start()
1201 !ceph_wbc.head_snapc) { in ceph_writepages_start()