Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/hwtracing/coresight/
A 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.3-rc2/Documentation/trace/coresight/
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
A Dcoresight-ect.rst93 links can be 0 to ``nr_trigger_cons``. Actual number given by ``nr_links``
/linux-6.3-rc2/arch/x86/net/
A Dbpf_jit_comp.c2028 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf()
2049 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf_mod_ret()
2245 if (fentry->nr_links) in arch_prepare_bpf_trampoline()
2250 if (fmod_ret->nr_links) { in arch_prepare_bpf_trampoline()
2251 branches = kcalloc(fmod_ret->nr_links, sizeof(u8 *), in arch_prepare_bpf_trampoline()
2283 if (fmod_ret->nr_links) { in arch_prepare_bpf_trampoline()
2293 for (i = 0; i < fmod_ret->nr_links; i++) in arch_prepare_bpf_trampoline()
2298 if (fexit->nr_links) in arch_prepare_bpf_trampoline()
/linux-6.3-rc2/kernel/bpf/
A Dtrampoline.c270 tlinks[kind].nr_links = tr->progs_cnt[kind]; in bpf_trampoline_get_progs()
445 if (tlinks[BPF_TRAMP_FEXIT].nr_links || in bpf_trampoline_update()
446 tlinks[BPF_TRAMP_MODIFY_RETURN].nr_links) { in bpf_trampoline_update()
A Dbpf_struct_ops.c343 tlinks[BPF_TRAMP_FENTRY].nr_links = 1; in bpf_struct_ops_prepare_trampoline()
/linux-6.3-rc2/arch/riscv/net/
A Dbpf_jit_comp64.c902 for (i = 0; i < fentry->nr_links; i++) { in __arch_prepare_bpf_trampoline()
909 if (fmod_ret->nr_links) { in __arch_prepare_bpf_trampoline()
910 branches_off = kcalloc(fmod_ret->nr_links, sizeof(int), GFP_KERNEL); in __arch_prepare_bpf_trampoline()
916 for (i = 0; i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
941 for (i = 0; ctx->insns && i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
947 for (i = 0; i < fexit->nr_links; i++) { in __arch_prepare_bpf_trampoline()
/linux-6.3-rc2/arch/arm64/net/
A Dbpf_jit_comp.c1719 for (i = 0; i < tl->nr_links; i++) { in invoke_bpf_mod_ret()
1884 for (i = 0; i < fentry->nr_links; i++) in prepare_trampoline()
1889 if (fmod_ret->nr_links) { in prepare_trampoline()
1890 branches = kcalloc(fmod_ret->nr_links, sizeof(__le32 *), in prepare_trampoline()
1912 for (i = 0; i < fmod_ret->nr_links && ctx->image != NULL; i++) { in prepare_trampoline()
1917 for (i = 0; i < fexit->nr_links; i++) in prepare_trampoline()
/linux-6.3-rc2/include/linux/
A Dcoresight.h241 int nr_links; member
A Dbpf.h988 int nr_links; member
/linux-6.3-rc2/arch/s390/net/
A Dbpf_jit_comp.c2346 for (i = 0; i < fentry->nr_links; i++) in __arch_prepare_bpf_trampoline()
2351 if (fmod_ret->nr_links) { in __arch_prepare_bpf_trampoline()
2360 for (i = 0; i < fmod_ret->nr_links; i++) { in __arch_prepare_bpf_trampoline()
2413 for (i = 0; i < fexit->nr_links; i++) in __arch_prepare_bpf_trampoline()
/linux-6.3-rc2/fs/ntfs/
A 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()

Completed in 46 milliseconds