HomeSort by: relevance | last modified time | path
    Searched refs:wtab (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/altq/
altq_red.h 123 struct wtab { struct
124 struct wtab *w_next;
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);
altq_rio.h 113 struct wtab *rio_wtab; /* weight table */
altq_red.c 640 * 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;
659 w = malloc(sizeof(struct wtab), M_DEVBUF, M_WAITOK|M_ZERO);
679 wtab_destroy(struct wtab *w)
681 struct wtab *prev;
699 pow_w(struct wtab *w, int n)

Completed in 12 milliseconds