Home | History | Annotate | Download | only in net

Lines Matching defs:vidp

1699 	struct vlanid_list *vidp;
1707 vidp = kmem_alloc(sizeof(*vidp), KM_SLEEP);
1708 vidp->vid = vid;
1712 SIMPLEQ_INSERT_TAIL(&ec->ec_vids, vidp, vid_list);
1740 SIMPLEQ_REMOVE(&ec->ec_vids, vidp, vlanid_list, vid_list);
1749 kmem_free(vidp, sizeof(*vidp));
1758 struct vlanid_list *vidp;
1762 SIMPLEQ_FOREACH(vidp, &ec->ec_vids, vid_list) {
1763 if (vidp->vid == vid) {
1764 SIMPLEQ_REMOVE(&ec->ec_vids, vidp,
1772 if (vidp == NULL)
1776 (void)(*ec->ec_vlan_cb)(ec, vidp->vid, false);
1785 kmem_free(vidp, sizeof(*vidp));