Lines Matching refs:oldest
596 struct ceph_snap_context *snapc, *oldest; in writepage_nounlock() local
612 oldest = get_oldest_context(inode, &ceph_wbc, snapc); in writepage_nounlock()
613 if (snapc->seq > oldest->seq) { in writepage_nounlock()
618 ceph_put_snap_context(oldest); in writepage_nounlock()
622 ceph_put_snap_context(oldest); in writepage_nounlock()
1234 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL); in context_is_writeable_or_written() local
1235 int ret = !oldest || snapc->seq <= oldest->seq; in context_is_writeable_or_written()
1237 ceph_put_snap_context(oldest); in context_is_writeable_or_written()
1265 struct ceph_snap_context *snapc, *oldest; in ceph_find_incompatible() local
1277 oldest = get_oldest_context(inode, NULL, NULL); in ceph_find_incompatible()
1278 if (snapc->seq > oldest->seq) { in ceph_find_incompatible()
1280 ceph_put_snap_context(oldest); in ceph_find_incompatible()
1284 ceph_put_snap_context(oldest); in ceph_find_incompatible()