Home
last modified time | relevance | path

Searched refs:npeers (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios_test_slot.c209 uint_t npeers; in smbios_test_slot_verify() local
235 if (smbios_info_slot_peers(hdl, sp.smbstr_id, &npeers, &peers) != 0) { in smbios_test_slot_verify()
241 if (npeers != 2) { in smbios_test_slot_verify()
242 warnx("got wrong number of slot peers: %u", npeers); in smbios_test_slot_verify()
292 smbios_info_slot_peers_free(hdl, npeers, peers); in smbios_test_slot_verify()
322 uint_t npeers; in smbios_test_slot_common_nopeers() local
331 if (smbios_info_slot_peers(hdl, sp->smbstr_id, &npeers, &peers) != 0) { in smbios_test_slot_common_nopeers()
337 if (npeers != 0) { in smbios_test_slot_common_nopeers()
338 warnx("got wrong number of slot peers: %u", npeers); in smbios_test_slot_common_nopeers()
347 smbios_info_slot_peers_free(hdl, npeers, peers); in smbios_test_slot_common_nopeers()
[all …]
/illumos-gate/usr/src/cmd/pginfo/
H A Dpginfo.pl493 my $npeers = shift;
502 my $printpostfix = $npeers ? "| " : " ";
504 my $bar = $npeers ? "|" : "`";
510 my $new_prefix = $npeers ? $prefix : " ";
/illumos-gate/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl441 my $npeers = shift;
445 my $printpostfix = $npeers ? "| " : " ";
449 my $bar = $npeers ? "|" : "`";
454 my $new_prefix = $npeers ? $myprefix : " ";
/illumos-gate/usr/src/common/smbios/
H A Dsmb_info.c893 smbios_info_slot_peers_free(smbios_hdl_t *shp, uint_t npeers, in smbios_info_slot_peers_free() argument
896 size_t sz = npeers * sizeof (smbios_slot_peer_t); in smbios_info_slot_peers_free()
898 if (npeers == 0) { in smbios_info_slot_peers_free()
907 smbios_info_slot_peers(smbios_hdl_t *shp, id_t id, uint_t *npeers, in smbios_info_slot_peers() argument
926 *npeers = 0; in smbios_info_slot_peers()
954 *npeers = slotp->smbsl_npeers; in smbios_info_slot_peers()
/illumos-gate/usr/src/cmd/smbios/
H A Dsmbios.c805 uint_t i, npeers; in print_slot() local
807 if (smbios_info_slot_peers(shp, id, &npeers, &peer) != 0) { in print_slot()
813 for (i = 0; i < npeers; i++) { in print_slot()
824 smbios_info_slot_peers_free(shp, npeers, peer); in print_slot()