Home | History | Annotate | Download | only in src

Lines Matching refs:fp

569 		   struct policy_file *fp)
581 rc = next_entry(buf, fp, sizeof(uint32_t) * 3);
596 rc = next_entry(key, fp, len);
603 rc = next_entry(buf, fp, sizeof(uint32_t));
711 static int cond_read_av_list(policydb_t * p, void *fp,
722 rc = next_entry(buf, fp, sizeof(uint32_t));
736 rc = avtab_read_item(fp, p->policyvers, &p->te_cond_avtab,
763 static int cond_read_node(policydb_t * p, cond_node_t * node, void *fp)
769 rc = next_entry(buf, fp, sizeof(uint32_t));
776 rc = next_entry(buf, fp, sizeof(uint32_t));
784 rc = next_entry(buf, fp, sizeof(uint32_t) * 2);
811 if (cond_read_av_list(p, fp, &node->true_list, NULL) != 0)
813 if (cond_read_av_list(p, fp, &node->false_list, node->true_list)
817 if (avrule_read_list(p, &node->avtrue_list, fp))
819 if (avrule_read_list(p, &node->avfalse_list, fp))
825 rc = next_entry(buf, fp, sizeof(uint32_t));
838 int cond_read_list(policydb_t * p, cond_list_t ** list, void *fp)
844 rc = next_entry(buf, fp, sizeof(uint32_t));
860 if (cond_read_node(p, node, fp) != 0)