Lines Matching refs:elt
993 struct postfix_elt *elt;
995 elt = kmalloc(sizeof(*elt), GFP_KERNEL);
996 if (!elt)
999 elt->op = OP_NONE;
1000 elt->operand = kstrdup(operand, GFP_KERNEL);
1001 if (!elt->operand) {
1002 kfree(elt);
1006 list_add_tail(&elt->list, &ps->postfix);
1013 struct postfix_elt *elt;
1015 elt = kmalloc(sizeof(*elt), GFP_KERNEL);
1016 if (!elt)
1019 elt->op = op;
1020 elt->operand = NULL;
1022 list_add_tail(&elt->list, &ps->postfix);
1029 struct postfix_elt *elt;
1032 elt = list_first_entry(&ps->postfix, struct postfix_elt, list);
1033 list_del(&elt->list);
1034 kfree(elt->operand);
1035 kfree(elt);
1169 struct postfix_elt *elt;
1171 list_for_each_entry(elt, &ps->postfix, list) {
1172 if (elt->op == OP_NONE)
1175 if (elt->op == OP_AND || elt->op == OP_OR) {
1198 struct postfix_elt *elt;
1206 list_for_each_entry(elt, &ps->postfix, list) {
1207 if (elt->op == OP_NONE) {
1209 operand1 = elt->operand;
1211 operand2 = elt->operand;
1224 if (elt->op == OP_AND || elt->op == OP_OR) {
1225 pred = create_logical_pred(elt->op);
1234 pred = create_pred(elt->op, operand1, operand2);