prog_ids 296 drivers/media/rc/bpf-lirc.c __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); prog_ids 331 drivers/media/rc/bpf-lirc.c if (attr->query.prog_cnt != 0 && prog_ids && cnt) prog_ids 332 drivers/media/rc/bpf-lirc.c ret = bpf_prog_array_copy_to_user(progs, prog_ids, cnt); prog_ids 526 include/linux/bpf.h __u32 __user *prog_ids, u32 cnt); prog_ids 531 include/linux/bpf.h u32 *prog_ids, u32 request_cnt, prog_ids 481 include/uapi/linux/bpf.h __aligned_u64 prog_ids; prog_ids 504 kernel/bpf/cgroup.c __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); prog_ids 523 kernel/bpf/cgroup.c if (attr->query.prog_cnt == 0 || !prog_ids || !cnt) prog_ids 532 kernel/bpf/cgroup.c return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); prog_ids 540 kernel/bpf/cgroup.c if (copy_to_user(prog_ids + i, &id, sizeof(id))) prog_ids 1826 kernel/bpf/core.c u32 *prog_ids, prog_ids 1835 kernel/bpf/core.c prog_ids[i] = item->prog->aux->id; prog_ids 1846 kernel/bpf/core.c __u32 __user *prog_ids, u32 cnt) prog_ids 1862 kernel/bpf/core.c err = copy_to_user(prog_ids, ids, cnt * sizeof(u32)); prog_ids 1948 kernel/bpf/core.c u32 *prog_ids, u32 request_cnt, prog_ids 1963 kernel/bpf/core.c return bpf_prog_array_copy_core(array, prog_ids, request_cnt) ? -ENOSPC prog_ids 76 net/core/flow_dissector.c __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); prog_ids 103 net/core/flow_dissector.c if (!attr->query.prog_cnt || !prog_ids || !prog_cnt) prog_ids 106 net/core/flow_dissector.c if (copy_to_user(prog_ids, &prog_id, sizeof(u32))) prog_ids 143 tools/bpf/bpftool/cgroup.c __u32 prog_ids[1024] = {0}; prog_ids 149 tools/bpf/bpftool/cgroup.c prog_cnt = ARRAY_SIZE(prog_ids); prog_ids 151 tools/bpf/bpftool/cgroup.c prog_ids, &prog_cnt); prog_ids 174 tools/bpf/bpftool/cgroup.c show_bpf_prog(prog_ids[iter], attach_type_strings[type], prog_ids 222 tools/bpf/bpftool/net.c __u32 prog_ids[1]; prog_ids 233 tools/bpf/bpftool/net.c prog_cnt = ARRAY_SIZE(prog_ids); prog_ids 235 tools/bpf/bpftool/net.c &attach_flags, prog_ids, &prog_cnt); prog_ids 250 tools/bpf/bpftool/net.c attach_info->flow_dissector_id = prog_ids[0]; prog_ids 481 tools/include/uapi/linux/bpf.h __aligned_u64 prog_ids; prog_ids 500 tools/lib/bpf/bpf.c __u32 *attach_flags, __u32 *prog_ids, __u32 *prog_cnt) prog_ids 510 tools/lib/bpf/bpf.c attr.query.prog_ids = ptr_to_u64(prog_ids); prog_ids 166 tools/lib/bpf/bpf.h __u32 *prog_ids, __u32 *prog_cnt); prog_ids 291 tools/testing/selftests/bpf/test_cgroup_attach.c __u32 prog_ids[4], prog_cnt = 0, attach_flags, saved_prog_id; prog_ids 372 tools/testing/selftests/bpf/test_cgroup_attach.c &attach_flags, prog_ids, &prog_cnt) == 0); prog_ids 375 tools/testing/selftests/bpf/test_cgroup_attach.c saved_prog_id = prog_ids[0]; prog_ids 377 tools/testing/selftests/bpf/test_cgroup_attach.c prog_ids[0] = 0; prog_ids 380 tools/testing/selftests/bpf/test_cgroup_attach.c &attach_flags, prog_ids, &prog_cnt) == -1 && prog_ids 384 tools/testing/selftests/bpf/test_cgroup_attach.c assert(prog_ids[0] == saved_prog_id); prog_ids 386 tools/testing/selftests/bpf/test_cgroup_attach.c prog_ids[0] = 0; prog_ids 388 tools/testing/selftests/bpf/test_cgroup_attach.c NULL, prog_ids, &prog_cnt) == 0); prog_ids 390 tools/testing/selftests/bpf/test_cgroup_attach.c assert(prog_ids[0] == saved_prog_id); prog_ids 432 tools/testing/selftests/bpf/test_cgroup_attach.c &attach_flags, prog_ids, &prog_cnt) == 0); prog_ids 436 tools/testing/selftests/bpf/test_cgroup_attach.c NULL, prog_ids, &prog_cnt) == 0); prog_ids 463 tools/testing/selftests/bpf/test_cgroup_attach.c __u32 prog_ids[2] = {0}; prog_ids 495 tools/testing/selftests/bpf/test_cgroup_attach.c prog_ids, &prog_cnt) == 0); prog_ids 518 tools/testing/selftests/bpf/test_cgroup_attach.c for (i = 0; i < ARRAY_SIZE(prog_ids); i++) { prog_ids 520 tools/testing/selftests/bpf/test_cgroup_attach.c int fd = bpf_prog_get_fd_by_id(prog_ids[i]); prog_ids 54 tools/testing/selftests/bpf/test_lirc_mode2_user.c u32 prog_ids[10], prog_flags[10], prog_cnt; prog_ids 88 tools/testing/selftests/bpf/test_lirc_mode2_user.c ret = bpf_prog_query(lircfd, BPF_LIRC_MODE2, 0, prog_flags, prog_ids, prog_ids 156 tools/testing/selftests/bpf/test_lirc_mode2_user.c ret = bpf_prog_query(lircfd, BPF_LIRC_MODE2, 0, prog_flags, prog_ids,