Lines Matching refs:levdatum
1078 level_datum_t *levdatum; in sens_index() local
1080 levdatum = (level_datum_t *) datum; in sens_index()
1083 if (!levdatum->isalias) { in sens_index()
1084 if (!levdatum->level->sens || in sens_index()
1085 levdatum->level->sens > p->p_levels.nprim) in sens_index()
1087 if (p->p_sens_val_to_name[levdatum->level->sens - 1] != NULL) in sens_index()
1089 p->p_sens_val_to_name[levdatum->level->sens - 1] = (char *)key; in sens_index()
1383 level_datum_t *levdatum; in sens_destroy() local
1387 levdatum = (level_datum_t *) datum; in sens_destroy()
1388 mls_level_destroy(levdatum->level); in sens_destroy()
1389 free(levdatum->level); in sens_destroy()
1390 level_datum_destroy(levdatum); in sens_destroy()
1391 free(levdatum); in sens_destroy()
3225 level_datum_t *levdatum; in sens_read() local
3229 levdatum = malloc(sizeof(level_datum_t)); in sens_read()
3230 if (!levdatum) in sens_read()
3232 level_datum_init(levdatum); in sens_read()
3242 levdatum->isalias = le32_to_cpu(buf[1]); in sens_read()
3252 levdatum->level = malloc(sizeof(mls_level_t)); in sens_read()
3253 if (!levdatum->level || mls_read_level(levdatum->level, fp)) in sens_read()
3256 if (hashtab_insert(h, key, levdatum)) in sens_read()
3262 sens_destroy(key, levdatum, NULL); in sens_read()