Lines Matching refs:ops
389 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_ioctl() local
400 if (netif_device_present(real_dev) && ops->ndo_do_ioctl) in vlan_dev_ioctl()
401 err = ops->ndo_do_ioctl(real_dev, &ifrr, cmd); in vlan_dev_ioctl()
414 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_neigh_setup() local
417 if (netif_device_present(real_dev) && ops->ndo_neigh_setup) in vlan_dev_neigh_setup()
418 err = ops->ndo_neigh_setup(real_dev, pa); in vlan_dev_neigh_setup()
428 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_setup() local
431 if (ops->ndo_fcoe_ddp_setup) in vlan_dev_fcoe_ddp_setup()
432 rc = ops->ndo_fcoe_ddp_setup(real_dev, xid, sgl, sgc); in vlan_dev_fcoe_ddp_setup()
440 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_done() local
443 if (ops->ndo_fcoe_ddp_done) in vlan_dev_fcoe_ddp_done()
444 len = ops->ndo_fcoe_ddp_done(real_dev, xid); in vlan_dev_fcoe_ddp_done()
452 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_enable() local
455 if (ops->ndo_fcoe_enable) in vlan_dev_fcoe_enable()
456 rc = ops->ndo_fcoe_enable(real_dev); in vlan_dev_fcoe_enable()
463 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_disable() local
466 if (ops->ndo_fcoe_disable) in vlan_dev_fcoe_disable()
467 rc = ops->ndo_fcoe_disable(real_dev); in vlan_dev_fcoe_disable()
474 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_get_wwn() local
477 if (ops->ndo_fcoe_get_wwn) in vlan_dev_fcoe_get_wwn()
478 rc = ops->ndo_fcoe_get_wwn(real_dev, wwn, type); in vlan_dev_fcoe_get_wwn()
486 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_target() local
489 if (ops->ndo_fcoe_ddp_target) in vlan_dev_fcoe_ddp_target()
490 rc = ops->ndo_fcoe_ddp_target(real_dev, xid, sgl, sgc); in vlan_dev_fcoe_ddp_target()