Lines Matching refs:snaps
32 * explicitly created on that realm, as well as any snaps in its
34 * parent (due to, say, a rename). Similarly, snaps from prior parents
39 * realm relationship, and for each realm has an explicit list of snaps
49 * realm, which simply lists the resulting set of snaps for the realm. This
198 kfree(realm->snaps);
332 * conservatively estimate that all parent snaps might be
352 dout("build_snap_context %llx %p: %p seq %lld (%u snaps)"
374 /* include any of parent's snaps occurring _after_ my
377 if (parent->cached_context->snaps[i] >=
379 snapc->snaps[num++] =
380 parent->cached_context->snaps[i];
384 memcpy(snapc->snaps + num, realm->snaps,
387 memcpy(snapc->snaps + num, realm->prior_parent_snaps,
391 sort(snapc->snaps, num, sizeof(u64), cmpu64_rev, NULL);
393 dout("build_snap_context %llx %p: %p seq %lld (%u snaps)\n",
459 /* snaps are in descending order */
460 return n->snaps[0] > o->seq;
700 __le64 *snaps; /* encoded */
720 snaps = p;
749 err = dup_array(&realm->snaps, snaps, realm->num_snaps);
797 * queue cap snaps _after_ we've built the new snap contexts,