Lines Matching refs:num_snaps
307 u32 num = realm->num_prior_parent_snaps + realm->num_snaps; in build_snap_context()
320 num += parent->cached_context->num_snaps; in build_snap_context()
335 (unsigned int) realm->cached_context->num_snaps); in build_snap_context()
355 for (i = 0; i < parent->cached_context->num_snaps; i++) in build_snap_context()
364 sizeof(u64)*realm->num_snaps); in build_snap_context()
365 num += realm->num_snaps; in build_snap_context()
371 snapc->num_snaps = num; in build_snap_context()
374 (unsigned int) snapc->num_snaps); in build_snap_context()
433 if (n->num_snaps == 0) in has_new_snaps()
680 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace()
683 p += sizeof(u64) * le32_to_cpu(ri->num_snaps); in ceph_update_snap_trace()
710 realm->num_snaps = le32_to_cpu(ri->num_snaps); in ceph_update_snap_trace()
711 err = dup_array(&realm->snaps, snaps, realm->num_snaps); in ceph_update_snap_trace()