Home
last modified time | relevance | path

Searched refs:nprops (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/varpd/direct/common/
H A Dlibvarpd_direct.c146 varpd_direct_nprops(void *arg, uint_t *nprops) in varpd_direct_nprops() argument
150 *nprops = 0; in varpd_direct_nprops()
152 *nprops += 1; in varpd_direct_nprops()
155 *nprops += 1; in varpd_direct_nprops()
158 *nprops += 1; in varpd_direct_nprops()
160 assert(*nprops == 1 || *nprops == 2); in varpd_direct_nprops()
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_utils.c217 uint_t nprops; in vmxnet3_getprop() local
220 name, &props, &nprops) == DDI_PROP_SUCCESS) { in vmxnet3_getprop()
221 if (dp->instance < nprops) { in vmxnet3_getprop()
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/kctl/
H A Dkctl_isadep.c91 kctl_pcache_create(int *nprops) in kctl_pcache_create() argument
153 *nprops = KCTL_PROPNV_NENT; in kctl_pcache_create()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_gld_v3.c682 unsigned int nprops = 0; in sfxge_gld_priv_prop_init() local
704 nprops++; in sfxge_gld_priv_prop_init()
710 nprops++; in sfxge_gld_priv_prop_init()
716 nprops++; in sfxge_gld_priv_prop_init()
723 nprops++; in sfxge_gld_priv_prop_init()
726 ASSERT3U((nprops + 1), ==, sp->s_mac_priv_props_alloc); in sfxge_gld_priv_prop_init()
/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.h95 extern int ptree_add_row_to_table(picl_prophdl_t tbl, int nprops,
H A Dpicltree.c1624 ptree_add_row_to_table(picl_prophdl_t tblh, int nprops, in ptree_add_row_to_table() argument
1636 if (nprops < 1) in ptree_add_row_to_table()
1639 newrow = malloc(sizeof (picl_obj_t *) * nprops); in ptree_add_row_to_table()
1655 for (i = 0; i < nprops; ++i) { in ptree_add_row_to_table()
1686 for (i = 0; i < nprops; ++i) { in ptree_add_row_to_table()
1693 if (i != nprops - 1) in ptree_add_row_to_table()
1696 newrow[nprops - 1]->next_row = NULL; in ptree_add_row_to_table()
/illumos-gate/usr/src/lib/varpd/files/common/
H A Dlibvarpd_files.c330 varpd_files_nprops(void *arg, uint_t *nprops) in varpd_files_nprops() argument
332 *nprops = 1; in varpd_files_nprops()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c656 tnode_t *ptn, const char *gnm, nvlist_t **props, int nprops) in props_create() argument
668 for (pn = 0; pn < nprops; pn++) { in props_create()
707 uint32_t rnprops, nprops; in pgroups_create() local
777 INV_PGRP_ALLPROPS, &props, &nprops); in pgroups_create()
778 if (rnprops != nprops) { in pgroups_create()
782 rnprops, nprops); in pgroups_create()
784 if (props_create(mp, ptn, gnm, props, nprops) < 0) in pgroups_create()
H A Dtopo_digraph_xml.c619 uint_t nprops = 0; in serialize_pgroups() local
627 nprops++; in serialize_pgroups()
940 uint_t nprops; in add_props() local
946 &nprops) != 0) { in add_props()
956 for (uint_t j = 0; j < nprops; j++) { in add_props()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dconfig.c463 size_t nprops; in read_inst_props() local
466 if ((*bprops = read_instance_props(rep_handle, (char *)fmri, &nprops, in read_inst_props()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_client.c192 libvarpd_c_prop_nprops(varpd_client_handle_t *chp, uint64_t cid, uint_t *nprops) in libvarpd_c_prop_nprops() argument
210 *nprops = vcnap->vcna_nprops; in libvarpd_c_prop_nprops()
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_xml.c924 pool_xml_get_properties(const pool_elem_t *pe, uint_t *nprops) in pool_xml_get_properties() argument
936 *nprops = 0; in pool_xml_get_properties()
943 (*nprops)++; in pool_xml_get_properties()
955 (*nprops) += path->nodesetval->nodeNr; in pool_xml_get_properties()
957 if ((result = calloc(*nprops + 1, sizeof (pool_value_t *))) == NULL) { in pool_xml_get_properties()
H A Dpool_kernel.c2550 pool_knl_get_properties(const pool_elem_t *pe, uint_t *nprops) in pool_knl_get_properties() argument
2557 *nprops = 0; in pool_knl_get_properties()
2561 (*nprops)++; in pool_knl_get_properties()
2562 if ((result = calloc(*nprops + 1, sizeof (pool_value_t *))) == NULL) { in pool_knl_get_properties()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdloverlay.c459 uint_t i, nprops; in dladm_overlay_walk_varpd_prop() local
470 if ((ret = libvarpd_c_prop_nprops(chdl, varpdid, &nprops)) != 0) { in dladm_overlay_walk_varpd_prop()
477 for (i = 0; i < nprops; i++) { in dladm_overlay_walk_varpd_prop()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c3952 uint_t nprops, i; in mac_register_priv_prop() local
3957 nprops = 0; in mac_register_priv_prop()
3958 while (priv_props[nprops] != NULL) in mac_register_priv_prop()
3959 nprops++; in mac_register_priv_prop()
3960 if (nprops == 0) in mac_register_priv_prop()
3964 mip->mi_priv_prop = kmem_zalloc(nprops * sizeof (char *), KM_SLEEP); in mac_register_priv_prop()
3966 for (i = 0; i < nprops; i++) { in mac_register_priv_prop()
3972 mip->mi_priv_prop_count = nprops; in mac_register_priv_prop()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c4375 uint_t nprops; /* number of property value returned */ in e1000g_get_prop() local
4382 DDI_PROP_DONTPASS, propname, &props, &nprops) == DDI_PROP_SUCCESS) { in e1000g_get_prop()
4384 if (Adapter->instance < nprops) { in e1000g_get_prop()