Searched refs:ulen (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
D | syscall.c | 3185 u32 ulen = info->raw_tracepoint.tp_name_len; in bpf_raw_tp_link_fill_link_info() local 3188 if (!ulen ^ !ubuf) in bpf_raw_tp_link_fill_link_info() 3196 if (ulen >= tp_len + 1) { in bpf_raw_tp_link_fill_link_info() 3202 if (copy_to_user(ubuf, tp_name, ulen - 1)) in bpf_raw_tp_link_fill_link_info() 3204 if (put_user(zero, ubuf + ulen - 1)) in bpf_raw_tp_link_fill_link_info() 3924 u32 ulen; in bpf_prog_get_info_by_fd() local 3947 ulen = info.nr_map_ids; in bpf_prog_get_info_by_fd() 3949 ulen = min_t(u32, info.nr_map_ids, ulen); in bpf_prog_get_info_by_fd() 3950 if (ulen) { in bpf_prog_get_info_by_fd() 3954 for (i = 0; i < ulen; i++) in bpf_prog_get_info_by_fd() [all …]
|
D | offload.c | 303 u32 ulen; in bpf_prog_offload_info_fill() local 319 ulen = info->jited_prog_len; in bpf_prog_offload_info_fill() 321 if (info->jited_prog_len && ulen) { in bpf_prog_offload_info_fill() 323 ulen = min_t(u32, info->jited_prog_len, ulen); in bpf_prog_offload_info_fill() 324 if (copy_to_user(uinsns, aux->offload->jited_image, ulen)) { in bpf_prog_offload_info_fill()
|
D | bpf_iter.c | 461 u32 ulen = info->iter.target_name_len; in bpf_iter_link_fill_link_info() local 465 if (!ulen ^ !ubuf) in bpf_iter_link_fill_link_info() 473 if (ulen >= target_len + 1) { in bpf_iter_link_fill_link_info() 479 if (copy_to_user(ubuf, target_name, ulen - 1)) in bpf_iter_link_fill_link_info() 481 if (put_user(zero, ubuf + ulen - 1)) in bpf_iter_link_fill_link_info()
|