Lines Matching refs:usrdatum
908 user_datum_t *usrdatum; in user_index() local
910 usrdatum = (user_datum_t *) datum; in user_index()
913 if (!usrdatum->s.value || usrdatum->s.value > p->p_users.nprim) in user_index()
916 p->p_user_val_to_name[usrdatum->s.value - 1] = (char *)key; in user_index()
917 p->user_val_to_struct[usrdatum->s.value - 1] = usrdatum; in user_index()
2865 user_datum_t *usrdatum; in user_read() local
2870 usrdatum = calloc(1, sizeof(user_datum_t)); in user_read()
2871 if (!usrdatum) in user_read()
2882 usrdatum->s.value = le32_to_cpu(buf[1]); in user_read()
2884 usrdatum->bounds = le32_to_cpu(buf[2]); in user_read()
2895 if (ebitmap_read(&usrdatum->roles.roles, fp)) in user_read()
2898 if (role_set_read(&usrdatum->roles, fp)) in user_read()
2914 if (mls_read_range_helper(&usrdatum->exp_range, fp)) in user_read()
2916 if (mls_read_level(&usrdatum->exp_dfltlevel, fp)) in user_read()
2919 if (mls_range_to_semantic(&usrdatum->exp_range, in user_read()
2920 &usrdatum->range)) in user_read()
2922 if (mls_level_to_semantic(&usrdatum->exp_dfltlevel, in user_read()
2923 &usrdatum->dfltlevel)) in user_read()
2930 if (mls_read_semantic_range_helper(&usrdatum->range, fp)) in user_read()
2932 if (mls_read_semantic_level_helper(&usrdatum->dfltlevel, fp)) in user_read()
2936 if (hashtab_insert(h, key, usrdatum)) in user_read()
2942 user_destroy(key, usrdatum, NULL); in user_read()