Home
last modified time | relevance | path

Searched refs:ifobj (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.c200 if (ifobj->shared_umem && ifobj->rx_on) { in xsk_configure_umem()
361 ifobj->ifindex = if_nametoindex(ifobj->ifname); in parse_command_line()
389 ifobj->xsk = &ifobj->xsk_arr[0]; in __test_spec_init()
406 memset(ifobj->umem, 0, sizeof(*ifobj->umem)); in __test_spec_init()
411 memset(&ifobj->xsk_arr[j], 0, sizeof(ifobj->xsk_arr[j])); in __test_spec_init()
2238 if (!ifobj) in ifobject_create()
2241 ifobj->xsk_arr = calloc(MAX_SOCKETS, sizeof(*ifobj->xsk_arr)); in ifobject_create()
2245 ifobj->umem = calloc(1, sizeof(*ifobj->umem)); in ifobject_create()
2249 return ifobj; in ifobject_create()
2254 free(ifobj); in ifobject_create()
[all …]
H A Dxskxceiver.h142 typedef int (*validation_func_t)(struct ifobject *ifobj);
/openbmc/linux/net/bridge/
H A Dbr_sysfs_if.c388 return sysfs_create_link(br->ifobj, &p->kobj, p->sysfs_name); in br_sysfs_addif()
403 err = sysfs_rename_link(br->ifobj, &p->kobj, in br_sysfs_renameif()
H A Dbr_if.c338 sysfs_remove_link(br->ifobj, p->dev->name); in del_nbp()
715 sysfs_remove_link(br->ifobj, p->dev->name); in br_add_if()
H A Dbr_sysfs_br.c1063 br->ifobj = kobject_create_and_add(SYSFS_BRIDGE_PORT_SUBDIR, brobj); in br_sysfs_addbr()
1064 if (!br->ifobj) { in br_sysfs_addbr()
1085 kobject_put(br->ifobj); in br_sysfs_delbr()
H A Dbr_private.h555 struct kobject *ifobj; member