Home
last modified time | relevance | path

Searched refs:snapid (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_snap.c68 void *snapid = NULL; in ufs_snap_create() local
185 snapid = fssnap_create(nchunks, chunksize, fiosnapp->maxsize, vp, in ufs_snap_create()
188 if (snapid == NULL) { in ufs_snap_create()
194 error = ufs_snap_find_candidates(snapid, ufsvfsp, chunksize); in ufs_snap_create()
195 fiosnapp->snapshotnumber = fssnap_create_done(snapid); in ufs_snap_create()
204 ufsvfsp->vfs_snapshot = snapid; in ufs_snap_create()
220 if (error && snapid != NULL) in ufs_snap_create()
221 (void) fssnap_delete(&snapid); in ufs_snap_create()
279 ufs_snap_find_candidates(void *snapid, struct ufsvfs *ufsvfsp, int chunksize) in ufs_snap_find_candidates() argument
332 fssnap_set_candidate(snapid, chunk); in ufs_snap_find_candidates()
/illumos-gate/usr/src/uts/common/io/
H A Dfssnap_if.c64 void *snapid = NULL; in fssnap_create() local
67 snapid = (snapops.fssnap_create)(nchunks, chunksz, maxsize, in fssnap_create()
70 return (snapid); in fssnap_create()
/illumos-gate/usr/src/cmd/svc/configd/
H A Dfile_object.c409 uint32_t snapid; in snapshot_lnk_delete() local
419 r = backend_tx_run_single_int(tx, q, &snapid); in snapshot_lnk_delete()
425 return (delete_stack_push(dip, be, &snaplevel_tbl_delete, snapid, 0)); in snapshot_lnk_delete()
2183 uint32_t snapid; in object_snapshot_do_take() local
2189 snapid = backend_new_id(tx, BACKEND_ID_SNAPSHOT); in object_snapshot_do_take()
2190 if (snapid == 0) { in object_snapshot_do_take()
2242 result = object_snapshot_add_level(tx, snapid, 1, in object_snapshot_do_take()
2248 result = object_snapshot_add_level(tx, snapid, 2, in object_snapshot_do_take()
2254 *snapid_out = snapid; in object_snapshot_do_take()
2284 uint32_t snapid = 0; in object_snapshot_take_new() local
[all …]
H A Drc_node.c5128 uint32_t snapid, in rc_attach_snapshot() argument
5145 assert(snapid == 0); in rc_attach_snapshot()
5287 if (np->rn_snapshot_id == snapid) { in rc_attach_snapshot()
5300 if (nnp->rn_snapshot_id == snapid) { in rc_attach_snapshot()
5319 nnp->rn_snapshot_id = snapid; in rc_attach_snapshot()
5330 rc = object_snapshot_attach(&np->rn_id, &snapid, (parentp != NULL)); in rc_attach_snapshot()
5333 nnp->rn_snapshot_id = snapid; /* fill in new snapid */ in rc_attach_snapshot()
5335 assert(nnp->rn_snapshot_id == snapid); in rc_attach_snapshot()
5526 uint32_t snapid; in rc_snapshot_attach() local
5537 snapid = np->rn_snapshot_id; in rc_snapshot_attach()
[all …]