Home
last modified time | relevance | path

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

/kernel/bpf/
Dsyscall.c3921 u32 info_len = attr->info.info_len; in bpf_prog_get_info_by_fd() local
3927 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_prog_get_info_by_fd()
3930 info_len = min_t(u32, sizeof(info), info_len); in bpf_prog_get_info_by_fd()
3933 if (copy_from_user(&info, uinfo, info_len)) in bpf_prog_get_info_by_fd()
4195 if (copy_to_user(uinfo, &info, info_len) || in bpf_prog_get_info_by_fd()
4196 put_user(info_len, &uattr->info.info_len)) in bpf_prog_get_info_by_fd()
4209 u32 info_len = attr->info.info_len; in bpf_map_get_info_by_fd() local
4212 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_map_get_info_by_fd()
4215 info_len = min_t(u32, sizeof(info), info_len); in bpf_map_get_info_by_fd()
4240 if (copy_to_user(uinfo, &info, info_len) || in bpf_map_get_info_by_fd()
[all …]
Dbtf.c6979 uinfo_len = attr->info.info_len; in btf_get_info_by_fd()
7020 put_user(info_copy, &uattr->info.info_len)) in btf_get_info_by_fd()