Lines Matching defs:cat
554 kfree(doi_def->map.std->cat.cipso);
555 kfree(doi_def->map.std->cat.local);
828 int cat = -1;
837 cipso_cat_size = doi_def->map.std->cat.cipso_size;
838 cipso_array = doi_def->map.std->cat.cipso;
840 cat = cipso_v4_bitmap_walk(bitmap,
842 cat + 1,
844 if (cat < 0)
846 if (cat >= cipso_cat_size ||
847 cipso_array[cat] >= CIPSO_V4_INV_CAT)
851 if (cat == -1)
885 host_cat_size = doi_def->map.std->cat.local_size;
886 host_cat_array = doi_def->map.std->cat.local;
890 host_spot = netlbl_secattr_catmap_walk(secattr->attr.mls.cat,
946 net_cat_size = doi_def->map.std->cat.cipso_size;
947 net_cat_array = doi_def->map.std->cat.cipso;
973 ret_val = netlbl_secattr_catmap_setbit(secattr->attr.mls.cat,
999 u16 cat;
1007 cat = get_unaligned_be16(&enumcat[iter]);
1008 if (cat <= cat_prev)
1010 cat_prev = cat;
1035 int cat = -1;
1039 cat = netlbl_secattr_catmap_walk(secattr->attr.mls.cat,
1040 cat + 1);
1041 if (cat < 0)
1046 *((__be16 *)&net_cat[cat_iter]) = htons(cat);
1075 ret_val = netlbl_secattr_catmap_setbit(secattr->attr.mls.cat,
1155 iter = netlbl_secattr_catmap_walk(secattr->attr.mls.cat,
1164 iter = netlbl_secattr_catmap_walk_rng(secattr->attr.mls.cat,
1217 ret_val = netlbl_secattr_catmap_setrng(secattr->attr.mls.cat,
1335 secattr->attr.mls.cat =
1337 if (secattr->attr.mls.cat == NULL)
1345 netlbl_secattr_catmap_free(secattr->attr.mls.cat);
1431 secattr->attr.mls.cat =
1433 if (secattr->attr.mls.cat == NULL)
1441 netlbl_secattr_catmap_free(secattr->attr.mls.cat);
1526 secattr->attr.mls.cat =
1528 if (secattr->attr.mls.cat == NULL)
1536 netlbl_secattr_catmap_free(secattr->attr.mls.cat);