Home
last modified time | relevance | path

Searched refs:ds_path (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_002_pos.ksh96 log_must zfs destroy -r $ds_path
110 ds_path=$ctr/${ZONE_CTR}0
111 rstfs=$ds_path/$TESTFS
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dlibdiskstatus.c84 if ((dsp->ds_path = strdup(path)) == NULL) { in disk_status_open()
138 free(dsp->ds_path); in disk_status_close()
154 return (dsp->ds_path); in disk_status_path()
H A Dds_impl.h47 char *ds_path; /* path to device */ member
H A Dds_scsi.c1402 if ((sip->si_sim = dlopen(dsp->ds_path, RTLD_LAZY)) == NULL) { in ds_scsi_open_sim()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_activate.c573 char ds_path[MAXPATHLEN]; in set_canmount() local
582 ds_path, sizeof (ds_path))) != BE_SUCCESS) { in set_canmount()
589 if ((zhp = zfs_open(g_zfs, ds_path, ZFS_TYPE_DATASET)) == in set_canmount()
592 "dataset (%s): %s\n"), ds_path, in set_canmount()
610 ds_path, libzfs_error_description(g_zfs)); in set_canmount()
619 datasets->be_dataset_name, ds_path, in set_canmount()
620 sizeof (ds_path))) != BE_SUCCESS) { in set_canmount()
627 if ((zhp = zfs_open(g_zfs, ds_path, ZFS_TYPE_DATASET)) in set_canmount()
630 "open dataset %s: %s\n"), ds_path, in set_canmount()
650 "for dataset %s: %s\n"), value, ds_path, in set_canmount()
H A Dbe_list.c582 char *str = NULL, *ds_path = NULL; in be_add_children_callback() local
585 ds_path = str = strdup(zfs_get_name(zhp)); in be_add_children_callback()
647 cb->zpool_name, cb->current_be, ds_path)) != BE_SUCCESS) { in be_add_children_callback()
H A Dbe_create.c2848 char ds_path[ZFS_MAX_DATASET_NAME_LEN]; in be_demote_get_one_clone() local
2855 (void) strlcpy(ds_path, zfs_get_name(zhp), sizeof (ds_path)); in be_demote_get_one_clone()
2864 "failed to get origin of %s: %s\n"), ds_path, in be_demote_get_one_clone()
2875 if ((zpool_iter(g_zfs, be_check_be_roots_callback, ds_path)) in be_demote_get_one_clone()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c574 char ds_path[ZFS_MAX_DATASET_NAME_LEN]; in get_direct_clone() local
581 (void) strlcpy(ds_path, zfs_get_name(zhp), sizeof (ds_path)); in get_direct_clone()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c3301 char ds_path[ZFS_MAX_DATASET_NAME_LEN]; in is_be() local
3317 (void) strlcpy(ds_path, zfs_get_name(zhp), sizeof (ds_path)); in is_be()
3331 if (strcmp(ds_path, cur_be->be_root_ds) == 0) { in is_be()