Searched refs:propstr (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_common.kshlib42 typeset propstr=$2
44 typeset prop=$(echo $propstr | awk -F= '{print $1}')
45 typeset expect_value=$(echo $propstr | awk -F= '{print $2}')
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_zfs.c1172 char propstr[ZFS_MAXPROPLEN]; local
1193 err = ndmpd_zfs_snapshot_prop_get(zhp, propstr);
1203 if (propstr && ndmpd_zfs_snapshot_ndmpd_generated(propstr)) {
1971 char propstr[ZFS_MAXPROPLEN]; local
1982 err = ndmpd_zfs_snapshot_prop_get(zhp, propstr);
1989 if (propstr[0] == '\0') {
1998 if (!strstr((const char *)propstr,
2001 (char *)zfs_get_name(zhp), propstr,
2006 if (!ndmpd_zfs_prop_version_check(propstr,
2040 ndmpd_zfs_snapshot_prop_get(zfs_handle_t *zhp, char *propstr) argument
2093 char propstr[ZFS_MAXPROPLEN]; local
2142 ndmpd_zfs_snapshot_prop_create(ndmpd_zfs_args_t *ndmpd_zfs_args, char *propstr, boolean_t *set) argument
2306 ndmpd_zfs_prop_version_check(char *propstr, uint32_t *major, uint32_t *minor) argument
[all...]
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c331 char propstr[DLADM_STRSIZE]; local
337 bzero(propstr, DLADM_STRSIZE);
366 (void) strlcat(propstr, optarg, DLADM_STRSIZE);
367 if (strlcat(propstr, ",", DLADM_STRSIZE) >=
369 die("property list too long '%s'", propstr);
394 if (dladm_parse_flow_props(propstr, &proplist, B_FALSE)
689 char propstr[DLADM_STRSIZE]; local
695 bzero(propstr, DLADM_STRSIZE);
701 (void) strlcat(propstr, optarg, DLADM_STRSIZE);
702 if (strlcat(propstr, ",", DLADM_STRSIZ
[all...]
/illumos-gate/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
H A Dex_dscp.c98 char *propstr = fmd_prop_get_string(hdl, "filter_path"); local
100 if (propstr == NULL) {
106 if ((Dlp = dlopen(propstr, RTLD_LOCAL | RTLD_NOW)) == NULL) {
110 fmd_prop_free_string(hdl, propstr);
127 fmd_prop_free_string(hdl, propstr);
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c1535 char *propstr = NULL; local
1575 propstr = (char *)malloc(strsize);
1576 if (propstr == NULL) {
1582 (void) snprintf(propstr, strsize, "%s",
1585 (void) snprintf(propstr, strsize, "%s:%s:%s",
1588 if (scf_value_set_astring(value, propstr) != 0) {
1590 free(propstr);
1596 free(propstr);
1602 free(propstr);
H A Dlibshare_zfs.c982 char *propstr; local
1007 propstr = sa_proto_legacy_format("smb", resource, 0);
1008 if (propstr == NULL) {
1012 size = strlen(propstr) + strlen(opt) + 2;
1015 (void) snprintf(newopt, size, "%s,%s", opt, propstr);
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c1516 const char *nameptr, *propstr, *lastnameptr; local
1525 propstr = np->u.quote.s;
1528 propstr);
1534 * first handle any embedded nvlists. if propstr is "foo.bar[2]"
1539 if (strchr(propstr, '.') != NULL) {
1545 nameslist = STRDUP(propstr);
1571 lastnameptr, propstr);
1579 lastnameptr = propstr;
1601 out(O_ALTFP, "platform_payloadprop: no entry for %s", propstr);
1813 propstr);
1833 platform_payloadprop_values(const char *propstr, int *nvals) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c1454 char *propstr; local
1469 propstr = fmd_prop_get_string(hdl, "client_list");
1470 etm_create_epmaps(hdl, propstr, ETM_SERVER_XPRT_FLAGS);
1471 fmd_prop_free_string(hdl, propstr);
1473 propstr = fmd_prop_get_string(hdl, "server_list");
1474 etm_create_epmaps(hdl, propstr, ETM_CLIENT_XPRT_FLAGS);
1475 fmd_prop_free_string(hdl, propstr);
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c1396 char *propstr = NULL; local
1401 FASTREBOOT_ONPANIC, &propstr);
1404 if (FASTREBOOT_ONPANIC_NOTSET(propstr))
1406 else if (FASTREBOOT_ONPANIC_ISSET(propstr))
1416 ddi_prop_free(propstr);
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c1807 char propstr[DLADM_STRSIZE]; local
1813 bzero(propstr, DLADM_STRSIZE);
1880 (void) strlcat(propstr, optarg, DLADM_STRSIZE);
1881 if (strlcat(propstr, ",", DLADM_STRSIZE) >=
1883 die("property list too long '%s'", propstr);
1935 if (dladm_parse_link_props(propstr, &proplist, B_FALSE)
2348 char propstr[DLADM_STRSIZE]; local
2353 bzero(propstr, DLADM_STRSIZE);
2379 (void) strlcat(propstr, optarg, DLADM_STRSIZE);
2380 if (strlcat(propstr, ",", DLADM_STRSIZ
4622 char propstr[DLADM_STRSIZE]; local
6675 char propstr[DLADM_STRSIZE]; local
6857 char propstr[DLADM_STRSIZE]; local
9484 char propstr[DLADM_STRSIZE]; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c432 char *propstr; local
543 DI_RECEPTACLE_PHYMASK, &propstr)) > 0) {
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c1857 dump_prodinfo(di_prom_handle_t promh, di_node_t node, const char **propstr, argument
1864 len = get_propval_by_name(promh, node, propstr[index1],
1870 (void) printf("%s: ", propstr[index1]);
1873 propstr[index1], (char *)prop_valp, len)) {
/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.c732 char propstr[80]; local
737 (void) strcpy(propstr, "local-mac-address");
740 (void) strcpy(propstr, "model");
743 (void) strcpy(propstr, "board-model");
749 if (strcmp(propstr, "local-mac-address") == 0) {
754 DDI_PROP_CANSLEEP, propstr,
761 DDI_PROP_CANSLEEP, propstr, vpdstr,
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c2960 char *propstr; local
2976 propstr = property;
2982 propstr = "-";
2984 propstr = property;
2989 propstr = "-";
2991 propstr = property;
2996 propstr = "-";
2998 propstr = property;
3003 propstr = "-";
3006 ZPROP_VALUE, &propstr)
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c4668 char *propstr = NULL; local
4675 DDI_PROP_DONTPASS, "fstype", &propstr)
4677 (void) strncpy(rootfs.bo_fstype, propstr, BO_MAXFSNAME);
4678 ddi_prop_free(propstr);
4685 DDI_PROP_DONTPASS, "zfs-bootfs", &propstr)
4688 ddi_prop_free(propstr);
4712 DDI_PROP_DONTPASS, "bootpath", &propstr)
4714 (void) strncpy(rootfs.bo_name, propstr, BO_MAXOBJNAME);
4715 ddi_prop_free(propstr);
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c561 char *propstr = NULL; local
578 err = nvpair_value_string(nvp, &propstr);
593 strcmp(propstr, "yes") == 0) {
630 if (strcmp(propstr, IPADM_ONSTR) == 0)
633 if (strcmp(propstr, IPADM_ONSTR) == 0)
684 char *propstr = NULL; local
709 err = nvpair_value_string(nvp, &propstr);
770 err = plen2mask(atoi(propstr), ifa->ifa_addr->sa_family,
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c2841 char *propstr; local
2869 propstr = "-";
2871 propstr = property;
2878 propstr = property;
2880 propstr = "-";
2890 (void) printf("%s", propstr);
2892 (void) printf("%*s", width, propstr);
2894 (void) printf("%-*s", width, propstr);
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c4942 char *propstr; local
4946 propstr = in_progress_secflagstab.zone_secflags_default;
4949 propstr = in_progress_secflagstab.zone_secflags_upper;
4952 propstr = in_progress_secflagstab.zone_secflags_lower;
4961 (void) strlcpy(propstr, prop_id, ZONECFG_SECFLAGS_MAX);

Completed in 173 milliseconds