/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_cluster.c | 444 char *dsname = NULL; local 472 minor(stb.st_rdev), &dsname); 486 strncpy(buffer, dsname, buflen); 487 free(dsname); 517 scstat_ds_name_t dsname; local 538 * If "dsname" is NULL, information for all device services is returned 541 dsname = NULL; 543 err = scstat_get_ds_status((scstat_ds_name_t *)dsname, &dsstatus);
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_hsp.c | 186 char *dsname = get_request_diskset(); local 202 if ((error = hsp_get_by_name(dsname, hspname, &default_hsp)) != 0) { 209 if ((error = hsp_get_default_for_diskset(dsname, 242 hspname, dsname); 256 hspname, dsname); 300 char *dsname = get_request_diskset(); local 311 (void) hsp_get_by_name(dsname, hspname, hsp);
|
H A D | layout.c | 255 char *dsname = NULL; local 260 (error = devconfig_get_name(diskset, &dsname)) || 261 (error = set_request_diskset(dsname)) || 265 (error = scan_svm_names(dsname)) || 287 error = discover_usable_devices(dsname); 721 char *dsname = get_request_diskset(); local 746 error = is_disk_in_diskset(disk, dsname, &in_set); 759 moddisk->accessname, dsname);
|
H A D | layout_validate.c | 1754 char *dsname = get_request_diskset(); local 1825 (error = is_disk_in_diskset(disk, dsname, &in_set)); 1835 voltype, dsname, cname);
|
H A D | layout_svm_util.c | 102 char *dsname, 450 * INPUT: dsname - a char * diskset name 460 char *dsname) 466 if (string_case_compare(dsname, diskset->name) == 0) { 475 * FUNCTION: add_diskset(char *dsname) 477 * INPUT: dsname - a char * disk set name 486 char *dsname) 493 if (string_case_compare(diskset->name, dsname) == 0) { 507 diskset->name = strdup(dsname); 519 gettext(" added disk set %s \n"), dsname); 459 diskset_exists( char *dsname) argument 485 add_diskset( char *dsname) argument 544 add_diskset_diskname( char *dsname, char *diskname) argument 611 add_diskset_hsp( char *dsname, char *hspname) argument 679 add_diskset_hsp_spare( char *dsname, char *hspname, char *sparename) argument 771 get_disks_in_diskset( char *dsname, dlist_t **disks) argument 819 is_disk_in_diskset( dm_descriptor_t disk, char *dsname, boolean_t *bool) argument 884 is_disk_in_named_diskset( dm_descriptor_t disk, char *dsname, boolean_t *bool) argument 950 is_disk_in_other_diskset( dm_descriptor_t disk, char *dsname, boolean_t *bool) argument [all...] |
H A D | layout_discovery.c | 115 char *dsname, 123 char *dsname, 130 char *dsname, 144 char *dsname, 1076 char *dsname = MD_LOCAL_NAME; local 1082 error = get_disks_in_diskset(dsname, &disks); 1114 error = check_slice_usage(dsname, slice, 1208 * FUNCTION: generate_usable_disks_and_slices_in_named_set(char *dsname, 1212 * INPUT: dsname - a char * diskset name. 1237 char *dsname, 1236 generate_usable_disks_and_slices_in_named_set( char *dsname, dlist_t **classes, dlist_t **bad_slices, dlist_t **usable_disks, dlist_t **usable_slices) argument 1744 check_slice_usage( char *dsname, dm_descriptor_t slice, dm_descriptor_t disk, boolean_t *avail, dlist_t **bad, dlist_t **classes) argument 1929 check_svm_slice_usage( char *dsname, dm_descriptor_t slice, dm_descriptor_t disk, boolean_t *used, dlist_t **classes) argument 1989 save_slice_classification( char *dsname, dm_descriptor_t slice, dm_descriptor_t disk, char *usage, char *usage_detail, dlist_t **classes) argument [all...] |
H A D | layout_request.c | 285 char *dsname) 287 _request_diskset = dsname; 289 if (dsname == NULL || dsname[0] == '\0') { 320 char *dsname) 2091 * char *dsname, dlist_t **list) 2094 * dsname - the name of the diskset whose defaults should be used 2121 char *dsname, 2130 alldefaults, dsname, &defaults); 2143 dsname, erro 284 set_request_diskset( char *dsname) argument 319 unset_request_diskset( char *dsname) argument 2119 get_default_avail_spec_list( defaults_t *alldefaults, char *dsname, dlist_t **list) argument 2204 get_default_unavail_spec_list( defaults_t *alldefaults, char *dsname, dlist_t **list) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_bookmark.c | 309 dsl_get_bookmarks(const char *dsname, nvlist_t *props, nvlist_t *outnvl) argument 315 err = dsl_pool_hold(dsname, FTAG, &dp); 318 err = dsl_dataset_hold(dp, dsname, FTAG, &ds);
|
H A D | dsl_userhold.c | 633 dsl_dataset_get_holds(const char *dsname, nvlist_t *nvl) argument 639 err = dsl_pool_hold(dsname, FTAG, &dp); 642 err = dsl_dataset_hold(dp, dsname, FTAG, &ds);
|
H A D | dsl_deleg.c | 647 dsl_deleg_access(const char *dsname, const char *perm, cred_t *cr) argument 653 error = dsl_pool_hold(dsname, FTAG, &dp); 656 error = dsl_dataset_hold(dp, dsname, FTAG, &ds);
|
H A D | dsl_prop.c | 313 dsl_prop_get(const char *dsname, const char *propname, argument 319 error = dmu_objset_hold(dsname, FTAG, &os); 767 dsl_prop_set_int(const char *dsname, const char *propname, argument 774 error = dsl_props_set(dsname, source, nvl); 780 dsl_prop_set_string(const char *dsname, const char *propname, argument 787 error = dsl_props_set(dsname, source, nvl); 793 dsl_prop_inherit(const char *dsname, const char *propname, argument 800 error = dsl_props_set(dsname, source, nvl); 901 dsl_props_set(const char *dsname, zprop_source_t source, nvlist_t *props) argument 906 dpsa.dpsa_dsname = dsname; 1097 dsl_prop_get_hasrecvd(const char *dsname) argument 1106 dsl_prop_set_hasrecvd_impl(const char *dsname, zprop_source_t source) argument 1126 dsl_prop_set_hasrecvd(const char *dsname) argument 1135 dsl_prop_unset_hasrecvd(const char *dsname) argument 1147 dsl_prop_get_received(const char *dsname, nvlist_t **nvp) argument [all...] |
H A D | dsl_destroy.c | 973 dsl_destroy_inconsistent(const char *dsname, void *arg) argument 977 if (dmu_objset_hold(dsname, FTAG, &os) == 0) { 989 (void) dsl_destroy_head(dsname);
|
H A D | dsl_scan.c | 1059 char *dsname = kmem_alloc(MAXNAMELEN, KM_SLEEP); local 1060 dsl_dataset_name(ds, dsname); 1063 dsobj, dsname, 1066 kmem_free(dsname, MAXNAMELEN); 1092 char *dsname = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); local 1093 dsl_dataset_name(ds, dsname); 1096 (longlong_t)dsobj, dsname, 1100 kmem_free(dsname, ZFS_MAX_DATASET_NAME_LEN);
|
H A D | zfs_vfsops.c | 1312 zfs_check_global_label(const char *dsname, const char *hexsl) argument 1322 if (dsl_prop_get_integer(dsname,
|
H A D | dsl_dataset.c | 1294 char dsname[ZFS_MAX_DATASET_NAME_LEN]; local 1304 (void) strlcpy(dsname, name, atp - name + 1); 1307 error = dsl_dataset_hold(dp, dsname, FTAG, &ds); 1474 char dsname[ZFS_MAX_DATASET_NAME_LEN]; local 1478 (void) strlcpy(dsname, name, atp - name + 1); 1479 VERIFY0(dsl_dataset_hold(dp, dsname, FTAG, &ds)); 3292 dsl_dataset_set_refquota(const char *dsname, zprop_source_t source, argument 3297 ddsqra.ddsqra_name = dsname; 3301 return (dsl_sync_task(dsname, dsl_dataset_set_refquota_check, 3407 dsl_dataset_set_refreservation(const char *dsname, zprop_source_ argument [all...] |
H A D | spa.c | 4286 char *dsname = kmem_alloc(MAXPATHLEN, KM_SLEEP); local 4290 (void) strlcpy(dsname, tmpname, 4293 (void) snprintf(dsname, MAXPATHLEN, 4297 ZPOOL_CONFIG_BOOTFS, dsname) == 0); 4298 kmem_free(dsname, MAXPATHLEN);
|
H A D | zfs_ioctl.c | 618 zfs_secpolicy_setprop(const char *dsname, zfs_prop_t prop, nvpair_t *propval, argument 646 if (dsl_prop_get_integer(dsname, "zoned", &zoned, 649 if (!zoned || strlen(dsname) <= strlen(setpoint)) 661 err = zfs_set_slabel_policy(dsname, strval, CRED()); 668 return (zfs_secpolicy_write_perms(dsname, zfs_prop_to_name(prop), cr)); 1396 getzfsvfs(const char *dsname, zfsvfs_t **zfvp) argument 1401 error = dmu_objset_hold(dsname, FTAG, &os); 2340 zfs_prop_set_userquota(const char *dsname, nvpair_t *pair) argument 2375 err = zfsvfs_hold(dsname, FTAG, &zfsvfs, B_FALSE); 2393 zfs_prop_set_special(const char *dsname, zprop_source_ argument 2488 zfs_set_prop_nvlist(const char *dsname, zprop_source_t source, nvlist_t *nvl, nvlist_t *errlist) argument 2681 clear_received_props(const char *dsname, nvlist_t *props, nvlist_t *skipped) argument 3725 zfs_check_settable(const char *dsname, nvpair_t *pair, cred_t *cr) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_zvolops.c | 76 sdev_zvol_create_minor(char *dsname) argument 80 return ((*szcm)(dsname)); 84 sdev_zvol_name2minor(char *dsname, minor_t *minor) argument 88 return ((*szn2m)(dsname, minor)); 181 devzvol_objset_check(char *dsname, dmu_objset_type_t *type) argument 189 ispool = (strchr(dsname, '/') == NULL); 190 is_snapshot = (strchr(dsname, '@') != NULL); 196 (void) strlcpy(zc->zc_name, dsname, MAXPATHLEN); 226 char *dsname; local 252 dsname 280 char *dsname; local 520 char *dsname; local 611 char *dsname; local 699 char *dsname; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 82 * Given a {dsname, object id}, get the object path 85 get_stats_for_obj(differ_info_t *di, const char *dsname, uint64_t obj, argument 91 (void) strlcpy(zc.zc_name, dsname, sizeof (zc.zc_name)); 116 "object %lld in %s"), obj, dsname);
|
H A D | libzfs_dataset.c | 699 char dsname[ZFS_MAX_DATASET_NAME_LEN]; local 707 assert(bookp - path < sizeof (dsname)); 708 (void) strncpy(dsname, path, bookp - path); 709 dsname[bookp - path] = '\0'; 715 if ((pzhp = make_dataset_handle(hdl, dsname)) == NULL) {
|
H A D | libzfs_pool.c | 3765 char dsname[ZFS_MAX_DATASET_NAME_LEN]; local 3783 (void) strlcpy(dsname, zc.zc_value, sizeof (dsname)); 3786 mounted = is_mounted(zhp->zpool_hdl, dsname, &mntpnt); 3789 (void) strlcpy(zc.zc_name, dsname, sizeof (zc.zc_name)); 3798 dsname, zc.zc_value); 3801 (void) snprintf(pathname, len, "%s:<0x%llx>", dsname, obj);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 1100 const char *dsname = NULL; local 1111 dsname = gsp->gs_name; 1117 if (dsname == NULL) 1131 return (mdb_gelf_symtab_create_file_by_name(gf, dsname, ssname, tabid)); 1136 const char *dsname, const char *ssname, uint_t tabid) 1156 if (strcmp(gsp->gs_name, dsname) == 0) { 1135 mdb_gelf_symtab_create_file_by_name(mdb_gelf_file_t *gf, const char *dsname, const char *ssname, uint_t tabid) argument
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | zfs.c | 761 const char *dsname; local 766 dsname = strchr(name, '/'); 767 if (dsname != NULL) { 768 len = dsname - name; 769 dsname++; 771 dsname = ""; 778 rv = zfs_lookup_dataset(spa, dsname, &objid); 813 static char poolname[ZFS_MAXNAMELEN], *dsname, *root; local 832 dsname = strchr(name, '/'); 833 if (dsname ! [all...] |
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 2226 dump_one_dir(const char *dsname, void *arg) argument 2231 error = dmu_objset_own(dsname, DMU_OST_ANY, B_TRUE, FTAG, &os); 2233 (void) printf("Could not open %s, error %d\n", dsname, error);
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 5244 const char *dsname = buf; local 5255 (void) printf(dsname);
|