Home
last modified time | relevance | path

Searched refs:dev_num_vf (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/net/core/
Drtnetlink.c945 int num_vfs = dev_num_vf(dev->dev.parent); in rtnl_vfinfo_size()
1001 if (dev_num_vf(dev->dev.parent)) in rtnl_port_size()
1003 vf_port_size * dev_num_vf(dev->dev.parent); in rtnl_port_size()
1108 for (vf = 0; vf < dev_num_vf(dev->dev.parent); vf++) { in rtnl_vf_ports_fill()
1166 if (dev_num_vf(dev->dev.parent)) { in rtnl_port_fill()
1409 num_vfs = dev_num_vf(dev->dev.parent); in rtnl_fill_vf()
/Linux-v6.1/include/linux/
Ddevice.h976 static inline int dev_num_vf(struct device *dev) in dev_num_vf() function