Lines Matching defs:mle
581 struct mac_label_element *mle, **new_mles;
631 LIST_FOREACH(mle, &mac_static_label_element_list, mle_list) {
632 if (*(name2 = mle->mle_name) == '?')
637 if (mle == NULL) {
638 LIST_FOREACH(mle, &mac_label_element_list, mle_list) {
639 if (*(name2 = mle->mle_name) == '?')
645 if (mle == NULL) {
646 mle = new_mles[mle_free];
647 strlcpy(mle->mle_name, mpc->mpc_labelnames[idx],
649 LIST_INIT(&mle->mle_listeners);
650 LIST_INSERT_HEAD(list, mle, mle_list);
655 LIST_INSERT_HEAD(&mle->mle_listeners, new_mlls[mll_free],
683 struct mac_label_element *mle;
700 LIST_FOREACH(mle, &mac_label_element_list, mle_list) {
701 LIST_FOREACH(mll, &mle->mle_listeners, mll_list) {
705 if (LIST_EMPTY(&mle->mle_listeners)) {
706 LIST_REMOVE(mle, mle_list);
707 FREE(mle, M_MACTEMP);
1106 struct mac_label_element *mle;
1121 LIST_FOREACH(mle, element_list, mle_list) {
1122 name = mle->mle_name;
1132 LIST_FOREACH(mll, &mle->mle_listeners, mll_list) {
1143 error = mpo_externalize(label, mle->mle_name, sb);
1216 struct mac_label_element *mle;
1225 LIST_FOREACH(mle, element_list, mle_list) {
1226 if (*(name = mle->mle_name) == '?')
1230 LIST_FOREACH(mll, &mle->mle_listeners, mll_list) {