Lines Matching refs:layer2
109 struct layer2 *l2; in da_deactivate()
113 list_for_each_entry(l2, &mgr->layer2, list) { in da_deactivate()
146 struct layer2 *l2; in da_timer()
151 list_for_each_entry(l2, &mgr->layer2, list) { in da_timer()
246 struct layer2 *l2; in get_free_id()
248 list_for_each_entry(l2, &mgr->layer2, list) { in get_free_id()
270 struct layer2 *l2; in get_free_tei()
272 list_for_each_entry(l2, &mgr->layer2, list) { in get_free_tei()
413 static struct layer2 *
416 struct layer2 *l2; in findtei()
420 list_for_each_entry(l2, &mgr->layer2, list) { in findtei()
480 struct layer2 *l2; in tei_id_assign()
509 struct layer2 *l2; in tei_id_test_dup()
651 tei_l2remove(struct layer2 *l2) in tei_l2remove()
781 static struct layer2 *
787 struct layer2 *l2; in create_new_tei()
823 list_add_tail(&l2->list, &mgr->layer2); in create_new_tei()
851 struct layer2 *l2; in new_tei_req()
881 struct layer2 *l2, *nl2; in ph_data_ind()
926 list_for_each_entry_safe(l2, nl2, &mgr->layer2, list) { in ph_data_ind()
934 l2_tei(struct layer2 *l2, u_int cmd, u_long arg) in l2_tei()
969 TEIrelease(struct layer2 *l2) in TEIrelease()
985 struct layer2 *l2; in create_teimgr()
1035 if (!list_empty(&mgr->layer2)) { in create_teimgr()
1037 list_for_each_entry(l2, &mgr->layer2, list) { in create_teimgr()
1080 list_add_tail(&l2->list, &mgr->layer2); in create_teimgr()
1141 struct layer2 *l2, *nl2; in free_teimanager()
1148 list_for_each_entry_safe(l2, nl2, &mgr->layer2, list) { in free_teimanager()
1157 list_for_each_entry_safe(l2, nl2, &mgr->layer2, list) { in free_teimanager()
1163 if (list_empty(&mgr->layer2)) in free_teimanager()
1201 struct layer2 *l2; in check_data()
1241 struct layer2 *l2, *nl2; in delete_teimanager()
1245 list_for_each_entry_safe(l2, nl2, &mgr->layer2, list) { in delete_teimanager()
1289 struct layer2 *l2; in mgr_bcast()
1294 list_for_each_entry(l2, &mgr->layer2, list) { in mgr_bcast()
1297 if (list_is_last(&l2->list, &mgr->layer2)) { in mgr_bcast()
1351 INIT_LIST_HEAD(&mgr->layer2); in create_teimanager()