Lines Matching refs:oldest
576 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock() local
593 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
594 if (snapc->seq > oldest->seq) { in writepage_nounlock()
599 ceph_put_snap_context(oldest); in writepage_nounlock()
603 ceph_put_snap_context(oldest); in writepage_nounlock()
1192 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); in context_is_writeable_or_written() local
1193 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1195 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
1219 struct ceph_snap_context *snapc, *oldest; in ceph_update_writeable_page() local
1237 oldest = get_oldest_context(inode, NULL, NULL); in ceph_update_writeable_page()
1238 if (snapc->seq > oldest->seq) { in ceph_update_writeable_page()
1239 ceph_put_snap_context(oldest); in ceph_update_writeable_page()
1256 ceph_put_snap_context(oldest); in ceph_update_writeable_page()