Lines Matching refs:levdatum
1094 level_datum_t *levdatum; in sens_index() local
1096 levdatum = (level_datum_t *) datum; in sens_index()
1099 if (!levdatum->isalias) { in sens_index()
1100 if (!value_isvalid(levdatum->level->sens, p->p_levels.nprim)) in sens_index()
1102 if (p->p_sens_val_to_name[levdatum->level->sens - 1] != NULL) in sens_index()
1104 p->p_sens_val_to_name[levdatum->level->sens - 1] = (char *)key; in sens_index()
1388 level_datum_t *levdatum; in sens_destroy() local
1392 levdatum = (level_datum_t *) datum; in sens_destroy()
1393 mls_level_destroy(levdatum->level); in sens_destroy()
1394 free(levdatum->level); in sens_destroy()
1395 level_datum_destroy(levdatum); in sens_destroy()
1396 free(levdatum); in sens_destroy()
3419 level_datum_t *levdatum; in sens_read() local
3423 levdatum = malloc(sizeof(level_datum_t)); in sens_read()
3424 if (!levdatum) in sens_read()
3426 level_datum_init(levdatum); in sens_read()
3436 levdatum->isalias = le32_to_cpu(buf[1]); in sens_read()
3446 levdatum->level = malloc(sizeof(mls_level_t)); in sens_read()
3447 if (!levdatum->level || mls_read_level(levdatum->level, fp)) in sens_read()
3450 if (hashtab_insert(h, key, levdatum)) in sens_read()
3456 sens_destroy(key, levdatum, NULL); in sens_read()