Searched refs:catdatum (Results 1 – 3 of 3) sorted by relevance
336 cat_datum_t *catdatum, *rngdatum; in mls_context_to_sid() local381 catdatum = in mls_context_to_sid()386 if (!catdatum) in mls_context_to_sid()391 catdatum->s.value - 1, 1)) in mls_context_to_sid()406 if (catdatum->s.value >= in mls_context_to_sid()410 for (i = catdatum->s.value; in mls_context_to_sid()556 cat_datum_t *catdatum; in mls_convert_context() local584 catdatum = in mls_convert_context()590 if (!catdatum) in mls_convert_context()593 catdatum->s.value - 1, 1); in mls_convert_context()
943 cat_datum_t *catdatum; in cat_index() local945 catdatum = (cat_datum_t *) datum; in cat_index()948 if (!catdatum->isalias) { in cat_index()949 if (!catdatum->s.value || catdatum->s.value > p->p_cats.nprim) in cat_index()951 p->p_cat_val_to_name[catdatum->s.value - 1] = (char *)key; in cat_index()2994 cat_datum_t *catdatum; in cat_read() local2998 catdatum = malloc(sizeof(cat_datum_t)); in cat_read()2999 if (!catdatum) in cat_read()3001 cat_datum_init(catdatum); in cat_read()3008 catdatum->s.value = le32_to_cpu(buf[1]); in cat_read()[all …]
470 cat_datum_t *catdatum; in cat_write() local476 catdatum = (cat_datum_t *) datum; in cat_write()481 buf[items++] = cpu_to_le32(catdatum->s.value); in cat_write()482 buf[items++] = cpu_to_le32(catdatum->isalias); in cat_write()