Lines Matching defs:cat
1488 * Allocates and fills attr.mls.cat
1494 int cat;
1502 sap->attr.mls.cat = netlbl_secattr_catmap_alloc(GFP_ATOMIC);
1503 sap->attr.mls.cat->startbit = 0;
1505 for (cat = 1, cp = catset, byte = 0; byte < SMK_LABELLEN; cp++, byte++)
1506 for (m = 0x80; m != 0; m >>= 1, cat++) {
1509 rc = netlbl_secattr_catmap_setbit(sap->attr.mls.cat,
1510 cat, GFP_ATOMIC);
2481 * smack_from_secattr - Convert a netlabel attr.mls.lvl/attr.mls.cat pair to smack
2508 sap->attr.mls.cat, pcat + 1);