Lines Matching refs:cmode
137 enum htb_cmode cmode; /* current mode of the class */ member
431 while (cl->cmode == HTB_MAY_BORROW && p && mask) { in htb_activate_prios()
453 if (cl->cmode == HTB_CAN_SEND && mask) in htb_activate_prios()
471 while (cl->cmode == HTB_MAY_BORROW && p && mask) { in htb_deactivate_prios()
499 if (cl->cmode == HTB_CAN_SEND && mask) in htb_deactivate_prios()
506 return cl->cmode != HTB_CANT_SEND ? -cl->cbuffer : 0; in htb_lowater()
513 return cl->cmode == HTB_CAN_SEND ? -cl->buffer : 0; in htb_hiwater()
566 if (new_mode == cl->cmode) in htb_change_class_mode()
575 if (cl->cmode != HTB_CANT_SEND) in htb_change_class_mode()
577 cl->cmode = new_mode; in htb_change_class_mode()
581 cl->cmode = new_mode; in htb_change_class_mode()
719 old_mode = cl->cmode; in htb_charge_class()
722 if (old_mode != cl->cmode) { in htb_charge_class()
725 if (cl->cmode != HTB_CAN_SEND) in htb_charge_class()
772 if (cl->cmode != HTB_CAN_SEND) in htb_do_events()
1013 cl->cmode = HTB_CAN_SEND; in htb_reset()
1520 if (parent->cmode != HTB_CAN_SEND) in htb_parent_to_leaf()
1530 parent->cmode = HTB_CAN_SEND; in htb_parent_to_leaf()
1755 if (cl->cmode != HTB_CAN_SEND) in htb_delete()
1973 if (parent->cmode != HTB_CAN_SEND) { in htb_change_class()
1975 parent->cmode = HTB_CAN_SEND; in htb_change_class()
1994 cl->cmode = HTB_CAN_SEND; in htb_change_class()