Lines Matching defs:oldest
498 * Get ref for the oldest snapc for an inode with dirty data... that is, the
596 struct ceph_snap_context *snapc, *oldest;
612 oldest = get_oldest_context(inode, &ceph_wbc, snapc);
613 if (snapc->seq > oldest->seq) {
618 ceph_put_snap_context(oldest);
622 ceph_put_snap_context(oldest);
853 /* find oldest snap context with dirty data */
861 dout(" oldest snapc is %p seq %lld (%d snaps)\n",
928 dout("page snapc %p %lld != oldest %p %lld\n",
1234 struct ceph_snap_context *oldest = get_oldest_context(inode, NULL, NULL);
1235 int ret = !oldest || snapc->seq <= oldest->seq;
1237 ceph_put_snap_context(oldest);
1265 struct ceph_snap_context *snapc, *oldest;
1277 oldest = get_oldest_context(inode, NULL, NULL);
1278 if (snapc->seq > oldest->seq) {
1280 ceph_put_snap_context(oldest);
1281 dout(" page %p snapc %p not current or oldest\n", page, snapc);
1284 ceph_put_snap_context(oldest);
1287 dout(" page %p snapc %p not current, but oldest\n", page, snapc);