Lines Matching defs:head

225 static ocontext_t *cil_add_ocontext(ocontext_t **head, ocontext_t **tail)
232 *head = new;
244 struct cil_tree_node *node = cil_common->datum.nodes->head->data;
2052 if (expr == NULL || expr->head == NULL) {
2057 curr = expr->head;
2110 static int __cil_cond_expr_to_sepol_expr_helper(policydb_t *pdb, struct cil_list *cil_expr, cond_expr_t **head, cond_expr_t **tail);
2112 static int __cil_cond_item_to_sepol_expr(policydb_t *pdb, struct cil_list_item *item, cond_expr_t **head, cond_expr_t **tail)
2123 *head = cil_malloc(sizeof(cond_expr_t));
2124 (*head)->next = NULL;
2125 (*head)->expr_type = COND_BOOL;
2126 (*head)->bool = sepol_bool->s.value;
2127 *tail = *head;
2130 int rc = __cil_cond_expr_to_sepol_expr_helper(pdb, l, head, tail);
2144 static int __cil_cond_expr_to_sepol_expr_helper(policydb_t *pdb, struct cil_list *cil_expr, cond_expr_t **head, cond_expr_t **tail)
2147 struct cil_list_item *item = cil_expr->head;
2197 *head = h1;
2209 *head = h1;
2220 *head = h1;
2225 cond_expr_destroy(*head);
2248 cond_expr_t *head, *tail;
2250 rc = __cil_cond_expr_to_sepol_expr_helper(pdb, cil_expr, &head, &tail);
2254 *sepol_expr = head;
2734 static int __cil_constrain_expr_to_sepol_expr_helper(policydb_t *pdb, const struct cil_db *db, const struct cil_list *cil_expr, constraint_expr_t **head, constraint_expr_t **tail)
2747 item = cil_expr->head;
2796 *head = op;
2805 *head = h1;
2821 *head = h1;
2835 constraint_expr_t *head, *tail;
2837 rc = __cil_constrain_expr_to_sepol_expr_helper(pdb, db, cil_expr, &head, &tail);
2842 *sepol_expr = head;
3218 if (db->sidorder == NULL || db->sidorder->head == NULL) {
3548 new_genfs->head = new_ocon;
4673 i1 = cp_list->head;