• Home
  • Raw
  • Download

Lines Matching refs:ulen

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()
3985 ulen = info.xlated_prog_len; in bpf_prog_get_info_by_fd()
3987 if (info.xlated_prog_len && ulen) { in bpf_prog_get_info_by_fd()
3999 ulen = min_t(u32, info.xlated_prog_len, ulen); in bpf_prog_get_info_by_fd()
4000 fault = copy_to_user(uinsns, insns_sanitized, ulen); in bpf_prog_get_info_by_fd()
4017 ulen = info.jited_prog_len; in bpf_prog_get_info_by_fd()
4028 if (info.jited_prog_len && ulen) { in bpf_prog_get_info_by_fd()
4031 ulen = min_t(u32, info.jited_prog_len, ulen); in bpf_prog_get_info_by_fd()
4040 free = ulen; in bpf_prog_get_info_by_fd()
4053 if (copy_to_user(uinsns, prog->bpf_func, ulen)) in bpf_prog_get_info_by_fd()
4061 ulen = info.nr_jited_ksyms; in bpf_prog_get_info_by_fd()
4063 if (ulen) { in bpf_prog_get_info_by_fd()
4072 ulen = min_t(u32, info.nr_jited_ksyms, ulen); in bpf_prog_get_info_by_fd()
4075 for (i = 0; i < ulen; i++) { in bpf_prog_get_info_by_fd()
4092 ulen = info.nr_jited_func_lens; in bpf_prog_get_info_by_fd()
4094 if (ulen) { in bpf_prog_get_info_by_fd()
4100 ulen = min_t(u32, info.nr_jited_func_lens, ulen); in bpf_prog_get_info_by_fd()
4103 for (i = 0; i < ulen; i++) { in bpf_prog_get_info_by_fd()
4125 ulen = info.nr_func_info; in bpf_prog_get_info_by_fd()
4127 if (info.nr_func_info && ulen) { in bpf_prog_get_info_by_fd()
4131 ulen = min_t(u32, info.nr_func_info, ulen); in bpf_prog_get_info_by_fd()
4133 info.func_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
4137 ulen = info.nr_line_info; in bpf_prog_get_info_by_fd()
4139 if (info.nr_line_info && ulen) { in bpf_prog_get_info_by_fd()
4143 ulen = min_t(u32, info.nr_line_info, ulen); in bpf_prog_get_info_by_fd()
4145 info.line_info_rec_size * ulen)) in bpf_prog_get_info_by_fd()
4149 ulen = info.nr_jited_line_info; in bpf_prog_get_info_by_fd()
4154 if (info.nr_jited_line_info && ulen) { in bpf_prog_get_info_by_fd()
4161 ulen = min_t(u32, info.nr_jited_line_info, ulen); in bpf_prog_get_info_by_fd()
4162 for (i = 0; i < ulen; i++) { in bpf_prog_get_info_by_fd()
4172 ulen = info.nr_prog_tags; in bpf_prog_get_info_by_fd()
4174 if (ulen) { in bpf_prog_get_info_by_fd()
4179 ulen = min_t(u32, info.nr_prog_tags, ulen); in bpf_prog_get_info_by_fd()
4181 for (i = 0; i < ulen; i++) { in bpf_prog_get_info_by_fd()