Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/bpf/
Dbtf.c7743 u32 uinfo_len, uname_len, name_len; in btf_get_info_by_fd() local
7764 uname_len = info.name_len; in btf_get_info_by_fd()
7765 if (!uname ^ !uname_len) in btf_get_info_by_fd()
7772 if (uname_len >= name_len + 1) { in btf_get_info_by_fd()
7778 if (copy_to_user(uname, btf->name, uname_len - 1)) in btf_get_info_by_fd()
7780 if (put_user(zero, uname + uname_len - 1)) in btf_get_info_by_fd()