Lines Matching refs:NETDEV_VTABLE
216 NETDEV_VTABLE(netdev) && in netdev_free()
217 NETDEV_VTABLE(netdev)->done) in netdev_free()
218 NETDEV_VTABLE(netdev)->done(netdev); in netdev_free()
279 if (NETDEV_VTABLE(netdev)->post_create) in netdev_enter_ready()
280 NETDEV_VTABLE(netdev)->post_create(netdev, NULL); in netdev_enter_ready()
356 if (!NETDEV_VTABLE(netdev)->skip_netdev_kind_check) { in netdev_set_ifindex()
427 if (!NETDEV_VTABLE(netdev)->generate_mac) in netdev_generate_hw_addr()
430 if (!IN_SET(NETDEV_VTABLE(netdev)->iftype, ARPHRD_ETHER, ARPHRD_INFINIBAND)) in netdev_generate_hw_addr()
440 a.length = arphrd_to_hw_addr_len(NETDEV_VTABLE(netdev)->iftype); in netdev_generate_hw_addr()
442 switch (NETDEV_VTABLE(netdev)->iftype) { in netdev_generate_hw_addr()
475 r = net_verify_hardware_address(name, is_static, NETDEV_VTABLE(netdev)->iftype, in netdev_generate_hw_addr()
520 if (NETDEV_VTABLE(netdev)->fill_message_create) { in netdev_create_message()
525 r = NETDEV_VTABLE(netdev)->fill_message_create(netdev, link, m); in netdev_create_message()
552 if (NETDEV_VTABLE(netdev)->create) { in independent_netdev_create()
553 r = NETDEV_VTABLE(netdev)->create(netdev); in independent_netdev_create()
626 if (NETDEV_VTABLE(netdev)->is_ready_to_create) in netdev_is_ready_to_create()
627 return NETDEV_VTABLE(netdev)->is_ready_to_create(netdev, link); in netdev_is_ready_to_create()
792 netdev = malloc0(NETDEV_VTABLE(netdev_raw)->object_size); in netdev_load_one()
802 if (NETDEV_VTABLE(netdev)->init) in netdev_load_one()
803 NETDEV_VTABLE(netdev)->init(netdev); in netdev_load_one()
807 NETDEV_VTABLE(netdev)->sections, in netdev_load_one()
815 if (NETDEV_VTABLE(netdev)->config_verify) { in netdev_load_one()
816 r = NETDEV_VTABLE(netdev)->config_verify(netdev, filename); in netdev_load_one()