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

12

/freebsd-10.1-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-10.1-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-10.1-release/cddl/contrib/opensolaris/common/avl/
H A Davl.c107 * Small arrays to translate between balance (or diff) values and child indices.
288 * Perform a rotation to restore balance at the subtree given by depth.
298 * On input balance is the "new" balance at "node". This value is either
302 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) argument
304 int left = !(balance < 0); /* when balance = -2, left will be 0 */
306 int left_heavy = balance >> 1;
340 * we detect this situation by noting that child's balance is not
347 * compute new balance o
[all...]
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/common/avl/
H A Davl.c107 * Small arrays to translate between balance (or diff) values and child indices.
288 * Perform a rotation to restore balance at the subtree given by depth.
298 * On input balance is the "new" balance at "node". This value is either
302 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) argument
304 int left = !(balance < 0); /* when balance = -2, left will be 0 */
306 int left_heavy = balance >> 1;
340 * we detect this situation by noting that child's balance is not
347 * compute new balance o
[all...]
/freebsd-10.1-release/sys/geom/mirror/
H A Dg_mirror.h41 * 1 - Added 'prefer' balance algorithm.
408 balance_name(u_int balance) argument
419 if (balance > G_MIRROR_BALANCE_MAX)
420 balance = G_MIRROR_BALANCE_MAX + 1;
422 return (algorithms[balance]);
461 printf(" balance: %s\n", balance_name((u_int)md->md_balance));
H A Dg_mirror_ctl.c101 uint8_t balance; local
119 balancep = gctl_get_asciiparam(req, "balance");
121 gctl_error(req, "No '%s' argument.", "balance");
198 balance = sc->sc_balance;
201 gctl_error(req, "Invalid balance algorithm.");
205 balance = balance_id(balancep);
225 if (sc->sc_balance == balance && sc->sc_slice == slice && !*autosync &&
243 sc->sc_balance = balance;
/freebsd-10.1-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-10.1-release/sys/contrib/v4l/
H A Dvideodev.h136 __u16 balance; /* Stereo balance */ member in struct:video_audio
/freebsd-10.1-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-10.1-release/contrib/gcc/
H A Dc-typeck.c5249 int balance;
6172 r->balance = 0;
6180 if (p->balance == 0)
6181 p->balance = -1;
6182 else if (p->balance < 0)
6184 if (r->balance < 0)
6192 p->balance = 0;
6193 r->balance = 0;
6223 p->balance = t->balance <
5223 int balance; member in struct:init_node
[all...]
/freebsd-10.1-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-10.1-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-10.1-release/contrib/binutils/
H A Dconfig.sub442 balance)
/freebsd-10.1-release/contrib/libpcap/
H A Dconfig.sub468 balance)
/freebsd-10.1-release/contrib/libreadline/support/
H A Dconfig.sub398 balance)
/freebsd-10.1-release/contrib/libyaml/config/
H A Dconfig.sub469 balance)
/freebsd-10.1-release/contrib/ncurses/
H A Dconfig.sub450 balance)
/freebsd-10.1-release/contrib/ofed/libibcm/config/
H A Dconfig.sub430 balance)
/freebsd-10.1-release/contrib/ofed/librdmacm/config/
H A Dconfig.sub430 balance)
/freebsd-10.1-release/contrib/openbsm/config/
H A Dconfig.sub406 balance)

Completed in 375 milliseconds

12