Lines Matching defs:oldest
623 * Get ref for the oldest snapc for an inode with dirty data... that is, the
730 struct ceph_snap_context *snapc, *oldest;
754 oldest = get_oldest_context(inode, &ceph_wbc, snapc);
755 if (snapc->seq > oldest->seq) {
760 ceph_put_snap_context(oldest);
764 ceph_put_snap_context(oldest);
863 oldest = folio_detach_private(folio);
864 WARN_ON_ONCE(oldest != snapc);
1086 /* find oldest snap context with dirty data */
1095 doutc(cl, " oldest snapc is %p seq %lld (%d snaps)\n",
1167 doutc(cl, "folio snapc %p %lld != oldest %p %lld\n",
1782 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL);
1783 int ret = !oldest || snapc->seq <= oldest->seq;
1785 ceph_put_snap_context(oldest);
1814 struct ceph_snap_context *snapc, *oldest;
1826 oldest = get_oldest_context(inode, NULL, NULL);
1827 if (snapc->seq > oldest->seq) {
1829 ceph_put_snap_context(oldest);
1830 doutc(cl, " %llx.%llx folio %p snapc %p not current or oldest\n",
1834 ceph_put_snap_context(oldest);
1837 doutc(cl, " %llx.%llx folio %p snapc %p not current, but oldest\n",