Lines Matching refs:num_snaps
338 u32 num = realm->num_prior_parent_snaps + realm->num_snaps; in build_snap_context()
351 num += parent->cached_context->num_snaps; in build_snap_context()
365 (unsigned int)realm->cached_context->num_snaps); in build_snap_context()
385 for (i = 0; i < parent->cached_context->num_snaps; i++) in build_snap_context()
394 sizeof(u64)*realm->num_snaps); in build_snap_context()
395 num += realm->num_snaps; in build_snap_context()
401 snapc->num_snaps = num; in build_snap_context()
403 realm, snapc, snapc->seq, (unsigned int) snapc->num_snaps); in build_snap_context()
501 if (n->num_snaps == 0) in has_new_snaps()
782 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace()
785 p += sizeof(u64) * le32_to_cpu(ri->num_snaps); in ceph_update_snap_trace()
812 realm->num_snaps = le32_to_cpu(ri->num_snaps); in ceph_update_snap_trace()
813 err = dup_array(&realm->snaps, snaps, realm->num_snaps); in ceph_update_snap_trace()