ondev              82 kernel/bpf/offload.c 	struct bpf_offload_netdev *ondev;
ondev             106 kernel/bpf/offload.c 	ondev = bpf_offload_find_netdev(offload->netdev);
ondev             107 kernel/bpf/offload.c 	if (!ondev) {
ondev             111 kernel/bpf/offload.c 	offload->offdev = ondev->offdev;
ondev             113 kernel/bpf/offload.c 	list_add_tail(&offload->offloads, &ondev->progs);
ondev             365 kernel/bpf/offload.c 	struct bpf_offload_netdev *ondev;
ondev             388 kernel/bpf/offload.c 	ondev = bpf_offload_find_netdev(offmap->netdev);
ondev             389 kernel/bpf/offload.c 	if (!ondev) {
ondev             398 kernel/bpf/offload.c 	list_add_tail(&offmap->offloads, &ondev->maps);
ondev             598 kernel/bpf/offload.c 	struct bpf_offload_netdev *ondev;
ondev             601 kernel/bpf/offload.c 	ondev = kzalloc(sizeof(*ondev), GFP_KERNEL);
ondev             602 kernel/bpf/offload.c 	if (!ondev)
ondev             605 kernel/bpf/offload.c 	ondev->netdev = netdev;
ondev             606 kernel/bpf/offload.c 	ondev->offdev = offdev;
ondev             607 kernel/bpf/offload.c 	INIT_LIST_HEAD(&ondev->progs);
ondev             608 kernel/bpf/offload.c 	INIT_LIST_HEAD(&ondev->maps);
ondev             611 kernel/bpf/offload.c 	err = rhashtable_insert_fast(&offdevs, &ondev->l, offdevs_params);
ondev             617 kernel/bpf/offload.c 	list_add(&ondev->offdev_netdevs, &offdev->netdevs);
ondev             623 kernel/bpf/offload.c 	kfree(ondev);
ondev             631 kernel/bpf/offload.c 	struct bpf_offload_netdev *ondev, *altdev;
ondev             638 kernel/bpf/offload.c 	ondev = rhashtable_lookup_fast(&offdevs, &netdev, offdevs_params);
ondev             639 kernel/bpf/offload.c 	if (WARN_ON(!ondev))
ondev             642 kernel/bpf/offload.c 	WARN_ON(rhashtable_remove_fast(&offdevs, &ondev->l, offdevs_params));
ondev             643 kernel/bpf/offload.c 	list_del(&ondev->offdev_netdevs);
ondev             650 kernel/bpf/offload.c 		list_for_each_entry(offload, &ondev->progs, offloads)
ondev             652 kernel/bpf/offload.c 		list_splice_init(&ondev->progs, &altdev->progs);
ondev             654 kernel/bpf/offload.c 		list_for_each_entry(offmap, &ondev->maps, offloads)
ondev             656 kernel/bpf/offload.c 		list_splice_init(&ondev->maps, &altdev->maps);
ondev             658 kernel/bpf/offload.c 		list_for_each_entry_safe(offload, ptmp, &ondev->progs, offloads)
ondev             660 kernel/bpf/offload.c 		list_for_each_entry_safe(offmap, mtmp, &ondev->maps, offloads)
ondev             664 kernel/bpf/offload.c 	WARN_ON(!list_empty(&ondev->progs));
ondev             665 kernel/bpf/offload.c 	WARN_ON(!list_empty(&ondev->maps));
ondev             666 kernel/bpf/offload.c 	kfree(ondev);