Lines Matching refs:ceph_wbc
559 struct ceph_writeback_ctl ceph_wbc; in writepage_nounlock() local
572 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
585 if (page_off >= ceph_wbc.i_size) { in writepage_nounlock()
587 ceph_wbc.i_size); in writepage_nounlock()
592 if (ceph_wbc.i_size < page_off + len) in writepage_nounlock()
593 len = ceph_wbc.i_size - page_off; in writepage_nounlock()
604 ceph_wbc.truncate_seq, ceph_wbc.truncate_size, in writepage_nounlock()
799 struct ceph_writeback_ctl ceph_wbc; in ceph_writepages_start() local
831 snapc = get_oldest_context(inode, &ceph_wbc, NULL); in ceph_writepages_start()
842 if (ceph_wbc.head_snapc && snapc != last_snapc) { in ceph_writepages_start()
857 } else if (!ceph_wbc.head_snapc) { in ceph_writepages_start()
908 !ceph_wbc.head_snapc && in ceph_writepages_start()
914 if (page_offset(page) >= ceph_wbc.i_size) { in ceph_writepages_start()
918 folio->index, ceph_wbc.i_size); in ceph_writepages_start()
919 if ((ceph_wbc.size_stable || in ceph_writepages_start()
1044 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
1045 ceph_wbc.truncate_size, false); in ceph_writepages_start()
1054 snapc, ceph_wbc.truncate_seq, in ceph_writepages_start()
1055 ceph_wbc.truncate_size, true); in ceph_writepages_start()
1105 if (ceph_wbc.size_stable) { in ceph_writepages_start()
1106 len = min(len, ceph_wbc.i_size - offset); in ceph_writepages_start()
1182 !ceph_wbc.head_snapc) { in ceph_writepages_start()