Lines Matching refs:query
1022 __u32 __user *prog_attach_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in __cgroup_bpf_query()
1023 bool effective_query = attr->query.query_flags & BPF_F_QUERY_EFFECTIVE; in __cgroup_bpf_query()
1024 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in __cgroup_bpf_query()
1025 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query()
1037 if (!effective_query && attr->query.prog_cnt && in __cgroup_bpf_query()
1064 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) in __cgroup_bpf_query()
1066 if (copy_to_user(&uattr->query.prog_cnt, &total_cnt, sizeof(total_cnt))) in __cgroup_bpf_query()
1068 if (attr->query.prog_cnt == 0 || !prog_ids || !total_cnt) in __cgroup_bpf_query()
1072 if (attr->query.prog_cnt < total_cnt) { in __cgroup_bpf_query()
1073 total_cnt = attr->query.prog_cnt; in __cgroup_bpf_query()
1323 cgrp = cgroup_get_from_fd(attr->query.target_fd); in cgroup_bpf_prog_query()