/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_espc.c | 32 const char *prop, int len, char *val); 585 npi_vpd_read_prop(npi_handle_t handle, uint32_t ep, const char *prop, int len, argument 588 int prop_len = strlen(prop) + 1; 592 if (vpd_rd(handle, ep + i) != prop[i])
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | startup.c | 3096 char prop[32]; local 3099 if (BOP_GETPROPLEN(bootops, "nodes") > sizeof (prop) || 3100 BOP_GETPROP(bootops, "nodes", prop) < 0 || 3101 kobj_getvalue(prop, &nodes_ll) == -1 || 3103 BOP_GETPROPLEN(bootops, "cpus_pernode") > sizeof (prop) || 3104 BOP_GETPROP(bootops, "cpus_pernode", prop) < 0 || 3105 kobj_getvalue(prop, &cpus_pernode_ll) == -1) { 3113 if (BOP_GETPROPLEN(bootops, "kernelbase") > sizeof (prop) || 3114 BOP_GETPROP(bootops, "kernelbase", prop) < 0 || 3115 kobj_getvalue(prop, [all...] |
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_iter.c | 160 zfs_prop_t prop; local 162 if ((prop = zfs_name_to_prop(name)) == ZPROP_INVAL && 168 col->sc_prop = prop; 170 if (prop == ZPROP_INVAL) {
|
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 1084 iscsi_static_property_t prop; local 1094 (void) memset(&prop, 0, sizeof (iscsi_static_property_t)); 1095 prop.p_vers = ISCSI_INTERFACE_VERSION; 1096 prop.p_oid = (uint32_t)staticTargetOid.objectSequenceNumber; 1097 if (ioctl(fd, ISCSI_STATIC_GET, &prop) != 0) { 1111 (void) mbstowcs(pProps->staticTarget.targetName, (char *)prop.p_name, 1114 if (prop.p_addr_list.al_addrs[0].a_addr.i_insize == 1118 } else if (prop.p_addr_list.al_addrs[0].a_addr.i_insize == 1129 if (inet_ntop(af, &prop.p_addr_list.al_addrs[0].a_addr.i_addr, 1142 prop 1459 iscsi_property_t prop; local [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 879 scf_property_t *prop = NULL; local 891 (prop = scf_property_create(h)) == NULL || 907 scf_pg_get_property(pg, propname, prop) != 0 || 908 scf_property_get_value(prop, val) != 0 || 917 scf_property_destroy(prop); 934 scf_property_t *prop = NULL; local 945 (prop = scf_property_create(h)) == NULL || 986 scf_property_destroy(prop);
|
H A D | libnwam_values.c | 514 nvpair_t *prop; local 527 if ((nverr = nvlist_lookup_nvpair(list, name, &prop)) != 0) { 534 switch (nvpair_type(prop)) { 536 if ((nverr = nvpair_value_boolean_array(prop, 544 if ((nverr = nvpair_value_int64_array(prop, 552 if ((nverr = nvpair_value_uint64_array(prop, 560 if ((nverr = nvpair_value_string_array(prop,
|
H A D | libnwam.h | 452 #define NWAM_NCU_PROP_SETONCE(prop) \ 453 (strcmp(prop, NWAM_NCU_PROP_TYPE) == 0 || \ 454 strcmp(prop, NWAM_NCU_PROP_CLASS) == 0 || \ 455 strcmp(prop, NWAM_NCU_PROP_PARENT_NCP) == 0) 673 /* Retrieve prop description */ 740 /* Retrieve prop description */ 853 /* Retrieve prop description */
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc.c | 149 const char *name, const char *path, const char *prop, 173 (void) fmd_conf_setprop(fmd.d_conf, prop, buf); 148 fmd_rpc_svc_init(void (*disp)(struct svc_req *, SVCXPRT *), const char *name, const char *path, const char *prop, rpcprog_t pmin, rpcprog_t pmax, rpcvers_t vers, uint_t sndsize, uint_t rcvsize, int force) argument
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | page_retire.c | 488 page_retire_op_t *prop; local 496 prop = NULL; 499 prop = &page_retire_ops[i]; 510 ASSERT(prop->pr_key == code); 512 prop->pr_count++; 514 PR_MESSAGE(CE_NOTE, prop->pr_msglvl, prop->pr_message, pa); 519 return (prop->pr_retval);
|
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | macro.cc | 626 macro = get_prop(name->prop, macro_prop); 854 if (macro_to_add->prop->body.macro.value != NULL) { 855 value_to_add = macro_to_add->prop->body.macro.value->string_mb; 909 set_host = (get_prop(host_arch->prop, macro_prop) == NULL); 910 set_target = (get_prop(target_arch->prop, macro_prop) == NULL); 964 set_host = (get_prop(host_mach->prop, macro_prop) == NULL); 965 set_target = (get_prop(target_mach->prop, macro_prop) == NULL); 1080 register Property macro_apx = get_prop(name->prop, macro_append_prop);
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | graph.c | 2541 scf_property_t *prop; local 2617 prop = safe_scf_property_create(h); 2619 if (scf_pg_get_property(pg, SCF_PROPERTY_ENTITIES, prop) != 0) { 2621 scf_property_destroy(prop); 2660 err = walk_property_astrings(prop, (callback_t)process_dependency_fmri, 2663 scf_property_destroy(prop); 3903 scf_property_t *prop; local 3957 prop = safe_scf_property_create(h); 4012 r = libscf_get_milestone(inst, prop, val, buf, max_scf_fmri_size); 4054 scf_property_destroy(prop); 5204 dgraph_set_runlevel(scf_propertygroup_t *pg, scf_property_t *prop) argument 5961 scf_property_t *prop; local 6088 scf_property_t *prop; local 6280 scf_property_t *prop = NULL; local 6481 scf_property_t *prop; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/no_space/ |
H A D | enospc_002_pos.ksh | 60 log_must zfs set user:prop=value $TESTPOOL/$TESTFS
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | cherrystone.c | 557 char prop[PICL_PROPNAMELEN_MAX]; local 575 err = picl_get_propval_by_name(fans[i], PICL_PROP_NAME, prop, 591 log_printf(dgettext(TEXT_DOMAIN, "%-16s"), prop); 602 prop, PICL_PROPNAMELEN_MAX); 607 log_printf(dgettext(TEXT_DOMAIN, " [%s]\n"), prop);
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | read2.cc | 200 Property prop; local 268 prop = append_prop(name, long_member_name_prop); 270 prop->body.long_member_name.member_name = 273 /* And add the member prop */ 274 prop = append_prop(name, member_prop); 275 prop->body.member.library = lib; 278 prop->body.member.entry = member; 279 prop->body.member.member = NULL; 282 prop->body.member.entry = NULL; 283 prop [all...] |
/illumos-gate/usr/src/lib/libzonestat/common/ |
H A D | libzonestat.c | 2695 zs_resource_property(zs_usage_t *u, int res, int prop, zs_property_t *p) argument 2699 switch (prop) { 2701 p->zsp_id = prop; 2706 p->zsp_id = prop; 3481 zs_zone_property(zs_zone_t *zone, int prop, zs_property_t *p) argument 3483 switch (prop) { 3486 p->zsp_id = prop; 3492 p->zsp_id = prop; 3497 p->zsp_id = prop; 3502 p->zsp_id = prop; 3844 zs_pset_property(zs_pset_t *pset, int prop, zs_property_t *p) argument 4051 zs_pset_zone_property(zs_pset_zone_t *pz, int prop, zs_property_t *p) argument [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_selfcred.c | 1533 scf_simple_prop_t *prop; local 1537 prop = scf_simple_prop_get(NULL, NULL, "config", var); 1538 if (prop) { 1541 val = scf_simple_prop_next_boolean(prop); 1547 val = scf_simple_prop_next_integer(prop); 1552 scf_simple_prop_free(prop); 1555 if (prop == NULL || val == NULL) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/ |
H A D | piclfrutree.c | 1937 ptree_propinfo_t prop; local 1941 prop.version = PTREE_PROPINFO_VERSION; 1942 prop.piclinfo.type = PICL_PTYPE_CHARSTRING; 1943 prop.piclinfo.accessmode = PICL_READ; 1944 prop.piclinfo.size = PICL_CLASSNAMELEN_MAX; 1945 prop.read = NULL; 1946 prop.write = NULL; 1947 (void) strlcpy(prop.piclinfo.name, PICL_PROP_CLASS, 1948 sizeof (prop.piclinfo.name)); 1949 err = ptree_create_prop(&prop, clas 1981 ptree_propinfo_t prop; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | ramdisk.c | 261 char *prop, *p; local 267 "max_disks", &prop) == DDI_PROP_SUCCESS) { 268 p = prop; 270 ddi_prop_free(prop); 284 "percent_physmem", &prop) == DDI_PROP_SUCCESS) { 285 p = prop; 287 ddi_prop_free(prop);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_node.c | 1034 char prop[64]; local 1043 (void) snprintf(prop, sizeof (prop), "w%s-depth", 1048 (void *)hba->dip, DDI_PROP_DONTPASS, prop, throttle); 1051 (void) snprintf(prop, sizeof (prop), "%s%d-w%s-depth", DRIVER_NAME, 1056 (void *)hba->dip, DDI_PROP_DONTPASS, prop, throttle);
|
/illumos-gate/usr/src/lib/libstmf/common/ |
H A D | stmf.c | 128 static int getDiskGlobalProp(uint32_t prop, char *propVal, size_t *propLen); 1727 * prop - property to modify 1732 stmfModifyLu(stmfGuid *luGuid, uint32_t prop, const char *propVal) argument 1747 ret = modifyDiskLuProp(luGuid, NULL, prop, propVal); 1767 * prop - valid property identifier 1772 stmfModifyLuByFname(uint16_t dType, const char *fname, uint32_t prop, argument 1781 ret = modifyDiskLuProp(NULL, fname, prop, propVal); 1790 modifyDiskLuProp(stmfGuid *luGuid, const char *fname, uint32_t prop, argument 1801 ret = validateModifyDiskProp(prop); 1806 ret = stmfSetLuProp(hdl, prop, propVa 1818 validateModifyDiskProp(uint32_t prop) argument 2122 stmfGetLuProp(luResource hdl, uint32_t prop, char *propVal, size_t *propLen) argument 2373 stmfGetGlobalLuProp(uint16_t dType, uint32_t prop, char *propVal, size_t *propLen) argument 2393 getDiskGlobalProp(uint32_t prop, char *propVal, size_t *propLen) argument 2509 stmfSetGlobalLuProp(uint16_t dType, uint32_t prop, const char *propVal) argument 2626 stmfSetLuProp(luResource hdl, uint32_t prop, const char *propVal) argument 2655 getDiskProp(luResourceImpl *hdl, uint32_t prop, char *propVal, size_t *propLen) argument 5581 char prop[MAXNAMELEN] = {0}; local [all...] |
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | allow.py | 267 for (name, prop) in sorted(zfs.dataset.proptable.iteritems()): 268 if prop.visible and prop.delegatable():
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 114 zpool_get_prop_string(zpool_handle_t *zhp, zpool_prop_t prop, argument 123 if (nvlist_lookup_nvlist(nvl, zpool_prop_to_name(prop), &nv) == 0) { 129 if ((value = (char *)zpool_prop_default_string(prop)) == NULL) 140 zpool_get_prop_int(zpool_handle_t *zhp, zpool_prop_t prop, zprop_source_t *src) argument 152 if ((prop == ZPOOL_PROP_GUID) && 159 return (zpool_prop_default_numeric(prop)); 163 if (nvlist_lookup_nvlist(nvl, zpool_prop_to_name(prop), &nv) == 0) { 169 value = zpool_prop_default_numeric(prop); 240 * Get a zpool property value for 'prop' and return the value in 244 zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, cha argument 428 zpool_prop_t prop; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecconf.c | 204 char *prop[MAXARGS + 1]; member in struct:ap_s 4051 * {pattern} ( action {prop} | pass | drop ) (or ...)* 4060 enum parse_state {pattern, action, prop } pstate; enumerator in enum:parse_state 4133 pstate = prop; 4136 case prop: 4139 (void) printf("prop\n"); 4142 act_props->ap[ap_num].prop, &leftover); 4183 } /* case prop: */ 4226 * properties => act_props->ap[].prop 4235 for (i = 0; act_props->ap[j].prop[ [all...] |
/illumos-gate/usr/src/lib/libraidcfg/common/ |
H A D | raidcfg_spi.h | 333 char prop[1]; member in struct:__anon3848
|
/illumos-gate/usr/src/cmd/vscan/vscanadm/ |
H A D | vscanadm.c | 667 char *prop; local 680 prop = argv[argc - 2]; 681 vap = vs_adm_prop_by_name(prop); 684 gettext("invalid property"), prop);
|