Lines Matching refs:policydb

23 static int cond_evaluate_expr(struct policydb *p, struct cond_expr *expr)  in cond_evaluate_expr()
91 static void evaluate_cond_node(struct policydb *p, struct cond_node *node) in evaluate_cond_node()
122 void evaluate_cond_nodes(struct policydb *p) in evaluate_cond_nodes()
130 void cond_policydb_init(struct policydb *p) in cond_policydb_init()
147 static void cond_list_destroy(struct policydb *p) in cond_list_destroy()
158 void cond_policydb_destroy(struct policydb *p) in cond_policydb_destroy()
165 int cond_init_bool_indexes(struct policydb *p) in cond_init_bool_indexes()
187 struct policydb *p; in cond_index_bool()
209 int cond_read_bool(struct policydb *p, struct symtab *s, void *fp) in cond_read_bool()
255 struct policydb *p;
264 struct policydb *p = data->p; in cond_insertf()
326 static int cond_read_av_list(struct policydb *p, void *fp, in cond_read_av_list()
364 static int expr_node_isvalid(struct policydb *p, struct cond_expr_node *expr) in expr_node_isvalid()
378 static int cond_read_node(struct policydb *p, struct cond_node *node, void *fp) in cond_read_node()
418 int cond_read_list(struct policydb *p, void *fp) in cond_read_list()
483 static int cond_write_av_list(struct policydb *p, struct cond_av_list *list, in cond_write_av_list()
504 static int cond_write_node(struct policydb *p, struct cond_node *node, in cond_write_node()
539 int cond_write_list(struct policydb *p, void *fp) in cond_write_list()
629 static int duplicate_policydb_cond_list(struct policydb *newp, in duplicate_policydb_cond_list()
630 const struct policydb *origp) in duplicate_policydb_cond_list()
713 static int duplicate_policydb_bools(struct policydb *newdb, in duplicate_policydb_bools()
714 const struct policydb *orig) in duplicate_policydb_bools()
740 void cond_policydb_destroy_dup(struct policydb *p) in cond_policydb_destroy_dup()
747 int cond_policydb_dup(struct policydb *new, const struct policydb *orig) in cond_policydb_dup()