Lines Matching refs:dev_info
159 struct vlan_dev_info *dev_info = VLAN_DEV_INFO(vlandev); in vlan_proc_add_dev() local
168 dev_info->dent = create_proc_entry(vlandev->name, in vlan_proc_add_dev()
171 if (!dev_info->dent) in vlan_proc_add_dev()
174 dev_info->dent->proc_fops = &vlandev_fops; in vlan_proc_add_dev()
175 dev_info->dent->get_info = &vlandev_get_info; in vlan_proc_add_dev()
176 dev_info->dent->data = vlandev; in vlan_proc_add_dev()
283 struct vlan_dev_info *dev_info = NULL; in vlan_proc_get_vlan_info() local
318 dev_info = VLAN_DEV_INFO(vlandev); in vlan_proc_get_vlan_info()
321 dev_info->vlan_id, in vlan_proc_get_vlan_info()
322 dev_info->real_dev->name); in vlan_proc_get_vlan_info()
357 struct vlan_dev_info *dev_info = NULL; in vlandev_get_info() local
365 dev_info = VLAN_DEV_INFO(vlandev); in vlandev_get_info()
368 vlandev->name, dev_info->vlan_id, in vlandev_get_info()
369 (int)(dev_info->flags & 1), vlandev->priv_flags); in vlandev_get_info()
389 "total headroom inc", dev_info->cnt_inc_headroom_on_tx); in vlandev_get_info()
392 "total encap on xmit", dev_info->cnt_encap_on_xmit); in vlandev_get_info()
394 cnt += sprintf(buf + cnt, "Device: %s", dev_info->real_dev->name); in vlandev_get_info()
398 dev_info->ingress_priority_map[0], in vlandev_get_info()
399 dev_info->ingress_priority_map[1], in vlandev_get_info()
400 dev_info->ingress_priority_map[2], in vlandev_get_info()
401 dev_info->ingress_priority_map[3], in vlandev_get_info()
402 dev_info->ingress_priority_map[4], in vlandev_get_info()
403 dev_info->ingress_priority_map[5], in vlandev_get_info()
404 dev_info->ingress_priority_map[6], in vlandev_get_info()
405 dev_info->ingress_priority_map[7]); in vlandev_get_info()
420 mp = dev_info->egress_priority_map[i]; in vlandev_get_info()