Searched refs:newgenfs (Results 1 – 3 of 3) sorted by relevance
/external/selinux/libsepol/src/ |
D | policydb.c | 2972 genfs_t *genfs_p, *newgenfs, *genfs; in genfs_read() local 2989 newgenfs = calloc(1, sizeof(genfs_t)); in genfs_read() 2990 if (!newgenfs) in genfs_read() 2992 newgenfs->fstype = malloc(len + 1); in genfs_read() 2993 if (!newgenfs->fstype) { in genfs_read() 2994 free(newgenfs); in genfs_read() 2997 rc = next_entry(newgenfs->fstype, fp, len); in genfs_read() 2999 free(newgenfs->fstype); in genfs_read() 3000 free(newgenfs); in genfs_read() 3003 newgenfs->fstype[len] = 0; in genfs_read() [all …]
|
D | expand.c | 2298 genfs_t *genfs, *newgenfs, *end; in genfs_copy() local 2302 newgenfs = malloc(sizeof(genfs_t)); in genfs_copy() 2303 if (!newgenfs) { in genfs_copy() 2307 memset(newgenfs, 0, sizeof(genfs_t)); in genfs_copy() 2308 newgenfs->fstype = strdup(genfs->fstype); in genfs_copy() 2309 if (!newgenfs->fstype) { in genfs_copy() 2310 free(newgenfs); in genfs_copy() 2315 state->out->genfs = newgenfs; in genfs_copy() 2317 end->next = newgenfs; in genfs_copy() 2318 end = newgenfs; in genfs_copy() [all …]
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 5545 struct genfs *genfs_p, *genfs, *newgenfs; in define_genfs_context_helper() local 5571 newgenfs = malloc(sizeof(struct genfs)); in define_genfs_context_helper() 5572 if (!newgenfs) { in define_genfs_context_helper() 5576 memset(newgenfs, 0, sizeof(struct genfs)); in define_genfs_context_helper() 5577 newgenfs->fstype = fstype; in define_genfs_context_helper() 5578 newgenfs->next = genfs; in define_genfs_context_helper() 5580 genfs_p->next = newgenfs; in define_genfs_context_helper() 5582 policydbp->genfs = newgenfs; in define_genfs_context_helper() 5583 genfs = newgenfs; in define_genfs_context_helper()
|