Home
last modified time | relevance | path

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

/linux/drivers/hwtracing/coresight/
H A Dcoresight-sysfs.c414 return sprintf(buf, "%d\n", csdev->nr_links); in nr_links_show()
416 static DEVICE_ATTR_RO(nr_links);
491 info->orig->nr_links++; in coresight_add_sysfs_link()
492 info->target->nr_links++; in coresight_add_sysfs_link()
515 info->orig->nr_links--; in coresight_remove_sysfs_link()
516 info->target->nr_links--; in coresight_remove_sysfs_link()
/linux/Documentation/trace/coresight/
H A Dcoresight.rst252 ``nr_links`` attribute detailing the number of links in the directory.
259 <file details> nr_links
269 <file details> nr_links
277 <file details> nr_links
286 <file details> nr_links
294 <file details> nr_links
301 <file details> nr_links
310 <file details> nr_links
323 <file details> nr_links
H A Dcoresight-ect.rst93 links can be 0 to ``nr_trigger_cons``. Actual number given by ``nr_links``
/linux/kernel/bpf/
H A Dtrampoline.c242 tlinks[kind].nr_links = tr->progs_cnt[kind]; in bpf_trampoline_get_progs()
415 if (tlinks[BPF_TRAMP_FEXIT].nr_links || in bpf_trampoline_update()
416 tlinks[BPF_TRAMP_MODIFY_RETURN].nr_links) { in bpf_trampoline_update()
H A Dbpf_struct_ops.c555 tlinks[BPF_TRAMP_FENTRY].nr_links = 1; in bpf_struct_ops_prepare_trampoline()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c2759 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf()
2781 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf_mod_ret()
3035 if (fentry->nr_links) { in __arch_prepare_bpf_trampoline()
3041 if (fmod_ret->nr_links) { in __arch_prepare_bpf_trampoline()
3042 branches = kcalloc(fmod_ret->nr_links, sizeof(u8 *), in __arch_prepare_bpf_trampoline()
3081 if (fmod_ret->nr_links) { in __arch_prepare_bpf_trampoline()
3091 for (i = 0; i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
3097 if (fexit->nr_links) { in __arch_prepare_bpf_trampoline()
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c957 for (i = 0; i < fentry->nr_links; i++) { in __arch_prepare_bpf_trampoline()
964 if (fmod_ret->nr_links) { in __arch_prepare_bpf_trampoline()
965 branches_off = kcalloc(fmod_ret->nr_links, sizeof(int), GFP_KERNEL); in __arch_prepare_bpf_trampoline()
971 for (i = 0; i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
998 for (i = 0; ctx->insns && i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
1004 for (i = 0; i < fexit->nr_links; i++) { in __arch_prepare_bpf_trampoline()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2062 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf_mod_ret()
2231 for (i = 0; i < fentry->nr_links; i++) in prepare_trampoline()
2236 if (fmod_ret->nr_links) { in prepare_trampoline()
2237 branches = kcalloc(fmod_ret->nr_links, sizeof(__le32 *), in prepare_trampoline()
2260 for (i = 0; i < fmod_ret->nr_links && ctx->image != NULL; i++) { in prepare_trampoline()
2265 for (i = 0; i < fexit->nr_links; i++) in prepare_trampoline()
/linux/include/linux/
H A Dcoresight.h294 int nr_links; member
H A Dbpf.h1119 int nr_links; member
/linux/arch/s390/net/
H A Dbpf_jit_comp.c2740 for (i = 0; i < fentry->nr_links; i++) in __arch_prepare_bpf_trampoline()
2745 if (fmod_ret->nr_links) { in __arch_prepare_bpf_trampoline()
2754 for (i = 0; i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
2809 for (i = 0; i < fexit->nr_links; i++) in __arch_prepare_bpf_trampoline()