/illumos-gate/usr/src/lib/varpd/direct/common/ |
H A D | libvarpd_direct.c | 146 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 D | vmxnet3_utils.c | 217 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 D | kctl_isadep.c | 90 kctl_pcache_create(int *nprops) in kctl_pcache_create() argument 152 *nprops = KCTL_PROPNV_NENT; in kctl_pcache_create()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_gld_v3.c | 682 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 D | picltree.h | 95 extern int ptree_add_row_to_table(picl_prophdl_t tbl, int nprops,
|
H A D | picltree.c | 1624 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 D | libvarpd_files.c | 330 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 D | topo_xml.c | 656 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 D | topo_digraph_xml.c | 619 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 D | config.c | 463 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 D | libvarpd_client.c | 192 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 D | pool_xml.c | 924 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 D | pool_kernel.c | 2550 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 D | libdloverlay.c | 459 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 D | mac.c | 3993 uint_t nprops, i; in mac_register_priv_prop() local 3998 nprops = 0; in mac_register_priv_prop() 3999 while (priv_props[nprops] != NULL) in mac_register_priv_prop() 4000 nprops++; in mac_register_priv_prop() 4001 if (nprops == 0) in mac_register_priv_prop() 4005 mip->mi_priv_prop = kmem_zalloc(nprops * sizeof (char *), KM_SLEEP); in mac_register_priv_prop() 4007 for (i = 0; i < nprops; i++) { in mac_register_priv_prop() 4013 mip->mi_priv_prop_count = nprops; in mac_register_priv_prop()
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 4375 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()
|