Searched refs:wtab (Results 1 - 3 of 3) sorted by relevance

/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_red.h90 struct wtab { struct
91 struct wtab *w_next;
130 struct wtab *red_wtab; /* weight table */
159 extern struct wtab *wtab_alloc(int);
160 extern void wtab_destroy(struct wtab *);
161 extern int32_t pow_w(struct wtab *, int);
H A Dclassq_rio.h110 struct wtab *rio_wtab; /* weight table */
H A Dclassq_red.c546 * pow_w(wtab, n) returns (1 - Wq)^n in fixed-point
551 static struct wtab *wtab_list = NULL; /* pointer to wtab list */
553 struct wtab *
556 struct wtab *w;
565 w = _MALLOC(sizeof (struct wtab), M_DEVBUF, M_WAITOK|M_ZERO);
586 wtab_destroy(struct wtab *w)
588 struct wtab *prev;
605 pow_w(struct wtab *w, int n)

Completed in 29 milliseconds