Searched refs:snap (Results 126 - 150 of 168) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/io/
H A Dbufmod.c374 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 Dgldutil.c1194 /* 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 Dzfs_get_004_pos.ksh52 for snap in $fssnap $volsnap ; do
53 snapexists $snap && \
54 log_must zfs destroy $snap
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c477 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 Dexplain.c288 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 Dzfs_upgrade.kshlib59 typeset current_snap=${current_fs}@snap
H A Dzfs_upgrade_001_pos.ksh84 typeset current_snap=${current_fs}@snap
/illumos-gate/usr/src/cmd/svc/startd/
H A Drestarter.c321 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 Dlibnwam_util.c876 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 Dzpool_import_012_pos.ksh112 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 Ddmu_send.c1283 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 Dxmldocumenttree1.sh245 <snap />
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_001_pos.ksh38 # '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 Dzfs_destroy_005_neg.ksh88 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 Dzfs_receive_001_pos.ksh102 rst_snap=${leaf_fs}@snap
/illumos-gate/usr/src/lib/libscf/inc/
H A Dlibscf_priv.h165 * _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 Dlowlevel.c1293 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 Dmidlevel.c62 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 Dnotify_params.c196 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 Dmpd_main.c2457 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 Dhalt.c273 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 Dses2_pages.c336 ses_snap_t *snap = ses_node_snapshot(np); local
351 ses_snap_generation(snap));
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c1027 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 Dfmd_rpc_adm.c107 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 Dzfs_send_006_pos.ksh108 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$block_size

Completed in 109 milliseconds

1234567