prog_id 216 arch/s390/include/asm/fcx.h u64 prog_id; prog_id 333 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c xdp->prog_id = bp->xdp_prog ? bp->xdp_prog->aux->id : 0; prog_id 1915 drivers/net/ethernet/cavium/thunder/nicvf_main.c xdp->prog_id = nic->xdp_prog ? nic->xdp_prog->aux->id : 0; prog_id 1837 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c xdp->prog_id = priv->xdp_prog ? priv->xdp_prog->aux->id : 0; prog_id 12828 drivers/net/ethernet/intel/i40e/i40e_main.c xdp->prog_id = vsi->xdp_prog ? vsi->xdp_prog->aux->id : 0; prog_id 531 drivers/net/ethernet/intel/i40e/i40e_txrx.c union i40e_rx_desc *rx_desc, u8 prog_id) prog_id 8 drivers/net/ethernet/intel/i40e/i40e_txrx_common.h union i40e_rx_desc *rx_desc, u8 prog_id); prog_id 10308 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c xdp->prog_id = adapter->xdp_prog ? prog_id 4494 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c xdp->prog_id = adapter->xdp_prog ? prog_id 2884 drivers/net/ethernet/mellanox/mlx4/en_netdev.c u32 prog_id = 0; prog_id 2887 drivers/net/ethernet/mellanox/mlx4/en_netdev.c return prog_id; prog_id 2894 drivers/net/ethernet/mellanox/mlx4/en_netdev.c prog_id = xdp_prog->aux->id; prog_id 2897 drivers/net/ethernet/mellanox/mlx4/en_netdev.c return prog_id; prog_id 2906 drivers/net/ethernet/mellanox/mlx4/en_netdev.c xdp->prog_id = mlx4_xdp_query(dev); prog_id 4511 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u32 prog_id = 0; prog_id 4516 drivers/net/ethernet/mellanox/mlx5/core/en_main.c prog_id = xdp_prog->aux->id; prog_id 4519 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return prog_id; prog_id 4528 drivers/net/ethernet/mellanox/mlx5/core/en_main.c xdp->prog_id = mlx5e_xdp_query(dev); prog_id 1122 drivers/net/ethernet/qlogic/qede/qede_filter.c xdp->prog_id = edev->xdp_prog ? edev->xdp_prog->aux->id : 0; prog_id 1807 drivers/net/ethernet/socionext/netsec.c xdp->prog_id = priv->xdp_prog ? priv->xdp_prog->aux->id : 0; prog_id 1239 drivers/net/tun.c xdp->prog_id = tun_xdp_query(dev); prog_id 1155 drivers/net/veth.c xdp->prog_id = veth_xdp_query(dev); prog_id 2538 drivers/net/virtio_net.c xdp->prog_id = virtnet_xdp_query(dev); prog_id 307 drivers/scsi/lpfc/lpfc_init.c struct prog_id *prg; prog_id 318 drivers/scsi/lpfc/lpfc_init.c prg = (struct prog_id *) &prog_id_word; prog_id 891 include/linux/netdevice.h u32 prog_id; prog_id 485 include/linux/trace_events.h int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id, prog_id 523 include/linux/trace_events.h u32 *prog_id, u32 *fd_type, prog_id 36 include/trace/events/xdp.h __field(int, prog_id) prog_id 42 include/trace/events/xdp.h __entry->prog_id = xdp->aux->id; prog_id 48 include/trace/events/xdp.h __entry->prog_id, prog_id 92 include/trace/events/xdp.h __field(int, prog_id) prog_id 102 include/trace/events/xdp.h __entry->prog_id = xdp->aux->id; prog_id 112 include/trace/events/xdp.h __entry->prog_id, prog_id 148 include/trace/events/xdp.h __entry->prog_id, prog_id 163 include/trace/events/xdp.h __entry->prog_id, prog_id 462 include/uapi/linux/bpf.h __u32 prog_id; prog_id 508 include/uapi/linux/bpf.h __u32 prog_id; /* output: prod_id */ prog_id 609 kernel/bpf/arraymap.c u32 prog_id; prog_id 618 kernel/bpf/arraymap.c prog_id = prog_fd_array_sys_lookup_elem(ptr); prog_id 620 kernel/bpf/arraymap.c &prog_id, m); prog_id 2156 kernel/bpf/syscall.c #define BPF_PROG_GET_FD_BY_ID_LAST_FIELD prog_id prog_id 2161 kernel/bpf/syscall.c u32 id = attr->prog_id; prog_id 2717 kernel/bpf/syscall.c u32 prog_id, u32 fd_type, prog_id 2753 kernel/bpf/syscall.c if (put_user(prog_id, &uattr->task_fd_query.prog_id) || prog_id 2820 kernel/bpf/syscall.c u32 prog_id, fd_type; prog_id 2823 kernel/bpf/syscall.c err = bpf_get_perf_event_info(event, &prog_id, &fd_type, prog_id 2827 kernel/bpf/syscall.c err = bpf_task_fd_query_copy(attr, uattr, prog_id, prog_id 1411 kernel/trace/bpf_trace.c int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id, prog_id 1427 kernel/trace/bpf_trace.c *prog_id = prog->aux->id; prog_id 5094 net/core/dev.c xdp->prog_id = old ? old->aux->id : 0; prog_id 8323 net/core/dev.c return xdp.prog_id; prog_id 8360 net/core/dev.c if (xdp.prog_id) prog_id 8367 net/core/dev.c if (!ndo_bpf(dev, &xdp) && xdp.prog_id) prog_id 8407 net/core/dev.c u32 prog_id; prog_id 8414 net/core/dev.c prog_id = __dev_xdp_query(dev, bpf_op, query); prog_id 8415 net/core/dev.c if ((flags & XDP_FLAGS_UPDATE_IF_NOEXIST) && prog_id) { prog_id 8432 net/core/dev.c if (prog->aux->id && prog->aux->id == prog_id) { prog_id 77 net/core/flow_dissector.c u32 prog_id, prog_cnt = 0, flags = 0; prog_id 92 net/core/flow_dissector.c prog_id = attached->aux->id; prog_id 106 net/core/flow_dissector.c if (copy_to_user(prog_ids, &prog_id, sizeof(u32))) prog_id 1391 net/core/rtnetlink.c u32 *prog_id, u8 *mode, u8 tgt_mode, u32 attr, prog_id 1401 net/core/rtnetlink.c *prog_id = curr_id; prog_id 1417 net/core/rtnetlink.c u32 prog_id; prog_id 1425 net/core/rtnetlink.c prog_id = 0; prog_id 1427 net/core/rtnetlink.c err = rtnl_xdp_report_one(skb, dev, &prog_id, &mode, XDP_ATTACHED_SKB, prog_id 1431 net/core/rtnetlink.c err = rtnl_xdp_report_one(skb, dev, &prog_id, &mode, XDP_ATTACHED_DRV, prog_id 1435 net/core/rtnetlink.c err = rtnl_xdp_report_one(skb, dev, &prog_id, &mode, XDP_ATTACHED_HW, prog_id 1444 net/core/rtnetlink.c if (prog_id && mode != XDP_ATTACHED_MULTI) { prog_id 1445 net/core/rtnetlink.c err = nla_put_u32(skb, IFLA_XDP_PROG_ID, prog_id); prog_id 439 net/core/xdp.c bpf->prog_id = info->prog ? info->prog->aux->id : 0; prog_id 93 samples/bpf/task_fd_query_user.c __u32 len, prog_id, fd_type; prog_id 99 samples/bpf/task_fd_query_user.c &prog_id, &fd_type, &probe_offset, prog_id 122 samples/bpf/task_fd_query_user.c char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, prog_id 157 samples/bpf/task_fd_query_user.c prog_id, fd_type, probe_offset, probe_addr) < 0); prog_id 169 samples/bpf/task_fd_query_user.c __u32 prog_id, fd_type; prog_id 174 samples/bpf/task_fd_query_user.c buf, &buf_len, &prog_id, prog_id 222 samples/bpf/task_fd_query_user.c __u32 len, prog_id, fd_type; prog_id 264 samples/bpf/task_fd_query_user.c &prog_id, &fd_type, &probe_offset, prog_id 23 samples/bpf/xdp1_user.c static __u32 prog_id; prog_id 33 samples/bpf/xdp1_user.c if (prog_id == curr_prog_id) prog_id 159 samples/bpf/xdp1_user.c prog_id = info.id; prog_id 29 samples/bpf/xdp_adjust_tail_user.c static __u32 prog_id; prog_id 40 samples/bpf/xdp_adjust_tail_user.c if (prog_id == curr_prog_id) prog_id 178 samples/bpf/xdp_adjust_tail_user.c prog_id = info.id; prog_id 30 samples/bpf/xdp_monitor_kern.c int prog_id; // offset:8; size:4; signed:1; prog_id 100 samples/bpf/xdp_monitor_kern.c int prog_id; // offset:8; size:4; signed:1; prog_id 577 samples/bpf/xdp_redirect_cpu_kern.c int prog_id; // offset:8; size:4; signed:1; prog_id 632 samples/bpf/xdp_redirect_cpu_kern.c int prog_id; // offset:8; size:4; signed:1; prog_id 40 samples/bpf/xdp_redirect_cpu_user.c static __u32 prog_id; prog_id 88 samples/bpf/xdp_redirect_cpu_user.c if (prog_id == curr_prog_id) { prog_id 822 samples/bpf/xdp_redirect_cpu_user.c prog_id = info.id; prog_id 25 samples/bpf/xdp_redirect_map_user.c static __u32 prog_id; prog_id 39 samples/bpf/xdp_redirect_map_user.c if (prog_id == curr_prog_id) prog_id 188 samples/bpf/xdp_redirect_map_user.c prog_id = info.id; prog_id 25 samples/bpf/xdp_redirect_user.c static __u32 prog_id; prog_id 39 samples/bpf/xdp_redirect_user.c if (prog_id == curr_prog_id) prog_id 189 samples/bpf/xdp_redirect_user.c prog_id = info.id; prog_id 42 samples/bpf/xdp_router_ipv4_user.c __u32 prog_id = 0; prog_id 46 samples/bpf/xdp_router_ipv4_user.c if (bpf_get_link_xdp_id(ifindex_list[i], &prog_id, flags)) { prog_id 51 samples/bpf/xdp_router_ipv4_user.c if (prog_id_list[i] == prog_id) prog_id 53 samples/bpf/xdp_router_ipv4_user.c else if (!prog_id) prog_id 59 samples/bpf/xdp_router_ipv4_user.c prog_id = 0; prog_id 32 samples/bpf/xdp_rxq_info_user.c static __u32 prog_id; prog_id 69 samples/bpf/xdp_rxq_info_user.c if (prog_id == curr_prog_id) { prog_id 604 samples/bpf/xdp_rxq_info_user.c prog_id = info.id; prog_id 25 samples/bpf/xdp_sample_pkts_user.c static __u32 prog_id; prog_id 45 samples/bpf/xdp_sample_pkts_user.c prog_id = info.id; prog_id 60 samples/bpf/xdp_sample_pkts_user.c if (prog_id == curr_prog_id) { prog_id 28 samples/bpf/xdp_tx_iptunnel_user.c static __u32 prog_id; prog_id 39 samples/bpf/xdp_tx_iptunnel_user.c if (prog_id == curr_prog_id) prog_id 304 samples/bpf/xdp_tx_iptunnel_user.c prog_id = info.id; prog_id 78 samples/bpf/xdpsock_user.c static __u32 prog_id; prog_id 188 samples/bpf/xdpsock_user.c if (prog_id == curr_prog_id) prog_id 333 samples/bpf/xdpsock_user.c ret = bpf_get_link_xdp_id(opt_ifindex, &prog_id, opt_xdp_flags); prog_id 25 tools/bpf/bpftool/perf.c __u32 len, prog_id, fd_type; prog_id 44 tools/bpf/bpftool/perf.c bpf_task_fd_query(getpid(), fd, 0, buf, &len, &prog_id, prog_id 63 tools/bpf/bpftool/perf.c static void print_perf_json(int pid, int fd, __u32 prog_id, __u32 fd_type, prog_id 69 tools/bpf/bpftool/perf.c jsonw_uint_field(json_wtr, "prog_id", prog_id); prog_id 113 tools/bpf/bpftool/perf.c static void print_perf_plain(int pid, int fd, __u32 prog_id, __u32 fd_type, prog_id 116 tools/bpf/bpftool/perf.c printf("pid %d fd %d: prog_id %u ", pid, fd, prog_id); prog_id 154 tools/bpf/bpftool/perf.c __u32 len, prog_id, fd_type; prog_id 196 tools/bpf/bpftool/perf.c err = bpf_task_fd_query(pid, fd, 0, buf, &len, &prog_id, &fd_type, prog_id 202 tools/bpf/bpftool/perf.c print_perf_json(pid, fd, prog_id, fd_type, buf, probe_offset, prog_id 205 tools/bpf/bpftool/perf.c print_perf_plain(pid, fd, prog_id, fd_type, buf, probe_offset, prog_id 462 tools/include/uapi/linux/bpf.h __u32 prog_id; prog_id 508 tools/include/uapi/linux/bpf.h __u32 prog_id; /* output: prod_id */ prog_id 606 tools/lib/bpf/bpf.c attr.prog_id = id; prog_id 685 tools/lib/bpf/bpf.c __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, prog_id 699 tools/lib/bpf/bpf.c *prog_id = attr.task_fd_query.prog_id; prog_id 171 tools/lib/bpf/bpf.h __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, prog_id 360 tools/lib/bpf/libbpf.h LIBBPF_API int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags); prog_id 253 tools/lib/bpf/netlink.c int bpf_get_link_xdp_id(int ifindex, __u32 *prog_id, __u32 flags) prog_id 278 tools/lib/bpf/netlink.c *prog_id = xdp_id.id; prog_id 519 tools/lib/bpf/xsk.c __u32 prog_id = 0; prog_id 522 tools/lib/bpf/xsk.c err = bpf_get_link_xdp_id(xsk->ifindex, &prog_id, prog_id 527 tools/lib/bpf/xsk.c if (!prog_id) { prog_id 538 tools/lib/bpf/xsk.c xsk->prog_fd = bpf_prog_get_fd_by_id(prog_id); prog_id 62 tools/perf/tests/bpf.c enum test_llvm__testcase prog_id; prog_id 72 tools/perf/tests/bpf.c .prog_id = LLVM_TESTCASE_BASE, prog_id 81 tools/perf/tests/bpf.c .prog_id = LLVM_TESTCASE_BASE, prog_id 92 tools/perf/tests/bpf.c .prog_id = LLVM_TESTCASE_BPF_PROLOGUE, prog_id 102 tools/perf/tests/bpf.c .prog_id = LLVM_TESTCASE_BPF_RELOCATION, prog_id 232 tools/perf/tests/bpf.c bpf_testcase_table[idx].prog_id, prog_id 19 tools/perf/util/env.c __u32 prog_id = info_node->info_linear->info.id; prog_id 30 tools/perf/util/env.c if (prog_id < node->info_linear->info.id) { prog_id 32 tools/perf/util/env.c } else if (prog_id > node->info_linear->info.id) { prog_id 35 tools/perf/util/env.c pr_debug("duplicated bpf prog info %u\n", prog_id); prog_id 48 tools/perf/util/env.c __u32 prog_id) prog_id 58 tools/perf/util/env.c if (prog_id < node->info_linear->info.id) prog_id 60 tools/perf/util/env.c else if (prog_id > node->info_linear->info.id) prog_id 119 tools/perf/util/env.h __u32 prog_id); prog_id 8 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c __u32 len, prog_id, fd_type; prog_id 24 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, prog_id 38 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, prog_id 50 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c err = bpf_task_fd_query(getpid(), efd, 0, 0, &len, &prog_id, prog_id 62 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, prog_id 11 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c __u32 len, prog_id, fd_type; prog_id 54 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c err = bpf_task_fd_query(getpid(), pmu_fd, 0, buf, &len, &prog_id, prog_id 80 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c int get_map_fd_by_prog_id(int prog_id) prog_id 88 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c prog_fd = bpf_prog_get_fd_by_id(prog_id); prog_id 90 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c log_err("Failed to get fd by prog id %d", prog_id); prog_id 116 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c int check_ancestor_cgroup_ids(int prog_id) prog_id 128 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c map_fd = get_map_fd_by_prog_id(prog_id); prog_id 81 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c static int get_map_fd_by_prog_id(int prog_id, bool *xdp) prog_id 89 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c prog_fd = bpf_prog_get_fd_by_id(prog_id); prog_id 91 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c log_err("Failed to get fd by prog id %d", prog_id);