Searched refs:prop (Results 1 - 25 of 357) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/sys/boot/fdt/
H A Dfdt_loader_cmd.c107 { "prop", &fdt_cmd_prop, CMD_REQUIRES_BLOB },
619 const struct fdt_property *prop; local
634 prop = fdt_get_property(fdtp, no, "stdout", &len);
637 if (prop == NULL || (prop != NULL && len == 0)) {
1172 const struct fdt_property *prop; local
1178 prop = fdt_offset_ptr(fdtp, offset, sizeof(*prop));
1179 if (prop == NULL)
1182 name = fdt_string(fdtp, fdt32_to_cpu(prop
[all...]
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c452 scf_property_t *prop; local
464 if ((prop = scf_property_create(handle)) == NULL ||
466 scf_pg_get_property(pg, propname, prop) == -1 ||
467 scf_property_get_value(prop, value) == -1 ||
472 scf_property_destroy(prop);
481 scf_property_t *prop; local
493 if ((prop = scf_property_create(handle)) == NULL ||
495 scf_pg_get_property(pg, propname, prop) == -1 ||
496 scf_property_get_value(prop, value) == -1 ||
501 scf_property_destroy(prop);
[all...]
/illumos-gate/usr/src/cmd/audit/
H A Daudit.c172 scf_simple_prop_t *prop = NULL; local
175 if ((prop = scf_simple_prop_get(NULL, AUDITD_FMRI, SCF_PG_RESTARTER,
180 if ((scf_simple_prop_numvalues(prop) < 0) ||
181 (cid = scf_simple_prop_next_count(prop)) == NULL) {
182 scf_simple_prop_free(prop);
188 scf_simple_prop_free(prop);
191 scf_simple_prop_free(prop);
/illumos-gate/usr/src/cmd/checknr/
H A Dchecknr.c157 static void prop(int i);
382 prop(i);
387 prop(int i) function
473 prop(j+1);
476 prop(j+2);
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c1557 scf_simple_prop_t *prop; local
1559 prop = scf_simple_prop_get(res->sr_handle, IPMGMTD_FMRI, pgname, pname);
1560 numvals = scf_simple_prop_numvalues(prop);
1565 *(int64_t **)pval = scf_simple_prop_next_integer(prop);
1568 *(char **)pval = scf_simple_prop_next_astring(prop);
1572 scf_simple_prop_free(prop);
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dllp.c298 const char *prop; local
346 prop = NWAM_NCU_PROP_ACTIVATION_MODE;
348 if ((err = nwamd_set_ncu_uint(phys_ncu, &uintval, 1, prop))
352 prop = NWAM_NCU_PROP_PRIORITY_MODE;
354 if ((err = nwamd_set_ncu_uint(phys_ncu, &uintval, 1, prop))
358 prop = NWAM_NCU_PROP_PRIORITY_GROUP;
360 if ((err = nwamd_set_ncu_uint(phys_ncu, &uintval, 1, prop))
367 prop = NWAM_NCU_PROP_IPV4_ADDRSRC;
370 prop)) != NWAM_SUCCESS)
373 prop
[all...]
H A Dncu.c81 const char *prop)
89 err = nwam_ncu_set_prop_value(ncuh, prop, val);
96 const char *prop)
104 err = nwam_ncu_set_prop_value(ncuh, prop, val);
111 uint_t *cnt, const char *prop)
115 if ((err = nwam_ncu_get_prop_value(ncuh, prop, val)) != NWAM_SUCCESS)
122 uint64_t **uintval, uint_t *cnt, const char *prop)
126 if ((err = nwam_ncu_get_prop_value(ncuh, prop, val)) != NWAM_SUCCESS)
80 nwamd_set_ncu_string(nwam_ncu_handle_t ncuh, char **strval, uint_t cnt, const char *prop) argument
95 nwamd_set_ncu_uint(nwam_ncu_handle_t ncuh, uint64_t *uintval, uint_t cnt, const char *prop) argument
110 nwamd_get_ncu_string(nwam_ncu_handle_t ncuh, nwam_value_t *val, char ***strval, uint_t *cnt, const char *prop) argument
121 nwamd_get_ncu_uint(nwam_ncu_handle_t ncuh, nwam_value_t *val, uint64_t **uintval, uint_t *cnt, const char *prop) argument
H A Dutil.c383 * prop is the property within that group to look up
399 get_property_value(const char *fmri, const char *pg, const char *prop, argument
409 if (scf_pg_get_property(res->sr_pg, prop, res->sr_prop) != 0) {
597 nwamd_set_count_property(const char *fmri, const char *pg, const char *prop, argument
616 if (set_property_value(&res, prop, SCF_TYPE_COUNT) != 0)
624 "setting %s", scf_strerror(scf_error()), prop);
630 nwamd_set_string_property(const char *fmri, const char *pg, const char *prop, argument
650 if (set_property_value(&res, prop, SCF_TYPE_ASTRING) != 0)
658 "setting %s", scf_strerror(scf_error()), prop);
664 * Deletes property prop fro
668 nwamd_delete_scf_property(const char *fmri, const char *pg, const char *prop) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dclass_id.c47 opp_zalloc(size_t size, const char *prop) argument
54 if (prop != NULL)
55 (void) strcpy(opp->oprom_array, prop);
86 return_property(int prom_fd, const char *prop) argument
90 struct openpromio *opp = opp_zalloc(strlen(prop) + 1, prop);
101 if (proplen > (strlen(prop) + 1)) {
103 opp = opp_zalloc(proplen, prop);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c140 const char **prop = required_properties; local
151 while (*prop != NULL) {
153 dn, *prop, &prop_value) != 1) {
157 prop++;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_scf.c106 /* add new rule related prop here */
109 /* add new sg related prop here */
115 /* add new hc related prop here */
254 * If create is set, create a new prop group, destroy the old one if exists.
255 * If create not set, try to find the prop group with given name.
867 scf_property_t *prop = NULL; local
887 if ((prop = scf_property_create(h)) == NULL)
906 logdebug("ilbd_scf_set_prop: create scf prop failed\n");
913 logdebug("ilbd_scf_set_prop: change scf prop failed\n");
944 if (prop !
958 scf_property_t *prop = NULL; local
1297 scf_property_t *prop; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c73 static scf_property_t *prop = NULL; variable
136 ((prop = scf_property_create(rep_handle)) == NULL)) {
167 scf_property_destroy(prop);
168 prop = NULL;
532 const char *prop, boolean_t store)
542 if (strcmp(prop, PR_NAME_START_PIDS) == 0) {
601 if ((ret = (store ? _store_rep_vals(vals, fmri, prop) :
602 _retrieve_rep_vals(vals, fmri, prop))) !=
615 store_rep_vals(uu_list_t *vals, const char *fmri, const char *prop) argument
617 return (store_retrieve_rep_vals(vals, fmri, prop, B_TRU
531 store_retrieve_rep_vals(uu_list_t *vals, const char *fmri, const char *prop, boolean_t store) argument
621 retrieve_rep_vals(uu_list_t *vals, const char *fmri, const char *prop) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c4091 char prop[256]; local
4092 if (get_string(&request->msgptr, request->msgend, prop, sizeof(prop)) >= 0)
4094 LogOperation("%3d: DNSServiceGetProperty(%s)", request->sd, prop);
4095 if (!strcmp(prop, kDNSServiceProperty_DaemonVersion))
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c2125 vrrp_prop_t *prop; local
2131 prop = &vrrp_prop_info_tbl[i];
2133 prop->vs_propname);
2138 n = prop->vs_propwrite(conf, line, len);
2197 vrrp_prop_t *prop; local
2208 prop = &vrrp_prop_info_tbl[i];
2209 if (strcasecmp(str, prop->vs_propname) == 0) {
2210 if (prop->vs_propread(conf, pstr))
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetadm/
H A Dinetadm.c188 modify_prop(const scf_instance_t *inst, const char *pg, const char *prop, argument
234 if (scf_pg_get_property(gpg, prop, eprop) == -1) {
257 ret = scf_transaction_property_new(tx, ent, prop, type);
260 prop, type);
272 if (strcmp(prop, PR_PROTO_NAME) == 0) {
283 if ((strcmp(prop, PR_PROTO_NAME) != 0) &&
302 if (strcmp(prop, PR_PROTO_NAME) == 0)
320 delete_prop(const scf_instance_t *inst, const char *pg, const char *prop) argument
350 prop) != SCF_SUCCESS) {
356 prop);
446 scf_simple_prop_t *prop = NULL, *prop2 = NULL; local
527 print_prop_val(inetd_prop_t *prop) argument
571 scf_simple_prop_t *prop; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c323 * prop(/prop)*
385 inetd_prop_t *prop, *inetd_properties; local
391 prop = safe_malloc(prop_size * sizeof (inetd_prop_t));
392 (void) memcpy(prop, inetd_properties,
395 put_prop_value_boolean(prop, PR_ISRPC_NAME, iconf->isrpc);
396 put_prop_value_boolean(prop, PR_ISWAIT_NAME, iconf->wait);
398 put_prop_value_int(prop, PR_RPC_LW_VER_NAME,
400 put_prop_value_int(prop, PR_RPC_HI_VER_NAME,
406 if (!put_prop_value_string(prop, PR_SOCK_TYPE_NAM
1087 property_error(const char *fmri, const char *prop) argument
1103 modify_sprop(scf_handle_t *h, const scf_instance_t *inst, const char *pg, const char *prop, const char *value) argument
1220 scf_simple_prop_t *prop = NULL; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c204 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/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c68 #define SHELP_CLEAR "clear <prop-name>"
77 #define SHELP_GET "get [-V] <prop-name>"
82 #define SHELP_SET "set <prop-name>=<value1>[,<value2>...]"
659 /* Given an int for a prop, returns it as string */
821 properr(const char *prop) argument
823 nerr("Invalid property: '%s'", prop);
1933 /* Given an int for prop, returns it as string */
1947 /* Given a prop as a string, returns it as an int */
1949 prop_to_pt(nwam_object_type_t object_type, const char *prop) argument
1955 if (strcmp(prop, prop_tabl
1963 prop_value_type(nwam_object_type_t object_type, const char *prop) argument
2291 show_prop_test(nwam_object_type_t object_type, const char *prop, prop_display_entry_t *display_list, char **checked_props, int num_checked) argument
2425 is_prop_read_only(nwam_object_type_t object_type, const char *prop) argument
2451 is_prop_multivalued(nwam_object_type_t object_type, const char *prop) argument
2481 invalid_set_prop_msg(const char *prop, nwam_error_t err) argument
2526 const char *prop; local
2659 str2str(void *s, const char *prop, char *str) argument
2667 str2qstr(void *s, const char *prop, char *qstr) argument
2676 int2str(void *in, const char *prop, char *instr) argument
2683 uint2str(void *uin, const char *prop, char *uintstr) argument
2696 bool2str(void *bool, const char *prop, char *boolstr) argument
2781 output_propname_common(const char *prop, nwam_value_t values, void *arg, int width) argument
2800 output_propname(const char *prop, nwam_value_t values, void *arg) argument
2807 output_loc_propname(const char *prop, nwam_value_t values, void *arg) argument
3202 write_export_command(nwam_object_type_t object_type, const char *prop, nwam_value_t values, FILE *of) argument
3748 const char *prop; local
3818 const char *prop; local
3865 print_all_prop_choices(nwam_object_type_t object_type, const char *prop) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c1682 scf_property_t *prop; local
1721 (prop = scf_property_create(h)) == NULL ||
1727 while ((propiterret = scf_iter_next_property(propiter, prop)) == 1) {
1728 if ((pnamelen = scf_property_get_name(prop, NULL, 0) + 1)
1742 (void) scf_property_get_name(prop, pnamebuf,
1747 scf_iter_property_values(valiter, prop)
1798 scf_property_destroy(prop);
1946 scf_property_t *prop = NULL; local
1960 if ((prop = scf_property_create(h)) == NULL)
1962 if (scf_pg_get_property(pg, propname, prop) !
2055 ra_set_boolean_prop(scf_handle_t *h, scf_instance_t *inst, const char *pgname, const char *prop, boolean_t create, boolean_t propval) argument
2076 scf_property_t *prop = NULL; local
[all...]
H A Dsvc-forwarding57 /usr/sbin/ipadm set-prop -p forwarding=on $proto
58 [ "$proto" = "ipv6" ] && /usr/sbin/ipadm set-prop \
62 /usr/sbin/ipadm set-prop -p forwarding=off $proto
63 [ "$proto" = "ipv6" ] && /usr/sbin/ipadm set-prop \
/illumos-gate/usr/src/cmd/coreadm/
H A Dcoreadm.c408 scf_propvec_t *prop; local
440 for (prop = prop_option; prop->pv_prop != NULL; prop++)
441 if ((alloptions & prop->pv_aux) != 0)
442 addprop(properties, MAX_PROPS, count++, prop, &options);
446 prop = NULL;
448 &prop) == SCF_FAILED) {
449 if (prop != NULL) {
452 prop
617 scf_propvec_t *prop; local
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c7847 add_property(nvlist_t *nvl, di_prop_t prop) argument
7860 if ((name = di_prop_name(prop)) == NULL)
7870 switch (di_prop_type(prop)) {
7877 if ((n = di_prop_ints(prop, &int32p)) < 1)
7889 if ((n = di_prop_int64(prop, &int64p)) < 1)
7902 if ((n = di_prop_bytes(prop, &bytep)) < 1)
7914 if ((n = di_prop_strings(prop, &str)) < 1)
8197 di_prop_t prop; local
8308 for (prop = di_prop_next(node, DI_PROP_NIL);
8309 prop !
[all...]
/illumos-gate/usr/src/cmd/device_remap/
H A Ddevice_remap.pl121 my (%node, $tag, %prop);
125 %prop = (name => $node{'name'}, tag => $tag);
128 $prop{'string'} =
131 $prop{'arc'} = $node{'idx'};
133 $prop{'val'} = $node{'val'};
135 $prop{'length'} = $node{'datalen'};
136 $prop{'offset'} = $node{'dataoff'};
141 return %prop;
413 my (%prop, $current);
415 %prop
[all...]
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c128 sa_property_t prop; local
194 for (prop = sa_get_protocol_property(propsect, NULL);
195 prop != NULL;
196 prop = sa_get_next_protocol_property(prop, NULL)) {
199 name = sa_get_property_attr(prop, "type");
201 value = sa_get_property_attr(prop,
226 for (prop = sa_get_protocol_property(propsect,
228 prop != NULL;
229 prop
274 sa_property_t prop; local
[all...]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c349 scf_simple_prop_t *prop = NULL; local
373 prop = scf_simple_prop_get(handle,
378 prop = scf_simple_prop_get(handle,
387 if (prop != NULL) {
389 numauths = scf_simple_prop_numvalues(prop);
391 authstr = scf_simple_prop_next_astring(prop);
401 scf_simple_prop_free(prop);
786 sa_property_t prop; local
799 prop = sa_create_property(cur->optname, cur->optvalue);
800 if (prop
847 sa_property_t prop; local
1834 sa_property_t prop; local
3558 sa_property_t prop; local
4052 sa_property_t prop; local
4088 sa_property_t prop; local
4119 sa_property_t prop; local
4166 sa_property_t prop; local
4265 sa_property_t prop; local
4351 sa_property_t prop; local
[all...]

Completed in 308 milliseconds

1234567891011>>