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

12

/freebsd-9.3-release/gnu/usr.bin/grep/
H A Dkwset.c58 char balance; /* Difference in depths of subtrees. */ member in struct:tree
188 link->balance = 0;
196 /* Back up the tree fixing the balance flags. */
197 while (depth && !links[depth]->balance)
200 --links[depth]->balance;
202 ++links[depth]->balance;
207 if (depth && ((dirs[depth] == L && --links[depth]->balance)
208 || (dirs[depth] == R && ++links[depth]->balance)))
210 switch (links[depth]->balance)
218 t->balance
[all...]
/freebsd-9.3-release/tools/regression/geom_mirror/
H A Dtest-2.t8 balance="round-robin"
24 gmirror label -b $balance $name /dev/md${us0} /dev/md${us1} /dev/md${us2} || exit 1
H A Dtest-3.t8 balance="round-robin"
24 gmirror label -b $balance $name /dev/md${us0} /dev/md${us1} /dev/md${us2} || exit 1
H A Dtest-4.t8 balance="load"
24 gmirror label -b $balance $name /dev/md${us0} /dev/md${us1} /dev/md${us2} || exit 1
H A Dtest-5.t8 balance="split"
24 gmirror label -b $balance -s `expr $ddbs / 2` $name /dev/md${us0} /dev/md${us1} /dev/md${us2} || exit 1
H A Dtest-6.t8 balance="split"
24 gmirror label -b $balance -s `expr $ddbs / 2` $name /dev/md${us0} /dev/md${us1} || exit 1
H A Dtest-7.t8 balance="prefer"
24 gmirror label -b $balance $name /dev/md${us0} /dev/md${us1} /dev/md${us2} || exit 1
/freebsd-9.3-release/cddl/contrib/opensolaris/common/avl/
H A Davl.c97 * Small arrays to translate between balance (or diff) values and child indeces.
277 * Perform a rotation to restore balance at the subtree given by depth.
287 * On input balance is the "new" balance at "node". This value is either
291 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) argument
293 int left = !(balance < 0); /* when balance = -2, left will be 0 */
295 int left_heavy = balance >> 1;
329 * we detect this situation by noting that child's balance is not
336 * compute new balance o
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/common/avl/
H A Davl.c97 * Small arrays to translate between balance (or diff) values and child indices.
278 * Perform a rotation to restore balance at the subtree given by depth.
288 * On input balance is the "new" balance at "node". This value is either
292 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) argument
294 int left = !(balance < 0); /* when balance = -2, left will be 0 */
296 int left_heavy = balance >> 1;
330 * we detect this situation by noting that child's balance is not
337 * compute new balance o
[all...]
/freebsd-9.3-release/sys/geom/mirror/
H A Dg_mirror.h41 * 1 - Added 'prefer' balance algorithm.
406 balance_name(u_int balance) argument
417 if (balance > G_MIRROR_BALANCE_MAX)
418 balance = G_MIRROR_BALANCE_MAX + 1;
420 return (algorithms[balance]);
459 printf(" balance: %s\n", balance_name((u_int)md->md_balance));
H A Dg_mirror_ctl.c99 uint8_t balance; local
117 balancep = gctl_get_asciiparam(req, "balance");
119 gctl_error(req, "No '%s' argument.", "balance");
196 balance = sc->sc_balance;
199 gctl_error(req, "Invalid balance algorithm.");
203 balance = balance_id(balancep);
223 if (sc->sc_balance == balance && sc->sc_slice == slice && !*autosync &&
241 sc->sc_balance = balance;
/freebsd-9.3-release/contrib/tcsh/
H A Dsh.set.c57 static void balance (struct varent *, int, int);
735 balance(p, f, 0);
871 balance(pp, f, 1);
963 balance(struct varent *p, int f, int d) function
/freebsd-9.3-release/sys/compat/linux/
H A Dlinux_videodev.h136 __u16 balance; /* Stereo balance */ member in struct:video_audio
/freebsd-9.3-release/sys/dev/bktr/
H A Dmsp34xx.c337 int vol = 0,val = 0,balance = 0; local
344 balance = ((right-left) * 127) / vol;
348 muted ? "on" : "off", left, right, val>>8, balance);
353 msp3400c_write(client,I2C_MSP3400C_DFP, 0x0001, balance << 8);
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Drrl.c474 int balance, rate; local
483 balance = e->responses + age * rate;
484 if (balance > rate)
485 balance = rate;
486 return (balance);
/freebsd-9.3-release/contrib/gcc/
H A Dc-typeck.c4883 int balance;
5796 r->balance = 0;
5804 if (p->balance == 0)
5805 p->balance = -1;
5806 else if (p->balance < 0)
5808 if (r->balance < 0)
5816 p->balance = 0;
5817 r->balance = 0;
5847 p->balance = t->balance <
4857 int balance; member in struct:init_node
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Daudio.c499 "audio: samples %d, eof %d, pause %d, error %d, waiting %d, balance %d\n",
502 info.record.waiting, info.record.balance);
/freebsd-9.3-release/contrib/nvi/build/
H A Dconfig.sub193 balance)
/freebsd-9.3-release/usr.bin/xlint/lint1/
H A Dtree.c59 static void balance(op_t, tnode_t **, tnode_t **);
595 balance(op, &ln, &rn);
1558 balance(op_t op, tnode_t **lnp, tnode_t **rnp) function
2377 balance(NOOP, &ntn, &ctn);
/freebsd-9.3-release/contrib/binutils/
H A Dconfig.sub442 balance)
/freebsd-9.3-release/contrib/libpcap/
H A Dconfig.sub468 balance)
/freebsd-9.3-release/contrib/libreadline/support/
H A Dconfig.sub398 balance)
/freebsd-9.3-release/contrib/ncurses/
H A Dconfig.sub450 balance)
/freebsd-9.3-release/contrib/ofed/libibcm/config/
H A Dconfig.sub430 balance)
/freebsd-9.3-release/contrib/ofed/librdmacm/config/
H A Dconfig.sub430 balance)

Completed in 214 milliseconds

12