Lines Matching refs:dev
13 _cleanup_(sd_device_unrefp) sd_device *dev = NULL, *dev_with_netlink = NULL; in test_link_info_one()
20 assert_se(sd_device_new_from_ifindex(&dev, ifindex) >= 0); in test_link_info_one()
25 assert_se(sd_device_get_sysattr_value(dev, "type", &s) >= 0); in test_link_info_one()
34 assert_se(sd_device_get_sysattr_value(dev, "addr_len", &s) >= 0); in test_link_info_one()
43 assert_se(sd_device_get_sysattr_value(dev, "address", &s) >= 0); in test_link_info_one()
50 assert_se(sd_device_get_sysattr_value(dev, "broadcast", &s) >= 0); in test_link_info_one()
57 assert_se(sd_device_get_sysname(dev, &s) >= 0); in test_link_info_one()
64 assert_se(sd_device_get_sysattr_value(dev, "mtu", &s) >= 0); in test_link_info_one()
73 assert_se(sd_device_get_sysattr_value(dev, "iflink", &s) >= 0); in test_link_info_one()
82 assert_se(sd_device_get_sysattr_value(dev, "link_mode", &s) >= 0); in test_link_info_one()
91 assert_se(sd_device_get_sysattr_value(dev, "ifalias", &s) >= 0); in test_link_info_one()
98 assert_se(sd_device_get_sysattr_value(dev, "netdev_group", &s) >= 0); in test_link_info_one()
109 (void) sd_device_get_sysattr_value(dev, "phys_port_id", &s); in test_link_info_one()
117 (void) sd_device_get_sysattr_value(dev, "phys_switch_id", &s); in test_link_info_one()
126 (void) sd_device_get_sysattr_value(dev, "phys_port_name", &s); in test_link_info_one()