Searched refs:snapid (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | ufs_snap.c | 70 void *snapid = NULL; in ufs_snap_create() local 187 snapid = fssnap_create(nchunks, chunksize, fiosnapp->maxsize, vp, in ufs_snap_create() 190 if (snapid == NULL) { in ufs_snap_create() 196 error = ufs_snap_find_candidates(snapid, ufsvfsp, chunksize); in ufs_snap_create() 197 fiosnapp->snapshotnumber = fssnap_create_done(snapid); in ufs_snap_create() 206 ufsvfsp->vfs_snapshot = snapid; in ufs_snap_create() 222 if (error && snapid != NULL) in ufs_snap_create() 223 (void) fssnap_delete(&snapid); in ufs_snap_create() 281 ufs_snap_find_candidates(void *snapid, struct ufsvfs *ufsvfsp, int chunksize) in ufs_snap_find_candidates() argument 334 fssnap_set_candidate(snapid, chunk); in ufs_snap_find_candidates()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | fssnap_if.c | 66 void *snapid = NULL; in fssnap_create() local 69 snapid = (snapops.fssnap_create)(nchunks, chunksz, maxsize, in fssnap_create() 72 return (snapid); in fssnap_create()
|
/titanic_44/usr/src/cmd/svc/configd/ |
H A D | file_object.c | 410 uint32_t snapid; in snapshot_lnk_delete() local 420 r = backend_tx_run_single_int(tx, q, &snapid); in snapshot_lnk_delete() 426 return (delete_stack_push(dip, be, &snaplevel_tbl_delete, snapid, 0)); in snapshot_lnk_delete() 2184 uint32_t snapid; in object_snapshot_do_take() local 2190 snapid = backend_new_id(tx, BACKEND_ID_SNAPSHOT); in object_snapshot_do_take() 2191 if (snapid == 0) { in object_snapshot_do_take() 2243 result = object_snapshot_add_level(tx, snapid, 1, in object_snapshot_do_take() 2249 result = object_snapshot_add_level(tx, snapid, 2, in object_snapshot_do_take() 2255 *snapid_out = snapid; in object_snapshot_do_take() 2285 uint32_t snapid = 0; in object_snapshot_take_new() local [all …]
|
H A D | rc_node.c | 5134 uint32_t snapid, in rc_attach_snapshot() argument 5151 assert(snapid == 0); in rc_attach_snapshot() 5293 if (np->rn_snapshot_id == snapid) { in rc_attach_snapshot() 5306 if (nnp->rn_snapshot_id == snapid) { in rc_attach_snapshot() 5325 nnp->rn_snapshot_id = snapid; in rc_attach_snapshot() 5336 rc = object_snapshot_attach(&np->rn_id, &snapid, (parentp != NULL)); in rc_attach_snapshot() 5339 nnp->rn_snapshot_id = snapid; /* fill in new snapid */ in rc_attach_snapshot() 5341 assert(nnp->rn_snapshot_id == snapid); in rc_attach_snapshot() 5532 uint32_t snapid; in rc_snapshot_attach() local 5543 snapid = np->rn_snapshot_id; in rc_snapshot_attach() [all …]
|