Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 225) sorted by path

123456789

/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c3299 uint64_t props, bootfs, root; in zfs_get_root() local
3316 sizeof (props), 1, &props) == 0 && in zfs_get_root()
3317 objset_get_dnode(spa, &spa->spa_mos, props, &propdir) == 0 && in zfs_get_root()
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c53 typedef struct props { struct
58 struct props *next; argument
69 static props_t *props = NULL; variable
328 if (props == NULL) in aconf_save()
341 for (p = props; p != NULL; p = p->next) { in aconf_save()
352 p = props; in aconf_save()
361 props = NULL; in aconf_save()
553 p->next = props; in aconf_prop()
554 props = p; in aconf_prop()
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dvnode_zvol.c84 nvlist_t *nvroot, *props; in create_zpool() local
88 props = fnvlist_alloc(); in create_zpool()
98 fnvlist_add_string(props, in create_zpool()
101 if (zpool_create(zfshdl, pool, nvroot, NULL, props) != 0) { in create_zpool()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c3002 if (props != NULL) in listprop()
3003 free(props); in listprop()
3256 const char **props; in export_ncu_callback() local
3296 free(props); in export_ncu_callback()
3336 const char **props; in export_enm_callback() local
3366 free(props); in export_enm_callback()
3374 const char **props; in export_loc_callback() local
3410 free(props); in export_loc_callback()
3449 free(props); in export_wlan_callback()
4117 props[i]); in walkprop_func()
[all …]
/illumos-gate/usr/src/cmd/coreadm/
H A Dcoreadm.c379 addprop(scf_propvec_t *props, int size, int count, scf_propvec_t *pv, void *ptr) in addprop() argument
382 props[count] = *pv; in addprop()
383 props[count].pv_ptr = ptr; in addprop()
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddisk_monitor.c169 (action_string = dm_prop_lookup(diskp->props, action_prop)) in dm_fault_execute_actions()
H A Ddiskmon_conf.c142 dm_prop_lookup(nvlist_t *props, const char *prop_name) in dm_prop_lookup() argument
155 const char *prop = dm_prop_lookup(props, prop_name); in dm_prop_lookup_int()
337 dmp->props = nvlp; in new_diskmon()
376 nvlist_free(dmp->props); in diskmon_free()
398 cdp->props = namevalpr_to_nvlist(nvp); in new_cfgdata()
412 if (cfgp->props == NULL) { in cfgdata_add_namevalpr()
436 nvlist_free(cdp->props); in cfgdata_free()
750 if (dmp->props) { in print_disks()
751 print_props(dmp->props, fp, buf); in print_disks()
776 print_props(cfgp->props, fp, prefix); in print_cfgdata()
[all …]
H A Ddiskmon_conf.h130 nvlist_t *props; member
187 nvlist_t *props; member
237 extern const char *dm_prop_lookup(nvlist_t *props, const char *prop_name);
238 extern int dm_prop_lookup_int(nvlist_t *props,
H A Ddm_platform.c184 platform_update_fru(nvlist_t *props, dm_fru_t *frup) in platform_update_fru() argument
191 if (nvlist_lookup_uint64(props, "gid", &gid) != 0 || in platform_update_fru()
192 nvlist_lookup_uint64(props, "hdd", &hdd) != 0) { in platform_update_fru()
261 platform_set_sensor(nvlist_t *props) in platform_set_sensor() argument
270 am_present = nvlist_lookup_uint64(props, "amask", &assertmask) == 0; in platform_set_sensor()
273 if (nvlist_lookup_uint64(props, "sid", &sid) != 0 || in platform_set_sensor()
371 nvlist_t *props; in do_action() local
386 if (parse_action_string(actionp, &cmd, &props)) { in do_action()
388 rv = platform_update_fru(props, fru); in do_action()
390 rv = platform_set_sensor(props); in do_action()
[all …]
H A Dschg_mgr.c212 const char *action = dm_prop_lookup(diskp->props, DISK_PROP_FRUACTION); in schg_send_fru_update()
385 if (dm_prop_lookup(diskp->props, in disk_state_change_thread()
425 pth = dm_prop_lookup(diskp->props, DISK_PROP_DEVPATH); in disk_state_change_thread()
H A Dtopo_gather.c288 (void) nvlist_add_string(diskp->props, DISK_PROP_DEVPATH, in topo_add_disk()
298 (void) nvlist_add_string(diskp->props, DISK_PROP_LOGNAME, in topo_add_disk()
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dconfig.c72 retval->props = NULL; in newcnode()
441 lut_free(cp->props, prop_destructor, NULL); in structconfig_free()
515 cp->props = lut_add(cp->props, (void *)pn, (void *)propvalue, NULL); in config_setprop()
524 return (lut_lookup(cp->props, (void *) stable(propname), NULL)); in config_getprop()
724 lut_walk(cp->props, (lut_cb)printprop, (void *)flags); in pconf()
H A Dconfig_impl.h45 struct lut *props; member
H A Dfme.c1946 return (lut_lookup(ep->props, (void *)propname, NULL)); in eventprop_lookup()
H A Ditree.c264 struct lut *props; member
393 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
401 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
406 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
410 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
414 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
419 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
423 pd->props = lut_add(pd->props, name, orhs, NULL); in nv_instantiate()
436 pd.props = NULL; in props2instance()
1589 if (ep->props) { in itree_pevent()
[all …]
H A Ditree.h84 struct lut *props; /* instanced version of nvpairs */ member
/illumos-gate/usr/src/cmd/fm/modules/common/sensor-transport/
H A Dsensor_transport.c85 nvlist_t *nvl, *props, *rsrc, *fru; in st_check_component() local
160 if (nvpair_value_nvlist(nvp, &props) != 0) in st_check_component()
185 if (nvlist_lookup_boolean_value(props, in st_check_component()
189 if (nvlist_lookup_boolean_value(props, in st_check_component()
192 (void) nvlist_lookup_boolean_value(props, in st_check_component()
196 if (nvlist_lookup_uint32(props, "source", in st_check_component()
/illumos-gate/usr/src/cmd/fm/scripts/
H A Ddictck.pl100 my %props;
139 $props{$lhs} = $rhs;
146 unless defined($props{'version'});
148 unless defined($props{'name'});
150 unless defined($props{'maxkey'});
153 die "$name:$line: unexpected version: \"$props{'version'}\"\n"
154 unless $props{'version'} eq "1";
158 unless $props{'name'} eq $dname;
162 unless $props{'maxkey'} =~ /^\d+$/;
166 if defined($props{'bits'});
[all …]
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dses.c298 nvlist_t *props; in fw_identify() local
432 if ((props = ses_node_props(rootnodep)) == NULL) { in fw_identify()
463 if ((props = ses_node_props(nodep)) == NULL) { in fw_identify()
584 get_status(nvlist_t *props, ucode_status_t *sp) in get_status() argument
631 nvlist_t *props; in print_updated_status() local
635 if ((props = ses_node_props(np)) == NULL) { in print_updated_status()
639 if (get_status(props, &status) != FWFLASH_SUCCESS) in print_updated_status()
661 nvlist_t *props; in sendimg() local
679 props = ses_node_props(np); in sendimg()
680 if ((props == NULL) || in sendimg()
[all …]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-device.c225 LibHalPropertySet *props; in dump_devices() local
229 if (!(props = libhal_device_get_all_properties(hal_ctx, device_names[i], &error))) { in dump_devices()
239 for(libhal_psi_init(&it, props); libhal_psi_has_more(&it); libhal_psi_next(&it)) { in dump_devices()
293 libhal_free_property_set(props); in dump_devices()
H A Dlshal.c92 LibHalPropertySet *props; in print_props() local
98 props = libhal_device_get_all_properties (hal_ctx, udi, &error); in print_props()
106 if (props == NULL) { in print_props()
111 for (libhal_psi_init (&it, props); libhal_psi_has_more (&it); libhal_psi_next (&it)) { in print_props()
170 libhal_free_property_set (props); in print_props()
/illumos-gate/usr/src/cmd/iscsiadm/
H A Discsiadm.h130 IMA_DISCOVERY_ADDRESS_PROPERTIES props[1]; member
H A Discsiadm_main.c1857 discoveryAddressPropertiesList->props[j]; in listDiscoveryAddress()
2035 discoveryAddressPropertiesList->props[j]; in listISNSServerAddress()
H A Dsun_ima.c252 (*ppList)->props[i].discoveryAddress.hostnameIpAddress. in SUN_IMA_GetDiscoveryAddressPropertiesList()
258 (*ppList)->props[i].discoveryAddress.hostnameIpAddress. in SUN_IMA_GetDiscoveryAddressPropertiesList()
266 ipAddr = &(*ppList)->props[i].discoveryAddress. in SUN_IMA_GetDiscoveryAddressPropertiesList()
270 (*ppList)->props[i].discoveryAddress.hostnameIpAddress.id. in SUN_IMA_GetDiscoveryAddressPropertiesList()
274 (*ppList)->props[i].discoveryAddress.portNumber = in SUN_IMA_GetDiscoveryAddressPropertiesList()
2738 (*ppList)->props[i].discoveryAddress.hostnameIpAddress. in SUN_IMA_GetISNSServerAddressPropertiesList()
2742 (*ppList)->props[i].discoveryAddress.hostnameIpAddress. in SUN_IMA_GetISNSServerAddressPropertiesList()
2749 ipAddr = &(*ppList)->props[i].discoveryAddress. in SUN_IMA_GetISNSServerAddressPropertiesList()
2752 (*ppList)->props[i].discoveryAddress.hostnameIpAddress.id. in SUN_IMA_GetISNSServerAddressPropertiesList()
2755 (*ppList)->props[i].discoveryAddress.portNumber = in SUN_IMA_GetISNSServerAddressPropertiesList()
/illumos-gate/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c456 const char *props = &xmlType[i][1]; in parse_xml_prop() local
466 prop = props[j ++]; in parse_xml_prop()
484 prop = props[j ++]; in parse_xml_prop()
715 const char *props; in make_xml_node() local
730 props = &xmlType[i][1]; in make_xml_node()
731 prop = *(props ++); in make_xml_node()
743 prop = *(props ++); in make_xml_node()
1108 const char *props; in xml_modify_obj() local
1137 props = &xmlType[i][1]; in xml_modify_obj()
1138 prop = *(props ++); in xml_modify_obj()
[all …]

123456789