Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Doffload.c84 ondev = kzalloc(sizeof(*ondev), GFP_KERNEL); in __bpf_offload_dev_netdev_register()
85 if (!ondev) in __bpf_offload_dev_netdev_register()
88 ondev->netdev = netdev; in __bpf_offload_dev_netdev_register()
104 kfree(ondev); in __bpf_offload_dev_netdev_register()
155 if (WARN_ON(!ondev)) in __bpf_offload_dev_netdev_unregister()
185 kfree(ondev); in __bpf_offload_dev_netdev_unregister()
205 if (bpf_prog_is_offloaded(prog->aux) && (!ondev || !ondev->offdev)) { in __bpf_prog_dev_bound_init()
209 if (!ondev) { in __bpf_prog_dev_bound_init()
388 if (!ondev->offdev && list_empty(&ondev->progs)) in bpf_prog_dev_bound_destroy()
533 if (!ondev) { in bpf_map_offload_map_alloc()
[all …]