Searched refs:nclasses (Results 1 – 5 of 5) sorted by relevance
134 int nclasses[TC_CBQ_MAXPRIO + 1]; member821 cl->quantum = (cl->weight*cl->allot*q->nclasses[prio])/ in cbq_normalize_quanta()1003 q->nclasses[cl->priority]--; in cbq_rmprio()1010 q->nclasses[cl->priority]++; in cbq_addprio()
1947 int rc, nclasses, i; in sel_make_classes() local1950 rc = security_get_classes(newpolicy, &classes, &nclasses); in sel_make_classes()1955 *last_class_ino = sel_class_to_ino(nclasses + 2); in sel_make_classes()1957 for (i = 0; i < nclasses; i++) { in sel_make_classes()1975 for (i = 0; i < nclasses; i++) in sel_make_classes()
382 char ***classes, int *nclasses);
3409 char ***classes, int *nclasses) in security_get_classes() argument3417 *nclasses = policydb->p_classes.nprim; in security_get_classes()3418 *classes = kcalloc(*nclasses, sizeof(**classes), GFP_ATOMIC); in security_get_classes()3426 for (i = 0; i < *nclasses; i++) in security_get_classes()
3571 __u8 nclasses[4]; member