Home
last modified time | relevance | path

Searched refs:linkage (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Dlinkage.h152 #define SYM_ENTRY(name, linkage, align...) \
153 linkage(name) ASM_NL \
160 #define SYM_START(name, linkage, align...) \
161 SYM_ENTRY(name, linkage, align)
191 #define SYM_INNER_LABEL_ALIGN(name, linkage) \
193 SYM_ENTRY(name, linkage, SYM_A_ALIGN)
198 #define SYM_INNER_LABEL(name, linkage) \
200 SYM_ENTRY(name, linkage, SYM_A_NONE)
333 #define SYM_DATA_END_LABEL(name, linkage, label) \
334 linkage(label) ASM_NL \
/kernel/linux/linux-5.10/tools/perf/util/include/linux/
Dlinkage.h37 #define SYM_ENTRY(name, linkage, align...) \ argument
38 linkage(name) ASM_NL \
45 #define SYM_START(name, linkage, align...) \ argument
46 SYM_ENTRY(name, linkage, align)
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dbtf.c67 static const char *btf_var_linkage_str(__u32 linkage) in btf_var_linkage_str() argument
69 switch (linkage) { in btf_var_linkage_str()
248 const char *linkage = btf_func_linkage_str(t); in dump_btf_type() local
252 jsonw_string_field(w, "linkage", linkage); in dump_btf_type()
254 printf(" type_id=%u linkage=%s", t->type, linkage); in dump_btf_type()
289 const char *linkage; in dump_btf_type() local
291 linkage = btf_var_linkage_str(v->linkage); in dump_btf_type()
295 jsonw_string_field(w, "linkage", linkage); in dump_btf_type()
297 printf(" type_id=%u, linkage=%s", t->type, linkage); in dump_btf_type()
Dbtf_dumper.c652 if (var->linkage == BTF_VAR_STATIC) in __btf_dumper_type_only()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_btf.h34 #define BTF_VAR_ENC(name, type, linkage) \ argument
35 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), type), (linkage)
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-stm_source6 stm_source device linkage to stm device, where its tracing data
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst168 [20] VAR 'struct_global_var' type_id=4, linkage=global-alloc
169 [21] VAR 'global_var' type_id=3, linkage=global-alloc
170 [22] VAR 'my_func.static_var' type_id=3, linkage=static
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbtf.h103 __u32 linkage; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbtf.h159 __u32 linkage; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbtf.h159 __u32 linkage; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c95 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_linkage"); in test_btf_endian()
Dbtf_write.c225 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_type"); in test_btf_write()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.h116 enum btf_func_linkage linkage, int proto_type_id);
121 LIBBPF_API int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id);
Dbtf.c344 btf_var(t)->linkage = bswap_32(btf_var(t)->linkage); in btf_bswap_type_rest()
1049 if (var->linkage == BTF_VAR_STATIC) in btf_fixup_datasec()
2072 enum btf_func_linkage linkage, int proto_type_id) in btf__add_func() argument
2078 if (linkage != BTF_FUNC_STATIC && linkage != BTF_FUNC_GLOBAL && in btf__add_func()
2079 linkage != BTF_FUNC_EXTERN) in btf__add_func()
2086 t->info = btf_type_info(BTF_KIND_FUNC, linkage, 0); in btf__add_func()
2197 int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id) in btf__add_var() argument
2206 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()
2207 linkage != BTF_VAR_GLOBAL_EXTERN) in btf__add_var()
2230 v->linkage = linkage; in btf__add_var()
Dlibbpf.c2245 if (var_extra->linkage != BTF_VAR_GLOBAL_ALLOCATED && in bpf_object__init_user_btf_map()
2246 var_extra->linkage != BTF_VAR_STATIC) { in bpf_object__init_user_btf_map()
2248 map_name, var_extra->linkage); in bpf_object__init_user_btf_map()
2973 if (btf_var(t)->linkage != BTF_VAR_GLOBAL_EXTERN) in find_extern_btf_id()
3217 btf_var(vt)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in bpf_object__collect_externs()
3252 btf_var(t)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in bpf_object__collect_externs()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
DKconfig12 linkage to PHYLINK. The driver supports the following revisions:
/kernel/linux/linux-5.10/include/asm-generic/
DKbuild35 mandatory-y += linkage.h
/kernel/linux/linux-5.10/Documentation/
Dasm-annotations.rst210 ``SYM_L_GLOBAL`` and ``SYM_L_WEAK``. All are intended to denote linkage of a
218 ``asm/linkage.h``, including macros specifying the type of a symbol
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptscsih.c146 u.frame.linkage.list); in mptscsih_getFreeChainBuffer()
147 list_del(&chainBuf->u.frame.linkage.list); in mptscsih_getFreeChainBuffer()
606 (le32_to_cpu(mf->u.frame.linkage.arg1) == 0xdeadbeaf)) in mptscsih_io_done()
1477 list_add_tail(&chain->u.frame.linkage.list, &ioc->FreeChainQ); in mptscsih_freeChainBuffers()
Dmptbase.h274 } linkage; member
Dmptbase.c912 u.frame.linkage.list); in mpt_get_msg_frame()
913 list_del(&mf->u.frame.linkage.list); in mpt_get_msg_frame()
914 mf->u.frame.linkage.arg1 = 0; in mpt_get_msg_frame()
1031 if (cpu_to_le32(mf->u.frame.linkage.arg1) == 0xdeadbeaf) in mpt_free_msg_frame()
1034 mf->u.frame.linkage.arg1 = cpu_to_le32(0xdeadbeaf); in mpt_free_msg_frame()
1035 list_add(&mf->u.frame.linkage.list, &ioc->FreeQ); in mpt_free_msg_frame()
4556 list_add_tail(&mf->u.frame.linkage.list, &ioc->FreeChainQ); in PrimeIocFifos()
4571 list_add_tail(&mf->u.frame.linkage.list, &ioc->FreeQ); in PrimeIocFifos()
/kernel/linux/linux-5.10/arch/s390/boot/
Dhead.S339 .quad .Llinkage_stack # cr15: linkage stack operations
/kernel/linux/linux-5.10/Documentation/driver-api/driver-model/
Ddriver.rst20 the proper linkage internally. It should also initialize as many of
/kernel/linux/linux-5.10/Documentation/bpf/
Dbtf.rst414 __u32 linkage;
418 * ``linkage``: currently only static variable 0, or globally allocated
/kernel/linux/linux-5.10/kernel/bpf/
Dbtf.c3432 if (var->linkage != BTF_VAR_STATIC && in btf_var_check_meta()
3433 var->linkage != BTF_VAR_GLOBAL_ALLOCATED) { in btf_var_check_meta()
3447 btf_verifier_log(env, "type_id=%u linkage=%u", t->type, var->linkage); in btf_var_log()
5263 prog->aux->func_info_aux[subprog].linkage != BTF_FUNC_GLOBAL) { in btf_prepare_func_args()

12