Lines Matching refs:el
63 static void hbac_request_element_debug_print(struct hbac_request_element *el,
70 static void hbac_rule_element_debug_print(struct hbac_rule_element *el,
90 static bool hbac_rule_element_is_complete(struct hbac_rule_element *el)
92 if (el == NULL) return false;
93 if (el->category == HBAC_CATEGORY_ALL) return true;
95 if (el->names == NULL && el->groups == NULL) return false;
97 if ((el->names && el->names[0] != NULL)
98 || (el->groups && el->groups[0] != NULL))
399 static void hbac_request_element_debug_print(struct hbac_request_element *el,
404 if (el) {
405 if (el->name) {
406 HBAC_DEBUG(HBAC_DBG_TRACE, "\t\t%s [%s]\n", label, el->name);
409 if (el->groups) {
410 if (el->groups[0]) {
412 for (i = 0; el->groups[i]; i++) {
413 HBAC_DEBUG(HBAC_DBG_TRACE, "\t\t\t[%s]\n", el->groups[i]);
454 static void hbac_rule_element_debug_print(struct hbac_rule_element *el,
459 if (el) {
460 HBAC_DEBUG(HBAC_DBG_TRACE, "\t\tcategory [%#x] [%s]\n", el->category,
461 (el->category == HBAC_CATEGORY_ALL) ? "ALL" : "NONE");
463 if (el->names) {
464 if (el->names[0]) {
466 for (i = 0; el->names[i]; i++) {
467 HBAC_DEBUG(HBAC_DBG_TRACE, "\t\t\t[%s]\n", el->names[i]);
474 if (el->groups) {
475 if (el->groups[0]) {
477 for (i = 0; el->groups[i]; i++) {
478 HBAC_DEBUG(HBAC_DBG_TRACE, "\t\t\t[%s]\n", el->groups[i]);