Home
last modified time | relevance | path

Searched refs:propname (Results 51 – 75 of 130) sorted by relevance

123456

/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c67 char *propname; member
150 for (cl = fma_cap_list; cl->propname != NULL; cl++) { in get_cap_conf()
164 fma_cap = fmd_prop_get_int32(hdl, cl->propname); in get_cap_conf()
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl.c392 picl_get_propval_by_name(picl_nodehdl_t nodeh, const char *propname, in picl_get_propval_by_name() argument
403 (void) strcpy(req_attrvalbyname.propname, propname); in picl_get_propval_by_name()
466 picl_set_propval_by_name(picl_nodehdl_t nodeh, const char *propname, in picl_set_propval_by_name() argument
480 (void) strcpy(inargs->propname, propname); in picl_set_propval_by_name()
608 (void) strcpy(req_attrbyname.propname, name); in picl_get_prop_by_name()
824 (void) strncpy(req->propname, pname, PICL_PROPNAMELEN_MAX); in picl_find_node()
H A Dpicl.h138 const char *propname, void *valbuf, size_t sz);
142 const char *propname, void *valbuf, size_t sz);
/illumos-gate/usr/src/cmd/device_remap/
H A Ddevice_remap.pl166 my ($self, $nodeid, $propname, $type) = @_;
172 $nameid = $self->findname($propname);
191 my ($self, $nodeid, $propname, $type) = @_;
194 $propid = $self->findprop($nodeid, $propname, $type);
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c966 const char *propname, dladm_prop_type_t type, in print_flowprop() argument
977 status = dladm_get_flowprop(handle, flowname, type, propname, propvals, in print_flowprop()
1000 warn("invalid flow property '%s'", propname); in print_flowprop()
1036 char *propname = arg->fs_propname; in print_flowprop_cb() local
1047 (void) snprintf(ptr, lim - ptr, "%s", propname); in print_flowprop_cb()
1050 print_flowprop(flowname, statep, propname, in print_flowprop_cb()
1063 print_flowprop(flowname, statep, propname, in print_flowprop_cb()
1070 print_flowprop(flowname, statep, propname, in print_flowprop_cb()
1089 show_one_flowprop(void *arg, const char *propname) in show_one_flowprop() argument
1096 fs_arg.fs_propname = (char *)propname; in show_one_flowprop()
/illumos-gate/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c174 const char *propname, char **val) in nd_get_astring_prop() argument
197 if (scf_pg_get_property(pg, propname, prop) == -1 || in nd_get_astring_prop()
200 nd_error(nhdl, "Failed to retrieve %s prop (%s)", propname, in nd_get_astring_prop()
218 const char *propname, uint8_t *val) in nd_get_boolean_prop() argument
240 if (scf_pg_get_property(pg, propname, prop) == -1 || in nd_get_boolean_prop()
243 nd_error(nhdl, "Failed to retrieve %s prop (%s)", propname, in nd_get_boolean_prop()
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c874 char propname[ZFS_MAXPROPLEN]; in getzfsquota() local
883 (void) snprintf(propname, sizeof (propname), "userquota@%s", user); in getzfsquota()
884 if (_zfs_prop_get_userquota_int(zhp, propname, &userquota) != 0) { in getzfsquota()
889 (void) snprintf(propname, sizeof (propname), "userused@%s", user); in getzfsquota()
890 if (_zfs_prop_get_userquota_int(zhp, propname, &userused) != 0) { in getzfsquota()
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c550 set_property_value(scf_resources_t *res, const char *propname, in set_property_value() argument
557 new = (scf_pg_get_property(res->sr_pg, propname, res->sr_prop) != 0); in set_property_value()
564 propname, proptype) == -1) { in set_property_value()
569 propname, proptype) == -1) { in set_property_value()
585 "for %s; retrying", propname); in set_property_value()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c1909 if (ra_get_single_prop_as_string(h, inst, pgname, propname, in ra_get_boolean_prop()
1960 if (scf_pg_get_property(pg, propname, prop) != 0) { in ra_get_prop_as_string()
1966 myname, pgname, propname); in ra_get_prop_as_string()
2018 "%s: property %s not found"), myname, propname); in ra_get_prop_as_string()
2084 if (ra_get_prop_as_string(h, inst, pgname, propname, B_TRUE, in ra_set_prop_from_string()
2091 propname); in ra_set_prop_from_string()
2139 if (scf_pg_get_property(instpg, propname, prop) != 0) { in ra_set_prop_from_string()
2153 if (scf_transaction_property_new(tx, ent, propname, in ra_set_prop_from_string()
2156 } else if (scf_transaction_property_change(tx, ent, propname, in ra_set_prop_from_string()
2181 pgname, propname); in ra_set_prop_from_string()
[all …]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c740 char *propname; in smb_validate_property() local
746 propname = sa_get_property_attr(property, "type"); in smb_validate_property()
748 if ((optindex = findopt(propname)) < 0) in smb_validate_property()
758 if (propname != NULL) in smb_validate_property()
759 sa_free_attr_string(propname); in smb_validate_property()
800 if (strcmp(propname, SHOPT_RO) == 0) in smb_validate_property()
802 else if (strcmp(propname, SHOPT_RW) == 0) in smb_validate_property()
836 if (propname != NULL) in smb_validate_property()
837 sa_free_attr_string(propname); in smb_validate_property()
2519 prop = sa_get_property(opts, propname); in smb_saprop_getbool()
[all …]
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c386 char *name, *propname; in py_userspace_many() local
392 if (!PyArg_ParseTuple(args, "ss", &name, &propname)) in py_userspace_many()
396 if (strcmp(propname, zfs_userquota_prop_prefixes[type]) == 0) in py_userspace_many()
399 PyErr_SetString(PyExc_KeyError, propname); in py_userspace_many()
439 seterr(_("cannot get %s property on %s"), propname, name); in py_userspace_many()
H A Ddataset.py136 def getprop(self, propname): argument
146 p = getpropobj(propname)
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses_facility.c146 char *propname, *altprop; in ses_indicator_mode() local
157 &propname) != 0) { in ses_indicator_mode()
193 nvlist_add_boolean_value(nvl, propname, in ses_indicator_mode()
212 propname, &current) != 0) { in ses_indicator_mode()
214 "properties\n", propname); in ses_indicator_mode()
527 int type, const char *name, const char *propname, const char *altprop) in ses_add_indicator() argument
558 propname) != 0 || in ses_add_indicator()
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c410 char propname[20]; in serial_adjust_prop() local
417 (void) strcpy(propname, "ttyX-mode"); in serial_adjust_prop()
418 propname[3] = 'a' + tty_num; in serial_adjust_prop()
419 propval = get_mode_value(propname); in serial_adjust_prop()
514 (void) strcpy(propname, "ttyX-rts-dtr-off"); in serial_adjust_prop()
515 propname[3] = 'a' + tty_num; in serial_adjust_prop()
516 propval = get_mode_value(propname); in serial_adjust_prop()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c476 propname); in zpool_valid_proplist()
517 "is readonly"), propname); in zpool_valid_proplist()
535 propname, intval); in zpool_valid_proplist()
545 "creation"), propname); in zpool_valid_proplist()
568 "or import time"), propname); in zpool_valid_proplist()
576 "'%s' property"), propname); in zpool_valid_proplist()
683 "import time"), propname); in zpool_valid_proplist()
693 "creation time"), propname); in zpool_valid_proplist()
818 char *propname; in zpool_expand_proplist() local
843 free(propname); in zpool_expand_proplist()
[all …]
H A Dlibzfs.h487 extern int zfs_prop_get_userquota_int(zfs_handle_t *zhp, const char *propname,
489 extern int zfs_prop_get_userquota(zfs_handle_t *zhp, const char *propname,
491 extern int zfs_prop_get_written_int(zfs_handle_t *zhp, const char *propname,
493 extern int zfs_prop_get_written(zfs_handle_t *zhp, const char *propname,
495 extern int zfs_prop_get_feature(zfs_handle_t *zhp, const char *propname,
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_methods.c63 store_prop_val(topo_mod_t *mod, void *buf, char *propname, topo_type_t type, in store_prop_val() argument
70 if (nvlist_add_string(*out, TOPO_PROP_VAL_NAME, propname) != 0) { in store_prop_val()
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_ndd.c75 #define NGE_INIT_PROP(propname, fieldname, initval) { \ argument
76 if (nge_nd_get_prop_val(dip, propname, 0, 1, &propval)) \
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_boot.h40 extern char *spa_get_bootprop(const char *propname);
/illumos-gate/usr/src/common/zfs/
H A Dzpool_prop.c157 zpool_name_to_prop(const char *propname) in zpool_name_to_prop() argument
159 return (zprop_name_to_prop(propname, ZFS_TYPE_POOL)); in zpool_name_to_prop()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c2050 char *propname; in zfs_do_inherit() local
2085 propname = argv[0]; in zfs_do_inherit()
2093 propname); in zfs_do_inherit()
2119 propname); in zfs_do_inherit()
2487 propname = "type"; in us_compare()
2494 propname = "name"; in us_compare()
2515 propname = "used"; in us_compare()
2517 propname = "quota"; in us_compare()
2595 char *propname; in userspace_cb() local
2738 propname = "used"; in userspace_cb()
[all …]
/illumos-gate/usr/src/cmd/itadm/
H A Ditadm.c260 char *propname; in main() local
395 propname = "targetchapsecret"; in main()
397 propname = "chapsecret"; in main()
400 propname, NULL, in main()
406 propname = "targetchapsecret"; in main()
408 propname = "chapsecret"; in main()
411 propname, optarg, NULL); in main()
421 propname = "targetchapuser"; in main()
423 propname = "chapuser"; in main()
426 propname, optarg); in main()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c529 const char *propname, uint64_t propval) in set_count_property() argument
539 if (scf_transaction_property_new(tran, entry, propname, in set_count_property()
541 scf_transaction_property_change(tran, entry, propname, in set_count_property()
560 const char *propname, const char *propval) in set_string_property() argument
570 if (scf_transaction_property_new(tran, entry, propname, in set_string_property()
572 scf_transaction_property_change(tran, entry, propname, in set_string_property()
592 const char *propname, const char *propval) in set_fmri_property() argument
602 if (scf_transaction_property_new(tran, entry, propname, in set_fmri_property()
604 scf_transaction_property_change(tran, entry, propname, in set_fmri_property()
/illumos-gate/usr/src/lib/libpicltree/
H A Dptree_impl.h233 const char *propname, void *valbuf, size_t sz,
238 const char *propname, const void *valbuf, size_t sz,
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dadopt.c271 get_prom_prop(const char *nodename, const char *propname, uchar_t **propvaluep, in get_prom_prop() argument
321 if (strcmp(propname, di_prom_prop_name(pp)) == 0) { in get_prom_prop()

123456