Lines Matching refs:genfs
778 struct genfs *g, *gtmp; in policydb_destroy()
809 g = p->genfs; in policydb_destroy()
823 p->genfs = NULL; in policydb_destroy()
2138 struct genfs *genfs_p, *genfs; in genfs_read() local
2139 struct genfs *newgenfs = NULL; in genfs_read()
2161 for (genfs_p = NULL, genfs = p->genfs; genfs; in genfs_read()
2162 genfs_p = genfs, genfs = genfs->next) { in genfs_read()
2164 if (strcmp(newgenfs->fstype, genfs->fstype) == 0) { in genfs_read()
2169 if (strcmp(newgenfs->fstype, genfs->fstype) < 0) in genfs_read()
2172 newgenfs->next = genfs; in genfs_read()
2176 p->genfs = newgenfs; in genfs_read()
2177 genfs = newgenfs; in genfs_read()
2210 for (l = NULL, c = genfs->head; c; l = c, c = c->next) { in genfs_read()
2216 genfs->fstype, c->u.name); in genfs_read()
2229 genfs->head = newc; in genfs_read()
3442 struct genfs *genfs; in genfs_write() local
3449 for (genfs = p->genfs; genfs; genfs = genfs->next) in genfs_write()
3455 for (genfs = p->genfs; genfs; genfs = genfs->next) { in genfs_write()
3456 len = strlen(genfs->fstype); in genfs_write()
3461 rc = put_entry(genfs->fstype, 1, len, fp); in genfs_write()
3465 for (c = genfs->head; c; c = c->next) in genfs_write()
3471 for (c = genfs->head; c; c = c->next) { in genfs_write()