Lines Matching refs:cached_context
185 ceph_put_snap_context(realm->cached_context); in __destroy_snap_realm()
317 if (!parent->cached_context) { in build_snap_context()
322 num += parent->cached_context->num_snaps; in build_snap_context()
329 if (realm->cached_context && in build_snap_context()
330 realm->cached_context->seq == realm->seq && in build_snap_context()
332 realm->cached_context->seq >= parent->cached_context->seq)) { in build_snap_context()
335 realm->ino, realm, realm->cached_context, in build_snap_context()
336 realm->cached_context->seq, in build_snap_context()
337 (unsigned int) realm->cached_context->num_snaps); in build_snap_context()
357 for (i = 0; i < parent->cached_context->num_snaps; i++) in build_snap_context()
358 if (parent->cached_context->snaps[i] >= in build_snap_context()
361 parent->cached_context->snaps[i]; in build_snap_context()
362 if (parent->cached_context->seq > snapc->seq) in build_snap_context()
363 snapc->seq = parent->cached_context->seq; in build_snap_context()
378 ceph_put_snap_context(realm->cached_context); in build_snap_context()
379 realm->cached_context = snapc; in build_snap_context()
387 if (realm->cached_context) { in build_snap_context()
388 ceph_put_snap_context(realm->cached_context); in build_snap_context()
389 realm->cached_context = NULL; in build_snap_context()
473 new_snapc = ci->i_snap_realm->cached_context; in ceph_queue_cap_snap()
730 } else if (!realm->cached_context) { in ceph_update_snap_trace()