Home
last modified time | relevance | path

Searched refs:proplist (Results 1 – 25 of 25) sorted by relevance

/titanic_44/usr/src/lib/libnwam/common/
H A Dlibnwam_files.c153 nwam_line_to_object(char *line, char **objname, void *proplist) in nwam_line_to_object() argument
165 if ((err = nwam_alloc_object_list(proplist)) != NWAM_SUCCESS) in nwam_line_to_object()
172 nwam_free_object_list(*((char **)proplist)); in nwam_line_to_object()
185 nwam_free_object_list(*((char **)proplist)); in nwam_line_to_object()
190 nwam_free_object_list(*((char **)proplist)); in nwam_line_to_object()
214 nwam_free_object_list(*((char **)proplist)); in nwam_line_to_object()
220 nwam_free_object_list(*((char **)proplist)); in nwam_line_to_object()
238 (*((char **)proplist)); in nwam_line_to_object()
253 nwam_free_object_list(*((char **)proplist)); in nwam_line_to_object()
261 nwam_free_object_list(*((char **)proplist)); in nwam_line_to_object()
[all …]
/titanic_44/usr/src/cmd/itadm/
H A Ditadm.c201 create_target(char *tgt, nvlist_t *proplist);
204 modify_target(char *tgt, char *new, nvlist_t *proplist);
222 modify_initiator(char *ini, nvlist_t *proplist, boolean_t create);
231 modify_defaults(nvlist_t *proplist);
255 nvlist_t *proplist = NULL; in main() local
295 ret = nvlist_alloc(&proplist, NV_UNIQUE_NAME, 0); in main()
315 ret = nvlist_add_string(proplist, in main()
319 ret = itadm_get_password(proplist, in main()
324 ret = itadm_get_password(proplist, in main()
360 ret = nvlist_add_boolean_value(proplist, in main()
[all …]
/titanic_44/usr/src/lib/libdladm/common/
H A Dflowprop.c442 flow_proplist_check(dladm_arg_list_t *proplist) in flow_proplist_check() argument
447 for (i = 0; i < proplist->al_count; i++) { in flow_proplist_check()
450 if (strcmp(proplist->al_info[i].ai_name, in flow_proplist_check()
484 i_dladm_flow_proplist_extract_one(dladm_arg_list_t *proplist, in i_dladm_flow_proplist_extract_one() argument
492 for (i = 0; i < proplist->al_count; i++) { in i_dladm_flow_proplist_extract_one()
493 aip = &proplist->al_info[i]; in i_dladm_flow_proplist_extract_one()
499 if (i == proplist->al_count) in i_dladm_flow_proplist_extract_one()
555 dladm_flow_proplist_extract(dladm_arg_list_t *proplist, in dladm_flow_proplist_extract() argument
560 status = i_dladm_flow_proplist_extract_one(proplist, "maxbw", mrp); in dladm_flow_proplist_extract()
563 status = i_dladm_flow_proplist_extract_one(proplist, "priority", mrp); in dladm_flow_proplist_extract()
[all …]
H A Dlibdlvnic.c401 int af, datalink_id_t *vnic_id_out, dladm_arg_list_t *proplist, in dladm_vnic_create() argument
513 if (proplist != NULL) { in dladm_vnic_create()
514 status = dladm_link_proplist_extract(handle, proplist, in dladm_vnic_create()
550 if (proplist != NULL) { in dladm_vnic_create()
551 for (i = 0; i < proplist->al_count; i++) { in dladm_vnic_create()
552 dladm_arg_info_t *aip = &proplist->al_info[i]; in dladm_vnic_create()
767 dladm_arg_list_t *proplist; in i_dladm_vnic_up() local
776 status = dladm_link_get_proplist(handle, linkid, &proplist); in i_dladm_vnic_up()
780 if (proplist != NULL) { in i_dladm_vnic_up()
781 status = dladm_link_proplist_extract(handle, proplist, in i_dladm_vnic_up()
H A Dlibdlvlan.c62 uint16_t vid, dladm_arg_list_t *proplist, uint32_t flags, in dladm_vlan_create() argument
67 AF_UNSPEC, vlan_id_out, proplist, flags | DLADM_OPT_VLAN)); in dladm_vlan_create()
H A Dlibdlflow.c586 dladm_arg_list_t *attrlist, dladm_arg_list_t *proplist, char *flowname, in dladm_flow_add() argument
603 if (proplist != NULL && (status = dladm_flow_proplist_extract(proplist, in dladm_flow_add()
627 if (proplist != NULL) { in dladm_flow_add()
629 proplist); in dladm_flow_add()
H A Dlibdlib.c426 dladm_arg_list_t *proplist) in dladm_part_create() argument
503 if (proplist != NULL) { in dladm_part_create()
504 for (i = 0; i < proplist->al_count; i++) { in dladm_part_create()
505 dladm_arg_info_t *aip = &proplist->al_info[i]; in dladm_part_create()
H A Dlinkprop.c4628 dladm_arg_list_t *proplist = arg; in i_dladm_get_one_prop() local
4631 aip = &proplist->al_info[proplist->al_count]; in i_dladm_get_one_prop()
4642 proplist->al_count++; in i_dladm_get_one_prop()
4676 dladm_arg_list_t *proplist, const char *name, uint_t flags, void *arg) in i_dladm_link_proplist_extract_one() argument
4683 for (i = 0; i < proplist->al_count; i++) { in i_dladm_link_proplist_extract_one()
4684 aip = &proplist->al_info[i]; in i_dladm_link_proplist_extract_one()
4690 if (i == proplist->al_count) in i_dladm_link_proplist_extract_one()
4746 dladm_link_proplist_extract(dladm_handle_t handle, dladm_arg_list_t *proplist, in dladm_link_proplist_extract() argument
4754 proplist, rsrc_prop_table[i].rp_name, flags, mrp); in dladm_link_proplist_extract()
/titanic_44/usr/src/cmd/flowadm/
H A Dflowadm.c333 dladm_arg_list_t *proplist = NULL; in do_add_flow() local
394 if (dladm_parse_flow_props(propstr, &proplist, B_FALSE) in do_add_flow()
398 status = dladm_flow_add(handle, linkid, attrlist, proplist, name, in do_add_flow()
404 dladm_free_props(proplist); in do_add_flow()
690 dladm_arg_list_t *proplist = NULL; in set_flowprop() local
732 if (dladm_parse_flow_props(propstr, &proplist, reset) in set_flowprop()
736 if (proplist == NULL) { in set_flowprop()
758 for (i = 0; i < proplist->al_count; i++) { in set_flowprop()
759 dladm_arg_info_t *aip = &proplist->al_info[i]; in set_flowprop()
847 dladm_free_props(proplist); in set_flowprop()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/inetadm/
H A Dinetadm.c572 inetd_prop_t *proplist; in list_props_cb() local
617 if ((proplist = read_instance_props(h, instname, &numprops, &err)) == in list_props_cb()
628 if ((strcmp(PR_RPC_LW_VER_NAME, proplist[i].ip_name) == 0) || in list_props_cb()
629 (strcmp(PR_RPC_HI_VER_NAME, proplist[i].ip_name) == 0)) in list_props_cb()
634 if (proplist[i].ip_error != IVE_UNSET) { in list_props_cb()
635 if (strcmp(PR_ISRPC_NAME, proplist[i].ip_name) == 0) in list_props_cb()
636 is_rpc = proplist[i].ip_value.iv_boolean; in list_props_cb()
639 proplist[i].from_inetd ? INETADM_DEFAULT_STR : "", in list_props_cb()
640 proplist[i].ip_name); in list_props_cb()
641 print_prop_val(&proplist[i]); in list_props_cb()
[all …]
/titanic_44/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_property.c579 zjni_ArrayList_t *proplist = &proplist_obj; in zjni_get_Dataset_properties() local
580 zjni_new_ArrayList(env, proplist); in zjni_get_Dataset_properties()
590 env, ((zjni_Object_t *)proplist)->object, in zjni_get_Dataset_properties()
591 ((zjni_Collection_t *)proplist)->method_add, prop); in zjni_get_Dataset_properties()
613 env, ((zjni_Object_t *)proplist)->object, in zjni_get_Dataset_properties()
614 ((zjni_Collection_t *)proplist)->method_add, prop); in zjni_get_Dataset_properties()
635 env, ((zjni_Object_t *)proplist)->object, in zjni_get_Dataset_properties()
636 ((zjni_Collection_t *)proplist)->method_add, prop); in zjni_get_Dataset_properties()
659 env, ((zjni_Object_t *)proplist)->object, in zjni_get_Dataset_properties()
660 ((zjni_Collection_t *)proplist)->method_add, prop); in zjni_get_Dataset_properties()
[all …]
/titanic_44/usr/src/lib/libiscsit/common/
H A Dlibiscsit.h165 it_config_setprop(it_config_t *cfg, nvlist_t *proplist, nvlist_t **errlist);
233 it_tgt_setprop(it_config_t *cfg, it_tgt_t *tgt, nvlist_t *proplist,
458 it_ini_setprop(it_ini_t *ini, nvlist_t *proplist, nvlist_t **errlist);
H A Dlibiscsit.c319 it_config_setprop(it_config_t *cfg, nvlist_t *proplist, nvlist_t **errlist) in it_config_setprop() argument
332 if (!cfg || !proplist) { in it_config_setprop()
355 ret = nvlist_merge(cprops, proplist, 0); in it_config_setprop()
365 (void) nvlist_lookup_string(proplist, PROP_RADIUS_SECRET, &val); in it_config_setprop()
415 ret = nvlist_lookup_string_array(proplist, PROP_ISNS_SERVER, in it_config_setprop()
613 it_tgt_setprop(it_config_t *cfg, it_tgt_t *tgt, nvlist_t *proplist, in it_tgt_setprop() argument
621 if (!cfg || !tgt || !proplist) { in it_tgt_setprop()
650 ret = nvlist_merge(tprops, proplist, 0); in it_tgt_setprop()
658 (void) nvlist_lookup_string(proplist, PROP_TARGET_CHAP_USER, &val); in it_tgt_setprop()
664 (void) nvlist_lookup_string(proplist, PROP_ALIAS, &val); in it_tgt_setprop()
[all …]
/titanic_44/usr/src/cmd/zpool/
H A Dzpool_iter.c107 pool_list_get(int argc, char **argv, zprop_list_t **proplist, int *err) in pool_list_get() argument
123 zlp->zl_proplist = proplist; in pool_list_get()
238 zprop_list_t **proplist, zpool_iter_f func, void *data) in for_each_pool() argument
243 if ((list = pool_list_get(argc, argv, proplist, &ret)) == NULL) in for_each_pool()
H A Dzpool_main.c387 prop_list_contains_feature(nvlist_t *proplist) in prop_list_contains_feature() argument
390 for (nvp = nvlist_next_nvpair(proplist, NULL); NULL != nvp; in prop_list_contains_feature()
391 nvp = nvlist_next_nvpair(proplist, nvp)) { in prop_list_contains_feature()
407 nvlist_t *proplist; in add_prop_list() local
418 proplist = *props; in add_prop_list()
435 nvlist_exists(proplist, vname)) || in add_prop_list()
437 prop_list_contains_feature(proplist))) { in add_prop_list()
457 if (nvlist_lookup_string(proplist, normnm, &strval) == 0 && in add_prop_list()
464 if (nvlist_add_string(proplist, normnm, propval) != 0) { in add_prop_list()
/titanic_44/usr/src/cmd/ipf/svc/
H A Dipfd.c249 const char **proplist = all_props; in is_correct_event() local
281 proplist = maint_props; in is_correct_event()
295 if (pg_get_prop_value(pg, proplist[i], in is_correct_event()
298 scratch_name, proplist[i]); in is_correct_event()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c680 nvlist_t *proplist = NULL; in do_show_ifprop() local
703 if (ipadm_str2nvlist(optarg, &proplist, in do_show_ifprop()
738 state.sps_proplist = proplist; in do_show_ifprop()
762 nvlist_free(proplist); in do_show_ifprop()
863 nvlist_t *proplist = NULL; in do_show_prop() local
886 if (ipadm_str2nvlist(optarg, &proplist, in do_show_prop()
915 state.sps_proplist = proplist; in do_show_prop()
928 nvlist_free(proplist); in do_show_prop()
2080 nvlist_t *proplist = NULL; in do_show_addrprop() local
2101 if (ipadm_str2nvlist(optarg, &proplist, in do_show_addrprop()
[all …]
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Dnetwork_rcm.c417 char **info, char **errstr, nvlist_t *proplist, rcm_info_t **depend_info) in net_getinfo() argument
480 (void) nvlist_add_string(proplist, RCM_CLIENT_NAME, "SunOS"); in net_getinfo()
481 (void) nvlist_add_string_array(proplist, RCM_CLIENT_EXPORTS, in net_getinfo()
H A Dttymux_rcm.c1346 char **errstr, nvlist_t *proplist, rcm_info_t **depend_info) in tty_getinfo() argument
/titanic_44/usr/src/cmd/zfs/
H A Dzfs_iter.c351 zfs_sort_column_t *sortcol, zprop_list_t **proplist, int limit, in zfs_for_each() argument
367 cb.cb_proplist = proplist; in zfs_for_each()
/titanic_44/usr/src/cmd/dladm/
H A Ddladm.c1806 dladm_arg_list_t *proplist = NULL; in do_create_aggr() local
1933 if (dladm_parse_link_props(propstr, &proplist, B_FALSE) in do_create_aggr()
1937 if (proplist == NULL) in do_create_aggr()
1944 for (i = 0; i < proplist->al_count; i++) { in do_create_aggr()
1945 dladm_arg_info_t *aip = &proplist->al_info[i]; in do_create_aggr()
1957 dladm_free_props(proplist); in do_create_aggr()
2347 dladm_arg_list_t *proplist = NULL; in do_create_vlan() local
2417 if (dladm_parse_link_props(propstr, &proplist, B_FALSE) in do_create_vlan()
2421 status = dladm_vlan_create(handle, vlan, dev_linkid, vid, proplist, in do_create_vlan()
4636 dladm_arg_list_t *proplist = NULL; in do_create_vnic() local
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Desunddi.h122 e_ddi_prop_list_delete(ddi_prop_t *proplist);
/titanic_44/usr/src/lib/libpool/common/
H A Dpool_kernel.c2338 nvlist_t *proplist; in pool_knl_get_dynamic_property() local
2363 &proplist, 0) != 0) { in pool_knl_get_dynamic_property()
2370 if ((pair = nvlist_next_nvpair(proplist, NULL)) == NULL) { in pool_knl_get_dynamic_property()
2371 nvlist_free(proplist); in pool_knl_get_dynamic_property()
2377 nvlist_free(proplist); in pool_knl_get_dynamic_property()
2380 nvlist_free(proplist); in pool_knl_get_dynamic_property()
/titanic_44/usr/src/cmd/ztest/
H A Dztest.c4602 zfs_prop_t proplist[] = { in ztest_dsl_prop_get_set() local
4611 for (int p = 0; p < sizeof (proplist) / sizeof (proplist[0]); p++) in ztest_dsl_prop_get_set()
4612 (void) ztest_dsl_prop_set_uint64(zd->zd_name, proplist[p], in ztest_dsl_prop_get_set()
4613 ztest_random_dsl_prop(proplist[p]), (int)ztest_random(2)); in ztest_dsl_prop_get_set()
/titanic_44/usr/src/uts/common/os/
H A Ddevcfg.c3123 ddi_prop_list_t *proplist; in remove_global_props() local
3126 proplist = DEVI(dip)->devi_global_prop_list; in remove_global_props()
3130 if (proplist) { in remove_global_props()
3138 i_ddi_prop_list_rele(proplist, dnp); in remove_global_props()