/illumos-gate/usr/src/uts/common/io/ |
H A D | bufmod.c | 374 uint_t snap; local 377 snap = *(uint_t *)mp->b_cont->b_rptr; 382 fudge = snap <= 100 ? 4 : 383 snap <= 400 ? 2 : 385 sop->so_hiwat = SNIT_HIWAT(snap, fudge); 386 sop->so_lowat = SNIT_LOWAT(snap, fudge); 814 uint_t snap; local 817 snap = *(uint_t *)mp->b_cont->b_rptr; 822 fudge = (snap <= 100) ? 4 : 823 (snap < [all...] |
H A D | gldutil.c | 1194 /* create the snap header */ 1195 struct llc_snap_hdr *snap; local 1197 snap = (struct llc_snap_hdr *)(nmp->b_rptr); 1198 *snap = llc_snap_def; 1199 SET_NET_USHORT(snap->type, type); 1255 /* create the snap header */ 1256 struct llc_snap_hdr *snap; local 1258 snap = (struct llc_snap_hdr *)(nmp->b_rptr); 1259 *snap = llc_snap_def; 1260 snap 1627 struct llc_snap_hdr *snap; local 1733 struct llc_snap_hdr *snap; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/ |
H A D | zfs_get_004_pos.ksh | 52 for snap in $fssnap $volsnap ; do 53 snapexists $snap && \ 54 log_must zfs destroy $snap
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 477 scf_snapshot_t *snap; local 479 snap = scf_snapshot_create(h); 480 if (snap == NULL) 483 if (scf_instance_get_snapshot(inst, "running", snap) == 0) 484 return (snap); 489 scf_snapshot_destroy(snap); 505 scf_snapshot_t *snap = NULL; local 509 snap = get_running_snapshot(inst); 511 r = scf_instance_get_pg_composed(inst, snap, pgname, g_pg); 514 if (snap) 2210 print_application_properties(scf_walkinfo_t *wip, scf_snapshot_t *snap) argument 2420 scf_snapshot_t *snap; local 2688 scf_snapshot_t *snap = scf_snapshot_create(h); local 3181 scf_snapshot_t *snap; local [all...] |
H A D | explain.c | 288 scf_snapshot_t *snap; local 299 snap = g_snap; 304 snap = NULL; 307 if (scf_iter_instance_pgs_typed_composed(g_iter, inst, snap, 1893 scf_snapshot_t *snap; local 1908 snap = NULL; 1910 snap = g_snap; 1913 if (scf_iter_instance_pgs_typed_composed(g_iter, inst, snap,
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_upgrade/ |
H A D | zfs_upgrade.kshlib | 59 typeset current_snap=${current_fs}@snap
|
H A D | zfs_upgrade_001_pos.ksh | 84 typeset current_snap=${current_fs}@snap
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | restarter.c | 321 scf_snapshot_t *snap = NULL; local 374 if (snap != NULL) 375 scf_snapshot_destroy(snap); 382 snap = NULL; 406 snap = libscf_get_running_snapshot(scf_inst); 507 switch (libscf_get_startd_properties(scf_inst, snap, &inst->ri_flags, 535 r = libscf_get_template_values(scf_inst, snap, 678 scf_snapshot_destroy(snap); 691 if (snap != NULL) 692 scf_snapshot_destroy(snap); 1674 scf_snapshot_t *snap; local [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 876 scf_snapshot_t *snap = NULL; local 889 (snap = scf_snapshot_create(h)) == NULL || 902 if (scf_instance_get_snapshot(inst, "running", snap) != 0) { 903 scf_snapshot_destroy(snap); 904 snap = NULL; 906 if (scf_instance_get_pg_composed(inst, snap, pgname, pg) != 0 || 919 if (snap != NULL) 920 scf_snapshot_destroy(snap);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_012_pos.ksh | 112 log_must zfs snapshot $pool/$TESTFS/$TESTFS1@snap 113 log_must zfs clone $pool/$TESTFS/$TESTFS1@snap $pool/$TESTCLONE1
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_send.c | 1283 dsl_dataset_t *snap; local 1289 &snap); 1292 if (snap->ds_dir != ds->ds_dir) { 1293 dsl_dataset_rele(snap, FTAG); 1296 if (dsl_dataset_phys(snap)->ds_guid == fromguid) 1298 obj = dsl_dataset_phys(snap)->ds_prev_snap_obj; 1299 dsl_dataset_rele(snap, FTAG); 1311 if (dsl_dataset_modified_since_snap(ds, snap)) { 1312 dsl_dataset_rele(snap, FTAG); 1318 dsl_dataset_rele(snap, FTA 1491 dsl_dataset_t *snap = NULL; local 3064 dsl_dataset_t *snap; local 3130 dsl_dataset_t *snap; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | xmldocumenttree1.sh | 245 <snap />
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_001_pos.ksh | 38 # 'zfs destroy -r|-rf|-R|-Rf <fs|ctr|vol|snap>' should recursively destroy 43 # models can be created. Only ctr, fs & vol; with snap; with clone. 86 -r|-rf) setup_testenv snap ;; 207 log_assert "'zfs destroy -r|-R|-f|-rf|-Rf <fs|ctr|vol|snap>' should " \ 221 log_pass "'zfs destroy -r|-R|-f|-rf|-Rf <fs|ctr|vol|snap>' passed."
|
H A D | zfs_destroy_005_neg.ksh | 88 setup_testenv snap 133 # without '-f'. Then verify the FS snap and clone are the only datasets 190 # Then verify 'zfs destroy $snap' succeeds without '-f'.
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_001_pos.ksh | 102 rst_snap=${leaf_fs}@snap
|
/illumos-gate/usr/src/lib/libscf/inc/ |
H A D | libscf_priv.h | 165 * _scf_snapshot_attach(inst, snap), scf_snapshot_update() will be 166 * required for any open references to snap or snap2 to see the new 222 scf_snapshot_t *snap; member in struct:scf_simple_handle
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 1293 scf_snapshot_t *snap; local 1331 snap = handle->rh_snapshot; 1355 if (snap != NULL) 1356 scf_snapshot_destroy(snap); 2550 const scf_snapshot_t *snap) 2552 if (snap != NULL && inst->rd_d.rd_handle != snap->rd_d.rd_handle) 2555 return (datael_setup_iter(iter, snap ? &snap->rd_d : &inst->rd_d, 2561 const scf_instance_t *inst, const scf_snapshot_t *snap, cons 2549 scf_iter_instance_pgs_composed(scf_iter_t *iter, const scf_instance_t *inst, const scf_snapshot_t *snap) argument 2560 scf_iter_instance_pgs_typed_composed(scf_iter_t *iter, const scf_instance_t *inst, const scf_snapshot_t *snap, const char *type) argument 2749 _scf_snapshot_delete(scf_snapshot_t *snap) argument 2853 scf_instance_get_pg_composed(const scf_instance_t *inst, const scf_snapshot_t *snap, const char *name, scf_propertygroup_t *pg) argument 3050 scf_snaplevel_get_pg(const scf_snaplevel_t *snap, const char *name, scf_propertygroup_t *pg) argument 3240 scf_snapshot_update(scf_snapshot_t *snap) argument 3387 _scf_snapshot_take(scf_instance_t *inst, const char *name, scf_snapshot_t *snap, int flags) argument 3427 _scf_snapshot_take_new_named(scf_instance_t *inst, const char *svcname, const char *instname, const char *snapname, scf_snapshot_t *snap) argument 3478 _scf_snapshot_take_new(scf_instance_t *inst, const char *name, scf_snapshot_t *snap) argument 3485 _scf_snapshot_take_attach(scf_instance_t *inst, scf_snapshot_t *snap) argument 5849 scf_snapshot_t *snap = HANDLE_HOLD_SNAPSHOT(h); local [all...] |
H A D | midlevel.c | 62 scf_snapshot_destroy(simple_h->snap); 1335 ret->snap = scf_snapshot_create(ret->h); 1340 (ret->snap == NULL) || (ret->running_pg == NULL)) { 1349 if ((scf_instance_get_snapshot(ret->inst, "running", ret->snap)) 1354 if (scf_instance_get_pg_composed(ret->inst, ret->snap, pg_name, 2596 scf_snapshot_t *snap = running ? scf_snapshot_create(h) : NULL; local 2604 if (h == NULL || s == NULL || i == NULL || (running && snap == NULL) || 2623 if (scf_instance_get_snapshot(i, "running", snap) != 2628 if ((instance ? scf_instance_get_pg_composed(i, snap, pgname, pg) : 2731 scf_snapshot_destroy(snap); 2762 scf_snapshot_t *snap = scf_snapshot_create(h); local [all...] |
H A D | notify_params.c | 196 scf_snapshot_t *snap = scf_snapshot_create(h); local 208 if (snap == NULL || slvl == NULL) 210 if (scf_instance_get_snapshot(i, "running", snap) != 0) 214 if (scf_instance_get_pg_composed(i, snap, n, pg) != 0) 217 if (scf_snapshot_get_base_snaplevel(snap, slvl) != 0 || 229 scf_snapshot_destroy(snap);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 2457 ipmp_snap_t *snap; local 2518 retval = getsnap(&snap); 2526 retval = ipmp_writetlv(fd, IPMP_SNAP, sizeof (*snap), snap); 2530 retval = send_grouplist(fd, snap->sn_grlistp); 2534 iflp = snap->sn_ifinfolistp; 2541 grlp = snap->sn_grinfolistp; 2548 adlp = snap->sn_adinfolistp; 2555 ipmp_snap_free(snap);
|
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 273 scf_snapshot_t *snap = NULL; local 304 (snap = scf_snapshot_create(h)) == NULL || 326 snap)) != 0) 329 isnap = snap; 367 scf_snapshot_destroy(snap);
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_pages.c | 336 ses_snap_t *snap = ses_node_snapshot(np); local 351 ses_snap_generation(snap));
|
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 1027 scf_snapshot_t *snap; local 1080 if ((snap = scf_snapshot_create(h)) == NULL || 1100 if (scf_instance_get_snapshot(inst, "running", snap) != 0) { 1104 scf_snapshot_destroy(snap); 1105 snap = NULL; 1109 if (scf_instance_get_pg_composed(inst, snap, SCF_PG_GENERAL, pg) != 0) { 1175 if (scf_iter_instance_pgs_typed_composed(pg_iter, inst, snap, 1316 scf_snapshot_destroy(snap);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc_adm.c | 107 fmd_ustat_snap_t snap; local 124 if (fmd_modstat_snapshot(mp, &snap) == 0) { 125 rms->rms_buf.rms_buf_val = snap.uss_buf; 126 rms->rms_buf.rms_buf_len = snap.uss_len;
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_006_pos.ksh | 108 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$block_size
|