Home
last modified time | relevance | path

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.c1177 char propstr[ZFS_MAXPROPLEN]; in ndmpd_zfs_backup_pathvalid() local
1208 if (propstr && ndmpd_zfs_snapshot_ndmpd_generated(propstr)) { in ndmpd_zfs_backup_pathvalid()
1976 char propstr[ZFS_MAXPROPLEN]; in ndmpd_zfs_snapshot_prop_find() local
1994 if (propstr[0] == '\0') { in ndmpd_zfs_snapshot_prop_find()
2052 propstr[0] = '\0'; in ndmpd_zfs_snapshot_prop_get()
2098 char propstr[ZFS_MAXPROPLEN]; in ndmpd_zfs_snapshot_prop_add() local
2114 bzero(propstr, ZFS_MAXPROPLEN); in ndmpd_zfs_snapshot_prop_add()
2133 propstr); in ndmpd_zfs_snapshot_prop_add()
2148 char *propstr, boolean_t *set) in ndmpd_zfs_snapshot_prop_create() argument
2151 char *p = propstr; in ndmpd_zfs_snapshot_prop_create()
[all …]
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c334 char propstr[DLADM_STRSIZE]; in do_add_flow() local
340 bzero(propstr, DLADM_STRSIZE); in do_add_flow()
369 (void) strlcat(propstr, optarg, DLADM_STRSIZE); in do_add_flow()
370 if (strlcat(propstr, ",", DLADM_STRSIZE) >= in do_add_flow()
372 die("property list too long '%s'", propstr); in do_add_flow()
692 char propstr[DLADM_STRSIZE]; in set_flowprop() local
698 bzero(propstr, DLADM_STRSIZE); in set_flowprop()
704 (void) strlcat(propstr, optarg, DLADM_STRSIZE); in set_flowprop()
705 if (strlcat(propstr, ",", DLADM_STRSIZE) >= in set_flowprop()
707 die("property list too long '%s'", propstr); in set_flowprop()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dmultiboot2.c537 char *propstr; in update_cmdline() local
539 asprintf(&propstr, "console=%s", os_console); in update_cmdline()
541 if (propstr == NULL) { in update_cmdline()
545 tmp = insert_cmdline(cl, propstr); in update_cmdline()
546 free(propstr); in update_cmdline()
554 char *propstr; in update_cmdline() local
556 asprintf(&propstr, "%s=\"%s\"", mode, ttymode); in update_cmdline()
557 if (propstr == NULL) in update_cmdline()
560 tmp = insert_cmdline(cl, propstr); in update_cmdline()
561 free(propstr); in update_cmdline()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c1518 const char *nameptr, *propstr, *lastnameptr; in platform_payloadprop() local
1527 propstr = np->u.quote.s; in platform_payloadprop()
1530 propstr); in platform_payloadprop()
1541 if (strchr(propstr, '.') != NULL) { in platform_payloadprop()
1547 nameslist = STRDUP(propstr); in platform_payloadprop()
1573 lastnameptr, propstr); in platform_payloadprop()
1581 lastnameptr = propstr; in platform_payloadprop()
1603 out(O_ALTFP, "platform_payloadprop: no entry for %s", propstr); in platform_payloadprop()
1815 propstr); in platform_payloadprop()
1835 platform_payloadprop_values(const char *propstr, int *nvals) in platform_payloadprop_values() argument
[all …]
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c1536 char *propstr = NULL; in sa_set_resource_property() local
1576 propstr = (char *)malloc(strsize); in sa_set_resource_property()
1577 if (propstr == NULL) { in sa_set_resource_property()
1583 (void) snprintf(propstr, strsize, "%s", in sa_set_resource_property()
1586 (void) snprintf(propstr, strsize, "%s:%s:%s", in sa_set_resource_property()
1589 if (scf_value_set_astring(value, propstr) != 0) { in sa_set_resource_property()
1591 free(propstr); in sa_set_resource_property()
1597 free(propstr); in sa_set_resource_property()
1603 free(propstr); in sa_set_resource_property()
H A Dlibshare_zfs.c1158 char *propstr; in add_resources() local
1183 propstr = sa_proto_legacy_format("smb", resource, 0); in add_resources()
1184 if (propstr == NULL) { in add_resources()
1188 size = strlen(propstr) + strlen(opt) + 2; in add_resources()
1191 (void) snprintf(newopt, size, "%s,%s", opt, propstr); in add_resources()
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c1452 char *propstr; in _fmd_init() local
1467 propstr = fmd_prop_get_string(hdl, "client_list"); in _fmd_init()
1468 etm_create_epmaps(hdl, propstr, ETM_SERVER_XPRT_FLAGS); in _fmd_init()
1469 fmd_prop_free_string(hdl, propstr); in _fmd_init()
1471 propstr = fmd_prop_get_string(hdl, "server_list"); in _fmd_init()
1472 etm_create_epmaps(hdl, propstr, ETM_CLIENT_XPRT_FLAGS); in _fmd_init()
1473 fmd_prop_free_string(hdl, propstr); in _fmd_init()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c1938 char propstr[DLADM_STRSIZE]; in do_create_aggr() local
1944 bzero(propstr, DLADM_STRSIZE); in do_create_aggr()
2479 char propstr[DLADM_STRSIZE]; in do_create_vlan() local
2484 bzero(propstr, DLADM_STRSIZE); in do_create_vlan()
4762 char propstr[DLADM_STRSIZE]; in do_create_vnic() local
4769 bzero(propstr, DLADM_STRSIZE); in do_create_vnic()
6816 char propstr[DLADM_STRSIZE]; in do_show_linkprop() local
6827 bzero(propstr, DLADM_STRSIZE); in do_show_linkprop()
9648 char propstr[DLADM_STRSIZE]; in do_create_part() local
9651 propstr[0] = '\0'; in do_create_part()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c1381 char *propstr = NULL; in fastboot_get_bootprop() local
1386 FASTREBOOT_ONPANIC, &propstr); in fastboot_get_bootprop()
1389 if (FASTREBOOT_ONPANIC_NOTSET(propstr)) in fastboot_get_bootprop()
1391 else if (FASTREBOOT_ONPANIC_ISSET(propstr)) in fastboot_get_bootprop()
1401 ddi_prop_free(propstr); in fastboot_get_bootprop()
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c4614 char *propstr = NULL; in getrootfs() local
4621 DDI_PROP_DONTPASS, "fstype", &propstr) in getrootfs()
4623 (void) strncpy(rootfs.bo_fstype, propstr, BO_MAXFSNAME); in getrootfs()
4624 ddi_prop_free(propstr); in getrootfs()
4631 DDI_PROP_DONTPASS, "zfs-bootfs", &propstr) in getrootfs()
4634 ddi_prop_free(propstr); in getrootfs()
4658 DDI_PROP_DONTPASS, "bootpath", &propstr) in getrootfs()
4660 (void) strncpy(rootfs.bo_name, propstr, BO_MAXOBJNAME); in getrootfs()
4661 ddi_prop_free(propstr); in getrootfs()
/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.c732 char propstr[80]; in hme_create_prop_from_kw() local
737 (void) strcpy(propstr, "local-mac-address"); in hme_create_prop_from_kw()
740 (void) strcpy(propstr, "model"); in hme_create_prop_from_kw()
743 (void) strcpy(propstr, "board-model"); in hme_create_prop_from_kw()
749 if (strcmp(propstr, "local-mac-address") == 0) { in hme_create_prop_from_kw()
754 DDI_PROP_CANSLEEP, propstr, in hme_create_prop_from_kw()
761 DDI_PROP_CANSLEEP, propstr, vpdstr, in hme_create_prop_from_kw()
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c2042 dump_prodinfo(di_prom_handle_t promh, di_node_t node, const char **propstr, in dump_prodinfo() argument
2049 len = get_propval_by_name(promh, node, propstr[index1], in dump_prodinfo()
2055 (void) printf("%s: ", propstr[index1]); in dump_prodinfo()
2058 propstr[index1], (char *)prop_valp, len)) { in dump_prodinfo()
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c605 char *propstr = NULL; in i_ipadm_nvl2ainfo_common() local
622 err = nvpair_value_string(nvp, &propstr); in i_ipadm_nvl2ainfo_common()
637 strcmp(propstr, "yes") == 0) { in i_ipadm_nvl2ainfo_common()
674 if (strcmp(propstr, IPADM_ONSTR) == 0) in i_ipadm_nvl2ainfo_common()
677 if (strcmp(propstr, IPADM_ONSTR) == 0) in i_ipadm_nvl2ainfo_common()
728 char *propstr = NULL; in i_ipadm_nvl2ainfo_persist() local
753 err = nvpair_value_string(nvp, &propstr); in i_ipadm_nvl2ainfo_persist()
814 err = plen2mask(atoi(propstr), ifa->ifa_addr->sa_family, in i_ipadm_nvl2ainfo_persist()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c504 char *propstr, *label = NULL, *pdev = NULL; in declare_dev_and_fn() local
641 DI_RECEPTACLE_PHYMASK, &propstr)) > 0) { in declare_dev_and_fn()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c3234 char *propstr; in print_dataset() local
3250 propstr = property; in print_dataset()
3256 propstr = "-"; in print_dataset()
3258 propstr = property; in print_dataset()
3263 propstr = "-"; in print_dataset()
3265 propstr = property; in print_dataset()
3270 propstr = "-"; in print_dataset()
3272 propstr = property; in print_dataset()
3277 propstr = "-"; in print_dataset()
3280 ZPROP_VALUE, &propstr) == 0); in print_dataset()
[all …]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c5091 char *propstr; in print_pool() local
5119 propstr = "-"; in print_pool()
5121 propstr = property; in print_pool()
5128 propstr = property; in print_pool()
5130 propstr = "-"; in print_pool()
5140 (void) printf("%s", propstr); in print_pool()
5142 (void) printf("%*s", width, propstr); in print_pool()
5144 (void) printf("%-*s", width, propstr); in print_pool()
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c4946 char *propstr; in set_func() local
4950 propstr = in_progress_secflagstab.zone_secflags_default; in set_func()
4953 propstr = in_progress_secflagstab.zone_secflags_upper; in set_func()
4956 propstr = in_progress_secflagstab.zone_secflags_lower; in set_func()
4965 (void) strlcpy(propstr, prop_id, ZONECFG_SECFLAGS_MAX); in set_func()