Searched refs:vid_info (Results 1 – 1 of 1) sorted by relevance
183 struct vlan_vid_info *vid_info; in vlan_vid_info_get() local185 list_for_each_entry(vid_info, &vlan_info->vid_list, list) { in vlan_vid_info_get()186 if (vid_info->proto == proto && vid_info->vid == vid) in vlan_vid_info_get()187 return vid_info; in vlan_vid_info_get()194 struct vlan_vid_info *vid_info; in vlan_vid_info_alloc() local196 vid_info = kzalloc(sizeof(struct vlan_vid_info), GFP_KERNEL); in vlan_vid_info_alloc()197 if (!vid_info) in vlan_vid_info_alloc()199 vid_info->proto = proto; in vlan_vid_info_alloc()200 vid_info->vid = vid; in vlan_vid_info_alloc()202 return vid_info; in vlan_vid_info_alloc()[all …]