/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create_common.kshlib | 39 typeset propstr=$2 41 typeset prop=$($ECHO $propstr | $AWK -F= '{print $1}') 42 typeset expect_value=$($ECHO $propstr | $AWK -F= '{print $2}')
|
/titanic_50/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_zfs.c | 1172 char propstr[ZFS_MAXPROPLEN]; in ndmpd_zfs_backup_pathvalid() local 1193 err = ndmpd_zfs_snapshot_prop_get(zhp, propstr); in ndmpd_zfs_backup_pathvalid() 1203 if (propstr && ndmpd_zfs_snapshot_ndmpd_generated(propstr)) { in ndmpd_zfs_backup_pathvalid() 1971 char propstr[ZFS_MAXPROPLEN]; in ndmpd_zfs_snapshot_prop_find() local 1982 err = ndmpd_zfs_snapshot_prop_get(zhp, propstr); in ndmpd_zfs_snapshot_prop_find() 1989 if (propstr[0] == '\0') { in ndmpd_zfs_snapshot_prop_find() 1998 if (!strstr((const char *)propstr, in ndmpd_zfs_snapshot_prop_find() 2001 (char *)zfs_get_name(zhp), propstr, in ndmpd_zfs_snapshot_prop_find() 2006 if (!ndmpd_zfs_prop_version_check(propstr, in ndmpd_zfs_snapshot_prop_find() 2009 (char *)zfs_get_name(zhp), propstr, in ndmpd_zfs_snapshot_prop_find() [all …]
|
/titanic_50/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 331 char propstr[DLADM_STRSIZE]; in do_add_flow() local 337 bzero(propstr, DLADM_STRSIZE); in do_add_flow() 366 (void) strlcat(propstr, optarg, DLADM_STRSIZE); in do_add_flow() 367 if (strlcat(propstr, ",", DLADM_STRSIZE) >= in do_add_flow() 369 die("property list too long '%s'", propstr); in do_add_flow() 394 if (dladm_parse_flow_props(propstr, &proplist, B_FALSE) in do_add_flow() 689 char propstr[DLADM_STRSIZE]; in set_flowprop() local 695 bzero(propstr, DLADM_STRSIZE); in set_flowprop() 701 (void) strlcat(propstr, optarg, DLADM_STRSIZE); in set_flowprop() 702 if (strlcat(propstr, ",", DLADM_STRSIZE) >= in set_flowprop() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/ |
H A D | ex_dscp.c | 98 char *propstr = fmd_prop_get_string(hdl, "filter_path"); in exs_filter_init() local 100 if (propstr == NULL) { in exs_filter_init() 106 if ((Dlp = dlopen(propstr, RTLD_LOCAL | RTLD_NOW)) == NULL) { in exs_filter_init() 110 fmd_prop_free_string(hdl, propstr); in exs_filter_init() 127 fmd_prop_free_string(hdl, propstr); in exs_filter_init()
|
/titanic_50/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | platform.c | 1516 const char *nameptr, *propstr, *lastnameptr; in platform_payloadprop() local 1525 propstr = np->u.quote.s; in platform_payloadprop() 1528 propstr); in platform_payloadprop() 1539 if (strchr(propstr, '.') != NULL) { in platform_payloadprop() 1545 nameslist = STRDUP(propstr); in platform_payloadprop() 1571 lastnameptr, propstr); in platform_payloadprop() 1579 lastnameptr = propstr; in platform_payloadprop() 1601 out(O_ALTFP, "platform_payloadprop: no entry for %s", propstr); in platform_payloadprop() 1813 propstr); in platform_payloadprop() 1821 "platform_payloadprop: invalid array reference for %s", propstr); in platform_payloadprop() [all …]
|
/titanic_50/usr/src/lib/libshare/common/ |
H A D | scfutil.c | 1535 char *propstr = NULL; in sa_set_resource_property() local 1575 propstr = (char *)malloc(strsize); in sa_set_resource_property() 1576 if (propstr == NULL) { in sa_set_resource_property() 1582 (void) snprintf(propstr, strsize, "%s", in sa_set_resource_property() 1585 (void) snprintf(propstr, strsize, "%s:%s:%s", in sa_set_resource_property() 1588 if (scf_value_set_astring(value, propstr) != 0) { in sa_set_resource_property() 1590 free(propstr); in sa_set_resource_property() 1596 free(propstr); in sa_set_resource_property() 1602 free(propstr); in sa_set_resource_property()
|
H A D | libshare_zfs.c | 982 char *propstr; in add_resources() local 1007 propstr = sa_proto_legacy_format("smb", resource, 0); in add_resources() 1008 if (propstr == NULL) { in add_resources() 1012 size = strlen(propstr) + strlen(opt) + 2; in add_resources() 1015 (void) snprintf(newopt, size, "%s,%s", opt, propstr); in add_resources()
|
/titanic_50/usr/src/cmd/fm/modules/common/event-transport/ |
H A D | etm.c | 1454 char *propstr; in _fmd_init() local 1469 propstr = fmd_prop_get_string(hdl, "client_list"); in _fmd_init() 1470 etm_create_epmaps(hdl, propstr, ETM_SERVER_XPRT_FLAGS); in _fmd_init() 1471 fmd_prop_free_string(hdl, propstr); in _fmd_init() 1473 propstr = fmd_prop_get_string(hdl, "server_list"); in _fmd_init() 1474 etm_create_epmaps(hdl, propstr, ETM_CLIENT_XPRT_FLAGS); in _fmd_init() 1475 fmd_prop_free_string(hdl, propstr); in _fmd_init()
|
/titanic_50/usr/src/cmd/dladm/ |
H A D | dladm.c | 1805 char propstr[DLADM_STRSIZE]; in do_create_aggr() local 1811 bzero(propstr, DLADM_STRSIZE); in do_create_aggr() 1878 (void) strlcat(propstr, optarg, DLADM_STRSIZE); in do_create_aggr() 1879 if (strlcat(propstr, ",", DLADM_STRSIZE) >= in do_create_aggr() 1881 die("property list too long '%s'", propstr); in do_create_aggr() 1933 if (dladm_parse_link_props(propstr, &proplist, B_FALSE) in do_create_aggr() 2346 char propstr[DLADM_STRSIZE]; in do_create_vlan() local 2351 bzero(propstr, DLADM_STRSIZE); in do_create_vlan() 2377 (void) strlcat(propstr, optarg, DLADM_STRSIZE); in do_create_vlan() 2378 if (strlcat(propstr, ",", DLADM_STRSIZE) >= in do_create_vlan() [all …]
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 1396 char *propstr = NULL; in fastboot_get_bootprop() local 1401 FASTREBOOT_ONPANIC, &propstr); in fastboot_get_bootprop() 1404 if (FASTREBOOT_ONPANIC_NOTSET(propstr)) in fastboot_get_bootprop() 1406 else if (FASTREBOOT_ONPANIC_ISSET(propstr)) in fastboot_get_bootprop() 1416 ddi_prop_free(propstr); in fastboot_get_bootprop()
|
/titanic_50/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 1857 dump_prodinfo(di_prom_handle_t promh, di_node_t node, const char **propstr, in dump_prodinfo() argument 1864 len = get_propval_by_name(promh, node, propstr[index1], in dump_prodinfo() 1870 (void) printf("%s: ", propstr[index1]); in dump_prodinfo() 1873 propstr[index1], (char *)prop_valp, len)) { in dump_prodinfo()
|
/titanic_50/usr/src/uts/common/fs/ |
H A D | vfs.c | 4762 char *propstr = NULL; in getrootfs() local 4769 DDI_PROP_DONTPASS, "fstype", &propstr) in getrootfs() 4771 (void) strncpy(rootfs.bo_fstype, propstr, BO_MAXFSNAME); in getrootfs() 4772 ddi_prop_free(propstr); in getrootfs() 4779 DDI_PROP_DONTPASS, "zfs-bootfs", &propstr) in getrootfs() 4782 ddi_prop_free(propstr); in getrootfs() 4806 DDI_PROP_DONTPASS, "bootpath", &propstr) in getrootfs() 4808 (void) strncpy(rootfs.bo_name, propstr, BO_MAXOBJNAME); in getrootfs() 4809 ddi_prop_free(propstr); in getrootfs()
|
/titanic_50/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 561 char *propstr = NULL; in i_ipadm_nvl2ainfo_common() local 578 err = nvpair_value_string(nvp, &propstr); in i_ipadm_nvl2ainfo_common() 593 strcmp(propstr, "yes") == 0) { in i_ipadm_nvl2ainfo_common() 630 if (strcmp(propstr, IPADM_ONSTR) == 0) in i_ipadm_nvl2ainfo_common() 633 if (strcmp(propstr, IPADM_ONSTR) == 0) in i_ipadm_nvl2ainfo_common() 684 char *propstr = NULL; in i_ipadm_nvl2ainfo_persist() local 709 err = nvpair_value_string(nvp, &propstr); in i_ipadm_nvl2ainfo_persist() 770 err = plen2mask(atoi(propstr), ifa->ifa_addr->sa_family, in i_ipadm_nvl2ainfo_persist()
|
/titanic_50/usr/src/uts/common/io/hme/ |
H A D | hme.c | 732 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()
|
/titanic_50/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus.c | 434 char *propstr; in declare_dev_and_fn() local 557 DI_RECEPTACLE_PHYMASK, &propstr)) > 0) { in declare_dev_and_fn()
|
/titanic_50/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 2992 char *propstr; in print_dataset() local 3009 propstr = "-"; in print_dataset() 3011 propstr = property; in print_dataset() 3016 propstr = "-"; in print_dataset() 3018 propstr = property; in print_dataset() 3023 propstr = "-"; in print_dataset() 3025 propstr = property; in print_dataset() 3030 propstr = "-"; in print_dataset() 3033 ZPROP_VALUE, &propstr) == 0); in print_dataset() 3043 (void) printf("%s", propstr); in print_dataset() [all …]
|
/titanic_50/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 2693 char *propstr; in print_pool() local 2721 propstr = "-"; in print_pool() 2723 propstr = property; in print_pool() 2730 propstr = property; in print_pool() 2732 propstr = "-"; in print_pool() 2742 (void) printf("%s", propstr); in print_pool() 2744 (void) printf("%*s", width, propstr); in print_pool() 2746 (void) printf("%-*s", width, propstr); in print_pool()
|