Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-sysfs.c22 return sprintf(buf, "%d\n", csdev->nr_links); in nr_links_show()
24 static DEVICE_ATTR_RO(nr_links);
99 info->orig->nr_links++; in coresight_add_sysfs_link()
100 info->target->nr_links++; in coresight_add_sysfs_link()
123 info->orig->nr_links--; in coresight_remove_sysfs_link()
124 info->target->nr_links--; in coresight_remove_sysfs_link()
/linux-6.6.21/Documentation/trace/coresight/
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
Dcoresight-ect.rst93 links can be 0 to ``nr_trigger_cons``. Actual number given by ``nr_links``
/linux-6.6.21/arch/x86/net/
Dbpf_jit_comp.c2250 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf()
2271 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf_mod_ret()
2502 if (fentry->nr_links) in arch_prepare_bpf_trampoline()
2507 if (fmod_ret->nr_links) { in arch_prepare_bpf_trampoline()
2508 branches = kcalloc(fmod_ret->nr_links, sizeof(u8 *), in arch_prepare_bpf_trampoline()
2547 if (fmod_ret->nr_links) { in arch_prepare_bpf_trampoline()
2557 for (i = 0; i < fmod_ret->nr_links; i++) in arch_prepare_bpf_trampoline()
2562 if (fexit->nr_links) in arch_prepare_bpf_trampoline()
/linux-6.6.21/kernel/bpf/
Dtrampoline.c242 tlinks[kind].nr_links = tr->progs_cnt[kind]; in bpf_trampoline_get_progs()
421 if (tlinks[BPF_TRAMP_FEXIT].nr_links || in bpf_trampoline_update()
422 tlinks[BPF_TRAMP_MODIFY_RETURN].nr_links) { in bpf_trampoline_update()
Dbpf_struct_ops.c360 tlinks[BPF_TRAMP_FENTRY].nr_links = 1; in bpf_struct_ops_prepare_trampoline()
/linux-6.6.21/arch/riscv/net/
Dbpf_jit_comp64.c930 for (i = 0; i < fentry->nr_links; i++) { in __arch_prepare_bpf_trampoline()
937 if (fmod_ret->nr_links) { in __arch_prepare_bpf_trampoline()
938 branches_off = kcalloc(fmod_ret->nr_links, sizeof(int), GFP_KERNEL); in __arch_prepare_bpf_trampoline()
944 for (i = 0; i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
970 for (i = 0; ctx->insns && i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
976 for (i = 0; i < fexit->nr_links; i++) { in __arch_prepare_bpf_trampoline()
/linux-6.6.21/arch/arm64/net/
Dbpf_jit_comp.c1784 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf_mod_ret()
1949 for (i = 0; i < fentry->nr_links; i++) in prepare_trampoline()
1954 if (fmod_ret->nr_links) { in prepare_trampoline()
1955 branches = kcalloc(fmod_ret->nr_links, sizeof(__le32 *), in prepare_trampoline()
1978 for (i = 0; i < fmod_ret->nr_links && ctx->image != NULL; i++) { in prepare_trampoline()
1983 for (i = 0; i < fexit->nr_links; i++) in prepare_trampoline()
/linux-6.6.21/arch/s390/net/
Dbpf_jit_comp.c2376 for (i = 0; i < fentry->nr_links; i++) in __arch_prepare_bpf_trampoline()
2381 if (fmod_ret->nr_links) { in __arch_prepare_bpf_trampoline()
2390 for (i = 0; i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
2445 for (i = 0; i < fexit->nr_links; i++) in __arch_prepare_bpf_trampoline()
/linux-6.6.21/include/linux/
Dcoresight.h260 int nr_links; member
Dbpf.h1063 int nr_links; member
/linux-6.6.21/fs/ntfs/
Dinode.c434 int nr_links, err; in ntfs_is_extended_system_file() local
440 nr_links = le16_to_cpu(ctx->mrec->link_count); in ntfs_is_extended_system_file()
449 nr_links--; in ntfs_is_extended_system_file()
489 if (unlikely(nr_links)) { in ntfs_is_extended_system_file()