Home
last modified time | relevance | path

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

/netbsd-src/sys/altq/
H A Daltq_red.h123 struct wtab { struct
124 struct wtab *w_next; argument
153 struct wtab *red_wtab; /* weight table */
193 extern struct wtab *wtab_alloc(int);
194 extern int wtab_destroy(struct wtab *);
195 extern int32_t pow_w(struct wtab *, int);
H A Daltq_red.c640 * pow_w(wtab, n) returns (1 - Wq)^n in fixed-point
645 static struct wtab *wtab_list = NULL; /* pointer to wtab list */
647 struct wtab *
650 struct wtab *w; in wtab_alloc()
659 w = malloc(sizeof(struct wtab), M_DEVBUF, M_WAITOK|M_ZERO); in wtab_alloc()
679 wtab_destroy(struct wtab *w) in wtab_destroy()
681 struct wtab *prev; in wtab_destroy()
699 pow_w(struct wtab *w, int n) in pow_w()
H A Daltq_rio.h113 struct wtab *rio_wtab; /* weight table */