Lines Matching refs:query
979 const size_t attr_sz = offsetofend(union bpf_attr, query); in bpf_prog_query_opts()
987 attr.query.target_fd = target; in bpf_prog_query_opts()
988 attr.query.attach_type = type; in bpf_prog_query_opts()
989 attr.query.query_flags = OPTS_GET(opts, query_flags, 0); in bpf_prog_query_opts()
990 attr.query.count = OPTS_GET(opts, count, 0); in bpf_prog_query_opts()
991 attr.query.prog_ids = ptr_to_u64(OPTS_GET(opts, prog_ids, NULL)); in bpf_prog_query_opts()
992 attr.query.link_ids = ptr_to_u64(OPTS_GET(opts, link_ids, NULL)); in bpf_prog_query_opts()
993 attr.query.prog_attach_flags = ptr_to_u64(OPTS_GET(opts, prog_attach_flags, NULL)); in bpf_prog_query_opts()
994 attr.query.link_attach_flags = ptr_to_u64(OPTS_GET(opts, link_attach_flags, NULL)); in bpf_prog_query_opts()
998 OPTS_SET(opts, attach_flags, attr.query.attach_flags); in bpf_prog_query_opts()
999 OPTS_SET(opts, revision, attr.query.revision); in bpf_prog_query_opts()
1000 OPTS_SET(opts, count, attr.query.count); in bpf_prog_query_opts()