Lines Matching refs:usrdatum
999 user_datum_t *usrdatum; in user_index() local
1001 usrdatum = (user_datum_t *) datum; in user_index()
1004 if (!usrdatum->s.value || usrdatum->s.value > p->p_users.nprim) in user_index()
1006 if (p->p_user_val_to_name[usrdatum->s.value - 1] != NULL) in user_index()
1008 p->p_user_val_to_name[usrdatum->s.value - 1] = (char *)key; in user_index()
1009 p->user_val_to_struct[usrdatum->s.value - 1] = usrdatum; in user_index()
3019 user_datum_t *usrdatum; in user_read() local
3024 usrdatum = calloc(1, sizeof(user_datum_t)); in user_read()
3025 if (!usrdatum) in user_read()
3039 usrdatum->s.value = le32_to_cpu(buf[1]); in user_read()
3041 usrdatum->bounds = le32_to_cpu(buf[2]); in user_read()
3052 if (ebitmap_read(&usrdatum->roles.roles, fp)) in user_read()
3055 if (role_set_read(&usrdatum->roles, fp)) in user_read()
3071 if (mls_read_range_helper(&usrdatum->exp_range, fp)) in user_read()
3073 if (mls_read_level(&usrdatum->exp_dfltlevel, fp)) in user_read()
3076 if (mls_range_to_semantic(&usrdatum->exp_range, in user_read()
3077 &usrdatum->range)) in user_read()
3079 if (mls_level_to_semantic(&usrdatum->exp_dfltlevel, in user_read()
3080 &usrdatum->dfltlevel)) in user_read()
3087 if (mls_read_semantic_range_helper(&usrdatum->range, fp)) in user_read()
3089 if (mls_read_semantic_level_helper(&usrdatum->dfltlevel, fp)) in user_read()
3093 if (hashtab_insert(h, key, usrdatum)) in user_read()
3099 user_destroy(key, usrdatum, NULL); in user_read()