Lines Matching refs:cookies
2512 u64 *cookies; member
2601 kvfree(kmulti_link->cookies); in bpf_kprobe_multi_link_dealloc()
2652 cookie_a = link->cookies + (addr_a - link->addrs); in bpf_kprobe_multi_cookie_swap()
2653 cookie_b = link->cookies + (addr_b - link->addrs); in bpf_kprobe_multi_cookie_swap()
2685 if (!link->cookies) in bpf_kprobe_multi_cookie()
2692 cookie = link->cookies + (addr - link->addrs); in bpf_kprobe_multi_cookie()
2766 u64 *cookies; member
2777 if (data->cookies) { in symbols_swap_r()
2780 cookie_a = data->cookies + (name_a - data->funcs); in symbols_swap_r()
2781 cookie_b = data->cookies + (name_b - data->funcs); in symbols_swap_r()
2878 u64 *cookies = NULL; in bpf_kprobe_multi_link_attach() local
2909 ucookies = u64_to_user_ptr(attr->link_create.kprobe_multi.cookies); in bpf_kprobe_multi_link_attach()
2911 cookies = kvmalloc_array(cnt, sizeof(*addrs), GFP_KERNEL); in bpf_kprobe_multi_link_attach()
2912 if (!cookies) { in bpf_kprobe_multi_link_attach()
2916 if (copy_from_user(cookies, ucookies, size)) { in bpf_kprobe_multi_link_attach()
2929 .cookies = cookies, in bpf_kprobe_multi_link_attach()
2937 if (cookies) in bpf_kprobe_multi_link_attach()
2973 link->cookies = cookies; in bpf_kprobe_multi_link_attach()
2977 if (cookies) { in bpf_kprobe_multi_link_attach()
3009 kvfree(cookies); in bpf_kprobe_multi_link_attach()
3210 ucookies = u64_to_user_ptr(attr->link_create.uprobe_multi.cookies); in bpf_uprobe_multi_link_attach()