Lines Matching refs:cached_context
205 ceph_put_snap_context(realm->cached_context);
347 if (!parent->cached_context) {
352 num += parent->cached_context->num_snaps;
359 if (realm->cached_context &&
360 realm->cached_context->seq == realm->seq &&
362 realm->cached_context->seq >= parent->cached_context->seq)) {
364 __func__, realm->ino, realm, realm->cached_context,
365 realm->cached_context->seq,
366 (unsigned int)realm->cached_context->num_snaps);
386 for (i = 0; i < parent->cached_context->num_snaps; i++)
387 if (parent->cached_context->snaps[i] >=
390 parent->cached_context->snaps[i];
391 if (parent->cached_context->seq > snapc->seq)
392 snapc->seq = parent->cached_context->seq;
406 ceph_put_snap_context(realm->cached_context);
407 realm->cached_context = snapc;
414 * if we fail, clear old (incorrect) cached_context... hopefully
417 if (realm->cached_context) {
418 ceph_put_snap_context(realm->cached_context);
419 realm->cached_context = NULL;
536 new_snapc = ci->i_snap_realm->cached_context;
836 } else if (!realm->cached_context) {