Lines Matching defs:max
60 static int __cil_expr_to_bitmap(struct cil_list *expr, ebitmap_t *out, int max, struct cil_db *db);
61 static int __cil_expr_list_to_bitmap(struct cil_list *expr_list, ebitmap_t *out, int max, struct cil_db *db);
1025 rc = __cil_expr_to_bitmap(permx->expr_str, permx->perms, 0x10000, db); // max is one more than 0xFFFF
1257 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_t *bitmap, int max, struct cil_db *db)
1284 rc = __cil_expr_to_bitmap(l, bitmap, max, db);
1297 static int __cil_expr_to_bitmap(struct cil_list *expr, ebitmap_t *out, int max, struct cil_db *db)
1315 rc = ebitmap_init_range(&tmp, 0, max - 1);
1340 rc = __cil_expr_to_bitmap_helper(curr->next, flavor, &b1, max, db);
1347 rc = ebitmap_not(&tmp, &b1, max);
1355 rc = __cil_expr_to_bitmap_helper(curr->next->next, flavor, &b2, max, db);
1383 rc = __cil_expr_to_bitmap_helper(curr, flavor, &b2, max, db);
1411 static int __cil_expr_list_to_bitmap(struct cil_list *expr_list, ebitmap_t *out, int max, struct cil_db *db)
1426 rc = __cil_expr_to_bitmap(l, &bitmap, max, db);