Searched refs:bal (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | tree.c | 197 (*ppr)->bal = 0; in sprout() 216 switch ((*ppr)->bal) { in sprout() 220 (*ppr)->bal = 0; in sprout() 226 (*ppr)->bal = -1; in sprout() 232 if (p1->bal == -1) { /*%< LL */ in sprout() 236 (*ppr)->bal = 0; in sprout() 248 if (p2->bal == -1) in sprout() 249 (*ppr)->bal = 1; in sprout() 251 (*ppr)->bal = 0; in sprout() 253 if (p2->bal == 1) in sprout() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | avl.c | 56 #define bal(side) ((side) == 0 ? -1 : 1) macro 57 #define side(bal) ((bal) == 1 ? 1 : 0) argument 281 replacement->balance -= bal(side); in remove_sm() 327 return sway(p, -bal(side)) == 0; in removeExtremum() 360 int bal = bal(side); in balance() local 362 if (child->balance != -bal) { in balance() 368 child->balance -= bal; in balance() 384 if (grandchild->balance == bal) in balance() 385 node->balance = -bal; in balance() 386 else if (grandchild->balance == -bal) in balance() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | getprm.c | 36 static char *bal(); 123 c = bal(s, rightq); 157 bal(s, r) in bal() function 205 c = bal(arg++, RQUOTE);
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_adminq.c | 54 hw->aq.asq.bal = I40E_VF_ATQBAL1; in i40e_adminq_init_regs() 59 hw->aq.arq.bal = I40E_VF_ARQBAL1; in i40e_adminq_init_regs() 65 hw->aq.asq.bal = I40E_PF_ATQBAL; in i40e_adminq_init_regs() 70 hw->aq.arq.bal = I40E_PF_ARQBAL; in i40e_adminq_init_regs() 315 wr32(hw, hw->aq.asq.bal, I40E_LO_DWORD(hw->aq.asq.desc_buf.pa)); in i40e_config_asq_regs() 319 reg = rd32(hw, hw->aq.asq.bal); in i40e_config_asq_regs() 348 wr32(hw, hw->aq.arq.bal, I40E_LO_DWORD(hw->aq.arq.desc_buf.pa)); in i40e_config_arq_regs() 355 reg = rd32(hw, hw->aq.arq.bal); in i40e_config_arq_regs() 505 wr32(hw, hw->aq.asq.bal, 0); in i40e_shutdown_asq() 539 wr32(hw, hw->aq.arq.bal, 0); in i40e_shutdown_arq()
|
H A D | i40e_adminq.h | 69 u32 bal; member
|
/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | tree.h | 45 short bal; member
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 950 int bal = 0; /* Tracks balancing */ in parse_select_opt() local 968 bal = 0; in parse_select_opt() 979 bal = 1; in parse_select_opt() 986 bal++; in parse_select_opt() 989 bal--; in parse_select_opt() 990 if (bal == 0) { in parse_select_opt()
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 322 int bal; /* Subtree balance factor */ member 9112 head->bal = 0; in sl_insert() 9118 p->bal = 0; in sl_insert() 9165 if (q->bal != 0) { in sl_insert() 9179 q->bal = 0; in sl_insert() 9192 p->bal = -1; in sl_insert() 9200 p->bal = 1; in sl_insert() 9214 if (s->bal == 0) { in sl_insert() 9215 s->bal = a; in sl_insert() 9218 } else if (s->bal == -a) { in sl_insert() [all …]
|