Lines Matching refs:snaps
33 * explicitly created on that realm, as well as any snaps in its
35 * parent (due to, say, a rename). Similarly, snaps from prior parents
40 * realm relationship, and for each realm has an explicit list of snaps
50 * realm, which simply lists the resulting set of snaps for the realm. This
204 kfree(realm->snaps);
343 * conservatively estimate that all parent snaps might be
363 dout("%s %llx %p: %p seq %lld (%u snaps) (unchanged)\n",
384 /* include any of parent's snaps occurring _after_ my
387 if (parent->cached_context->snaps[i] >=
389 snapc->snaps[num++] =
390 parent->cached_context->snaps[i];
394 memcpy(snapc->snaps + num, realm->snaps,
397 memcpy(snapc->snaps + num, realm->prior_parent_snaps,
401 sort(snapc->snaps, num, sizeof(u64), cmpu64_rev, NULL);
403 dout("%s %llx %p: %p seq %lld (%u snaps)\n", __func__, realm->ino,
504 /* snaps are in descending order */
505 return n->snaps[0] > o->seq;
770 __le64 *snaps; /* encoded */
792 snaps = p;
821 err = dup_array(&realm->snaps, snaps, realm->num_snaps);
869 * queue cap snaps _after_ we've built the new snap contexts,