Lines Matching refs:snaps
206 kfree(realm->snaps); in __destroy_snap_realm()
392 if (parent->cached_context->snaps[i] >= in build_snap_context()
394 snapc->snaps[num++] = in build_snap_context()
395 parent->cached_context->snaps[i]; in build_snap_context()
399 memcpy(snapc->snaps + num, realm->snaps, in build_snap_context()
402 memcpy(snapc->snaps + num, realm->prior_parent_snaps, in build_snap_context()
406 sort(snapc->snaps, num, sizeof(u64), cmpu64_rev, NULL); in build_snap_context()
513 return n->snaps[0] > o->seq; in has_new_snaps()
785 __le64 *snaps; /* encoded */ in ceph_update_snap_trace() local
807 snaps = p; in ceph_update_snap_trace()
836 err = dup_array(&realm->snaps, snaps, realm->num_snaps); in ceph_update_snap_trace()