Home
last modified time | relevance | path

Searched refs:maxbit (Results 1 – 5 of 5) sorted by relevance

/external/libnetfilter_conntrack/src/conntrack/
Dlabels.c224 unsigned int maxbit = 0; in __labelmap_new() local
255 if (maxbit < bit) in __labelmap_new()
256 maxbit = bit; in __labelmap_new()
264 map->namecount = maxbit + 1; in __labelmap_new()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h84 extern int ebitmap_not(ebitmap_t *dst, ebitmap_t *e1, unsigned int maxbit);
85 extern int ebitmap_andnot(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2, unsigned int maxbit);
/external/selinux/libsepol/src/
Debitmap.c101 int ebitmap_not(ebitmap_t *dst, ebitmap_t *e1, unsigned int maxbit) in ebitmap_not() argument
105 for (i=0; i < maxbit; i++) { in ebitmap_not()
114 int ebitmap_andnot(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2, unsigned int maxbit) in ebitmap_andnot() argument
118 int rc = ebitmap_not(&e3, e2, maxbit); in ebitmap_andnot()
/external/selinux/mcstrans/src/
Dmcstrans.c49 static unsigned int maxbit=0; variable
200 if (low >= maxbit) in parse_category()
201 maxbit = low + 1; in parse_category()
441 if (ebitmap_andnot(&word->normal, &word->cat, &group->def, maxbit) < 0) in add_word()
1202 if (ebitmap_andnot(&set, &w->cat, &g->def, maxbit) < 0) goto err; in compute_raw_from_trans()
1211 if (ebitmap_andnot(&mraw->cat, &tmp, &clear, maxbit) < 0) goto err; in compute_raw_from_trans()
1360 if (ebitmap_not(&nothandled, &handled, maxbit) < 0) in compute_trans_from_raw()
1404 if (ebitmap_andnot(&unhandled, &temp, &bit_diff, maxbit) < 0) in compute_trans_from_raw()
/external/libnetfilter_conntrack/include/libnetfilter_conntrack/
Dlibnetfilter_conntrack.h292 struct nfct_bitmask *nfct_bitmask_new(unsigned int maxbit);