Searched refs:balance (Results 1 - 25 of 25) sorted by path

/freebsd-current/contrib/ntp/libntp/
H A Daudio.c513 "audio: samples %d, eof %d, pause %d, error %d, waiting %d, balance %d\n",
516 info.record.waiting, info.record.balance);
/freebsd-current/contrib/ntp/sntp/libevent/build-aux/
H A Dconfig.sub525 balance)
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dconfig.sub522 balance)
/freebsd-current/contrib/openbsm/config/
H A Dconfig.sub406 balance)
/freebsd-current/contrib/sqlite3/
H A Dsqlite3.c79080 static int balance(BtCursor *pCur){ function
[all...]
/freebsd-current/contrib/tcsh/
H A Dsh.set.c53 static void balance (struct varent *, int, int);
745 balance(p, f, 0);
890 balance(pp, f, 1);
1004 balance(struct varent *p, int f, int d) function
/freebsd-current/contrib/unbound/
H A Dconfig.sub263 balance)
/freebsd-current/crypto/heimdal/
H A Dconfig.sub467 balance)
/freebsd-current/include/
H A Dsearch.h39 signed char balance; member in struct:__posix_tnode
/freebsd-current/lib/libc/stdlib/
H A Dtdelete.c38 if ((*leaf)->balance == 0 || \
39 ((*leaf)->balance < 0 && (*leaf)->rlink->balance == 0)) { \
45 * capable of keeping the subtree in balance. Make \
57 if ((*leaf)->balance == 0 || \
58 ((*leaf)->balance > 0 && (*leaf)->llink->balance == 0)) { \
134 if (x->balance < 0) {
136 if (y->balance > 0) {
145 x->balance
[all...]
H A Dtsearch.c53 if ((*leaf)->balance != 0) {
56 * balance on the way, we know that we won't
59 * capable of keeping the subtree in balance.
84 result->balance = 0;
89 * have a balance of zero, meaning that these nodes will not get
90 * out of balance.
94 n->balance += 1;
97 n->balance -= 1;
103 * Adjusting the balances may have pushed the balance of the
105 * balance bac
[all...]
/freebsd-current/lib/libc/tests/stdlib/
H A Dtsearch_test.c41 int balance; local
47 balance = (int)height_left - (int)height_right;
48 ATF_CHECK(balance >= -1);
49 ATF_CHECK(balance <= 1);
50 ATF_CHECK_EQ(balance, n->balance);
/freebsd-current/sys/contrib/openzfs/module/avl/
H A Davl.c281 * Perform a rotation to restore balance at the subtree given by depth.
291 * On input balance is the "new" balance at "node". This value is either
295 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) argument
297 int left = !(balance < 0); /* when balance = -2, left will be 0 */
299 int left_heavy = balance >> 1;
332 * we detect this situation by noting that child's balance is not
338 * compute new balance of nodes
436 balance
[all...]
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Darc.c4086 * this is to try and evenly balance eviction across all
4201 * decreasing it, plus a balance factor, controlling the decrease rate, used
4202 * to balance metadata vs data.
4206 uint_t balance)
4233 down = down * 100 / balance;
4275 /* Adjust ARC states balance based on ghost hits. */
4205 arc_evict_adj(uint64_t frac, uint64_t total, uint64_t up, uint64_t down, uint_t balance) argument
/freebsd-current/sys/contrib/v4l/
H A Dvideodev.h136 __u16 balance; /* Stereo balance */ member in struct:video_audio
/freebsd-current/sys/geom/mirror/
H A Dg_mirror.c1131 * will be used for reading with 'prefer' balance algorithm.
2476 DETECT_MISMATCH(balance, "md_balance");
H A Dg_mirror.h41 * 1 - Added 'prefer' balance algorithm.
139 uint8_t d_init_balance;/* Initial balance */
410 balance_name(u_int balance) argument
421 if (balance > G_MIRROR_BALANCE_MAX)
422 balance = G_MIRROR_BALANCE_MAX + 1;
424 return (algorithms[balance]);
463 printf(" balance: %s\n", balance_name((u_int)md->md_balance));
H A Dg_mirror_ctl.c152 uint8_t balance; local
170 balancep = gctl_get_asciiparam(req, "balance");
172 gctl_error(req, "No '%s' argument.", "balance");
249 balance = sc->sc_balance;
252 gctl_error(req, "Invalid balance algorithm.");
256 balance = balance_id(balancep);
276 if (sc->sc_balance == balance && sc->sc_slice == slice && !*autosync &&
294 sc->sc_balance = balance;
410 sval = gctl_get_asciiparam(req, "balance");
412 gctl_error(req, "No balance argumen
[all...]
/freebsd-current/sys/kern/
H A Dsched_ule.c1580 * Set the default balance interval now that we know
3330 SYSCTL_INT(_kern_sched, OID_AUTO, balance, CTLFLAG_RW, &rebalance, 0,
/freebsd-current/tests/sys/geom/class/mirror/
H A D2_test.sh7 balance="round-robin"
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
H A D3_test.sh7 balance="round-robin"
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
H A D4_test.sh7 balance="load"
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
H A D5_test.sh7 balance="split"
20 gmirror label -b $balance -s `expr $ddbs / 2` $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
H A D6_test.sh7 balance="split"
20 gmirror label -b $balance -s `expr $ddbs / 2` $name /dev/${us0} /dev/${us1} || exit 1
H A D7_test.sh7 balance="prefer"
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1

Completed in 1101 milliseconds