Searched refs:newgenfs (Results 1 - 3 of 3) sorted by relevance

/external/selinux/libsepol/src/
H A Dpolicydb.c2725 genfs_t *genfs_p, *newgenfs, *genfs; local
2740 newgenfs = calloc(1, sizeof(genfs_t));
2741 if (!newgenfs)
2743 newgenfs->fstype = malloc(len + 1);
2744 if (!newgenfs->fstype) {
2745 free(newgenfs);
2748 rc = next_entry(newgenfs->fstype, fp, len);
2750 free(newgenfs->fstype);
2751 free(newgenfs);
2754 newgenfs
[all...]
H A Dexpand.c2263 genfs_t *genfs, *newgenfs, *end; local
2267 newgenfs = malloc(sizeof(genfs_t));
2268 if (!newgenfs) {
2272 memset(newgenfs, 0, sizeof(genfs_t));
2273 newgenfs->fstype = strdup(genfs->fstype);
2274 if (!newgenfs->fstype) {
2275 free(newgenfs);
2280 state->out->genfs = newgenfs;
2282 end->next = newgenfs;
2283 end = newgenfs;
[all...]
/external/selinux/checkpolicy/
H A Dpolicy_define.c5170 struct genfs *genfs_p, *genfs, *newgenfs; local
5196 newgenfs = malloc(sizeof(struct genfs));
5197 if (!newgenfs) {
5201 memset(newgenfs, 0, sizeof(struct genfs));
5202 newgenfs->fstype = fstype;
5203 newgenfs->next = genfs;
5205 genfs_p->next = newgenfs;
5207 policydbp->genfs = newgenfs;
5208 genfs = newgenfs;

Completed in 58 milliseconds