Home
last modified time | relevance | path

Searched refs:prog_ids (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dcgroup.c501 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in __cgroup_bpf_query() local
520 if (attr->query.prog_cnt == 0 || !prog_ids || !cnt) in __cgroup_bpf_query()
529 return bpf_prog_array_copy_to_user(effective, prog_ids, cnt); in __cgroup_bpf_query()
537 if (copy_to_user(prog_ids + i, &id, sizeof(id))) in __cgroup_bpf_query()
Dcore.c1835 u32 *prog_ids, in bpf_prog_array_copy_core() argument
1844 prog_ids[i] = item->prog->aux->id; in bpf_prog_array_copy_core()
1855 __u32 __user *prog_ids, u32 cnt) in bpf_prog_array_copy_to_user() argument
1871 err = copy_to_user(prog_ids, ids, cnt * sizeof(u32)); in bpf_prog_array_copy_to_user()
1957 u32 *prog_ids, u32 request_cnt, in bpf_prog_array_copy_info() argument
1972 return bpf_prog_array_copy_core(array, prog_ids, request_cnt) ? -ENOSPC in bpf_prog_array_copy_info()