Home
last modified time | relevance | path

Searched refs:rating (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dloc.c253 uint64_t rating, activation; in nwamd_loc_check() local
312 rating = nwamd_rate_conditions(activation, in nwamd_loc_check()
314 if (rating > wa->winning_rating) { in nwamd_loc_check()
316 wa->winning_rating = rating; in nwamd_loc_check()
H A Dconditions.c754 uint64_t rating = 0, total_rating = 0; in nwamd_rate_conditions() local
761 nwam_condition_rate(object_type, condition, &rating) in nwamd_rate_conditions()
771 if (rating > total_rating) in nwamd_rate_conditions()
772 total_rating = rating; in nwamd_rate_conditions()
775 total_rating += rating; in nwamd_rate_conditions()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dpackage.sh1644 cpu|name|rating|type)
1813rating) for rating in `grep -i ^bogomips /proc/cpuinfo 2>/dev/null | $SED -e 's,.*:[ ]*,,' -e 's,…
1814 do case $rating in
1818 case $rating in
1898 rating=
1902 then rating=`./$tmp.exe`
1906 case $rating in
1908 *) rating=1 ;;
1912 _hostinfo_="$_hostinfo_ $rating"
H A DRELEASE803 package: fix linux "host cpu" and "host rating"
846 99-01-23 hostinfo: tweak rating, use /proc/cpuinfo if there
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_rx.c2249 unsigned int *rating; in sfxge_rx_scale_update() local
2267 if ((rating = kmem_zalloc(sizeof (unsigned int) * sip->si_nalloc, in sfxge_rx_scale_update()
2294 bzero(rating, sizeof (unsigned int) * sip->si_nalloc); in sfxge_rx_scale_update()
2304 rating[index] += sfxge_cpu[id]; in sfxge_rx_scale_update()
2309 choice_rating = rating[0]; in sfxge_rx_scale_update()
2312 if (rating[index] < choice_rating) { in sfxge_rx_scale_update()
2314 choice_rating = rating[index]; in sfxge_rx_scale_update()
2347 kmem_free(rating, sizeof (unsigned int) * sip->si_nalloc); in sfxge_rx_scale_update()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_main.c589 int rating; in select_test_ifs() local
664 rating = rate_testflags(li->li_flags); in select_test_ifs()
665 if (rating == BAD_TESTFLAGS) in select_test_ifs()
669 if (rating == BEST_TESTFLAGS) in select_test_ifs()