Lines Matching defs:snap_id
142 snapshot_hold_bucket(uint32_t snap_id)
144 snapshot_bucket_t *bp = SNAPSHOT_BUCKET(snap_id);
157 snapshot_lookup_unlocked(snapshot_bucket_t *bp, uint32_t snap_id)
162 assert(bp == SNAPSHOT_BUCKET(snap_id));
165 if (sp->rs_snap_id == snap_id) {
205 * Look up the snapshot with id snap_id in the hash table, or create it
212 rc_snapshot_get(uint32_t snap_id, rc_snapshot_t **snpp)
218 bp = snapshot_hold_bucket(snap_id);
219 sp = snapshot_lookup_unlocked(bp, snap_id);
237 sp->rs_snap_id = snap_id;
252 bp = snapshot_hold_bucket(snap_id);