Lines Matching refs:oldest
580 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock() local
597 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
598 if (snapc->seq > oldest->seq) { in writepage_nounlock()
603 ceph_put_snap_context(oldest); in writepage_nounlock()
607 ceph_put_snap_context(oldest); in writepage_nounlock()
1209 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); in context_is_writeable_or_written() local
1210 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1212 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
1236 struct ceph_snap_context *snapc, *oldest; in ceph_update_writeable_page() local
1254 oldest = get_oldest_context(inode, NULL, NULL); in ceph_update_writeable_page()
1255 if (snapc->seq > oldest->seq) { in ceph_update_writeable_page()
1256 ceph_put_snap_context(oldest); in ceph_update_writeable_page()
1273 ceph_put_snap_context(oldest); in ceph_update_writeable_page()