Lines Matching refs:datum
344 if (class->datum.nodes->head->data == node) { in __cil_post_db_count_helper()
352 if (type->datum.nodes->head->data == node) { in __cil_post_db_count_helper()
362 if (attr->datum.nodes->head->data == node) { in __cil_post_db_count_helper()
371 if (role->datum.nodes->head->data == node) { in __cil_post_db_count_helper()
380 if (user->datum.nodes->head->data == node) { in __cil_post_db_count_helper()
623 static int __cil_type_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_type_to_bitmap() argument
626 struct cil_tree_node *node = datum->nodes->head->data; in __cil_type_to_bitmap()
631 struct cil_typeattribute *attr = (struct cil_typeattribute *)datum; in __cil_type_to_bitmap()
638 struct cil_alias *alias = (struct cil_alias *)datum; in __cil_type_to_bitmap()
646 struct cil_type *type = (struct cil_type *)datum; in __cil_type_to_bitmap()
675 static int __cil_user_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_user_to_bitmap() argument
678 struct cil_tree_node *node = datum->nodes->head->data; in __cil_user_to_bitmap()
685 attr = (struct cil_userattribute *)datum; in __cil_user_to_bitmap()
694 user = (struct cil_user *)datum; in __cil_user_to_bitmap()
723 static int __cil_role_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_role_to_bitmap() argument
726 struct cil_tree_node *node = datum->nodes->head->data; in __cil_role_to_bitmap()
731 struct cil_roleattribute *attr = (struct cil_roleattribute *)datum; in __cil_role_to_bitmap()
738 struct cil_role *role = (struct cil_role *)datum; in __cil_role_to_bitmap()
792 static int __cil_permx_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, __attribute__((… in __cil_permx_to_bitmap() argument
799 rc = __cil_permx_str_to_int((char*)datum, &val); in __cil_permx_to_bitmap()
816 static int __cil_perm_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, __attribute__((u… in __cil_perm_to_bitmap() argument
818 struct cil_perm *perm = (struct cil_perm *)datum; in __cil_perm_to_bitmap()
881 static int __cil_cat_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db) in __cil_cat_to_bitmap() argument
884 struct cil_tree_node *node = datum->nodes->head->data; in __cil_cat_to_bitmap()
889 struct cil_catset *catset = (struct cil_catset *)datum; in __cil_cat_to_bitmap()
904 struct cil_alias *alias = (struct cil_alias *)datum; in __cil_cat_to_bitmap()
912 struct cil_cat *cat = (struct cil_cat *)datum; in __cil_cat_to_bitmap()
1256 static int __cil_role_assign_types(struct cil_role *role, struct cil_symtab_datum *datum) in __cil_role_assign_types() argument
1258 struct cil_tree_node *node = datum->nodes->head->data; in __cil_role_assign_types()
1266 struct cil_type *type = (struct cil_type *)datum; in __cil_role_assign_types()
1272 struct cil_alias *alias = (struct cil_alias *)datum; in __cil_role_assign_types()
1279 struct cil_typeattribute *attr = (struct cil_typeattribute *)datum; in __cil_role_assign_types()
1351 static int __cil_user_assign_roles(struct cil_user *user, struct cil_symtab_datum *datum) in __cil_user_assign_roles() argument
1353 struct cil_tree_node *node = datum->nodes->head->data; in __cil_user_assign_roles()
1363 role = (struct cil_role *)datum; in __cil_user_assign_roles()
1369 attr = (struct cil_roleattribute *)datum; in __cil_user_assign_roles()