• Home
  • Raw
  • Download

Lines Matching refs:comdatum

994 	common_datum_t *comdatum;  in common_index()  local
996 comdatum = (common_datum_t *) datum; in common_index()
998 if (!value_isvalid(comdatum->s.value, p->p_commons.nprim)) in common_index()
1000 if (p->p_common_val_to_name[comdatum->s.value - 1] != NULL) in common_index()
1002 p->p_common_val_to_name[comdatum->s.value - 1] = (char *)key; in common_index()
1298 common_datum_t *comdatum; in common_destroy() local
1302 comdatum = (common_datum_t *) datum; in common_destroy()
1303 (void)hashtab_map(comdatum->permissions.table, perm_destroy, 0); in common_destroy()
1304 hashtab_destroy(comdatum->permissions.table); in common_destroy()
2083 common_datum_t *comdatum; in common_read() local
2089 comdatum = calloc(1, sizeof(common_datum_t)); in common_read()
2090 if (!comdatum) in common_read()
2101 comdatum->s.value = le32_to_cpu(buf[1]); in common_read()
2103 if (symtab_init(&comdatum->permissions, PERM_SYMTAB_SIZE)) in common_read()
2105 comdatum->permissions.nprim = le32_to_cpu(buf[2]); in common_read()
2117 if (perm_read(p, comdatum->permissions.table, fp, comdatum->permissions.nprim)) in common_read()
2121 if (hashtab_insert(h, key, comdatum)) in common_read()
2127 common_destroy(key, comdatum, NULL); in common_read()
2275 cladatum->comdatum = hashtab_search(p->p_commons.table, in class_read()
2277 if (!cladatum->comdatum) { in class_read()
4171 if (tclass_datum->comdatum == NULL) in policydb_string_to_av_perm()
4175 hashtab_search(tclass_datum->comdatum->permissions.table, in policydb_string_to_av_perm()