Lines Matching refs:usrdatum
1076 user_datum_t *usrdatum; in user_index() local
1078 usrdatum = (user_datum_t *) datum; in user_index()
1081 if (!value_isvalid(usrdatum->s.value, p->p_users.nprim)) in user_index()
1083 if (p->p_user_val_to_name[usrdatum->s.value - 1] != NULL) in user_index()
1085 p->p_user_val_to_name[usrdatum->s.value - 1] = (char *)key; in user_index()
1086 p->user_val_to_struct[usrdatum->s.value - 1] = usrdatum; in user_index()
3330 user_datum_t *usrdatum; in user_read() local
3335 usrdatum = calloc(1, sizeof(user_datum_t)); in user_read()
3336 if (!usrdatum) in user_read()
3350 usrdatum->s.value = le32_to_cpu(buf[1]); in user_read()
3352 usrdatum->bounds = le32_to_cpu(buf[2]); in user_read()
3363 if (ebitmap_read(&usrdatum->roles.roles, fp)) in user_read()
3366 if (role_set_read(&usrdatum->roles, fp)) in user_read()
3382 if (mls_read_range_helper(&usrdatum->exp_range, fp)) in user_read()
3384 if (mls_read_level(&usrdatum->exp_dfltlevel, fp)) in user_read()
3387 if (mls_range_to_semantic(&usrdatum->exp_range, in user_read()
3388 &usrdatum->range)) in user_read()
3390 if (mls_level_to_semantic(&usrdatum->exp_dfltlevel, in user_read()
3391 &usrdatum->dfltlevel)) in user_read()
3398 if (mls_read_semantic_range_helper(&usrdatum->range, fp)) in user_read()
3400 if (mls_read_semantic_level_helper(&usrdatum->dfltlevel, fp)) in user_read()
3404 if (hashtab_insert(h, key, usrdatum)) in user_read()
3410 user_destroy(key, usrdatum, NULL); in user_read()