Lines Matching refs:fp
223 int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp) in cond_read_bool() argument
235 rc = next_entry(buf, fp, sizeof buf); in cond_read_bool()
250 rc = next_entry(key, fp, len); in cond_read_bool()
363 static int cond_read_av_list(struct policydb *p, void *fp, in cond_read_av_list() argument
374 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_av_list()
390 rc = avtab_read_item(&p->te_cond_avtab, fp, p, cond_insertf, &data); in cond_read_av_list()
415 static int cond_read_node(struct policydb *p, struct cond_node *node, void *fp) in cond_read_node() argument
422 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_node()
429 rc = next_entry(buf, fp, sizeof(u32)); in cond_read_node()
438 rc = next_entry(buf, fp, sizeof(u32) * 2); in cond_read_node()
463 if ( cond_read_av_list(p, fp, &node->true_list, NULL) != 0 ) in cond_read_node()
465 if ( cond_read_av_list(p, fp, &node->false_list, node->true_list) != 0 ) in cond_read_node()
473 int cond_read_list(struct policydb *p, void *fp) in cond_read_list() argument
480 rc = next_entry(buf, fp, sizeof buf); in cond_read_list()
496 if ( cond_read_node(p, node, fp) != 0 ) in cond_read_list()