Home
last modified time | relevance | path

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

12

/Linux-v6.1/include/linux/
Dcfi_types.h23 #define SYM_TYPED_ENTRY(name, linkage, align...) \ argument
24 linkage(name) ASM_NL \
29 #define SYM_TYPED_START(name, linkage, align...) \ argument
30 SYM_TYPED_ENTRY(name, linkage, align)
34 #define SYM_TYPED_START(name, linkage, align...) \ argument
35 SYM_START(name, linkage, align)
Dlinkage.h152 #define SYM_ENTRY(name, linkage, align...) \ argument
153 linkage(name) ASM_NL \
160 #define SYM_START(name, linkage, align...) \ argument
161 SYM_ENTRY(name, linkage, align)
174 #define SYM_ALIAS(alias, name, linkage) \ argument
175 linkage(alias) ASM_NL \
199 #define SYM_INNER_LABEL_ALIGN(name, linkage) \ argument
201 SYM_ENTRY(name, linkage, SYM_A_ALIGN)
206 #define SYM_INNER_LABEL(name, linkage) \ argument
208 SYM_ENTRY(name, linkage, SYM_A_NONE)
[all …]
/Linux-v6.1/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)
59 #define SYM_ALIAS(alias, name, sym_type, linkage) \ argument
60 linkage(alias) ASM_NL \
122 #define SYM_TYPED_START(name, linkage, align...) \ argument
123 SYM_START(name, linkage, align)
/Linux-v6.1/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst186 [20] VAR 'struct_global_var' type_id=4, linkage=global-alloc
187 [21] VAR 'global_var' type_id=3, linkage=global-alloc
188 [22] VAR 'my_func.static_var' type_id=3, linkage=static
256 [104852] FUNC 'i2c_register_spd' type_id=84745 linkage=static
257 [104853] FUNC 'smbalert_driver_init' type_id=1213 linkage=static
260 [104855] FUNC 'i2c_handle_smbus_alert' type_id=104854 linkage=static
261 [104856] FUNC 'smbalert_remove' type_id=104854 linkage=static
265 [104858] FUNC 'smbalert_probe' type_id=104857 linkage=static
266 [104859] FUNC 'smbalert_work' type_id=9695 linkage=static
267 [104860] FUNC 'smbus_alert' type_id=71367 linkage=static
[all …]
/Linux-v6.1/tools/bpf/bpftool/
Dbtf.c62 static const char *btf_var_linkage_str(__u32 linkage) in btf_var_linkage_str() argument
64 switch (linkage) { in btf_var_linkage_str()
298 const char *linkage = btf_func_linkage_str(t); in dump_btf_type() local
302 jsonw_string_field(w, "linkage", linkage); in dump_btf_type()
304 printf(" type_id=%u linkage=%s", t->type, linkage); in dump_btf_type()
339 const char *linkage; in dump_btf_type() local
341 linkage = btf_var_linkage_str(v->linkage); in dump_btf_type()
345 jsonw_string_field(w, "linkage", linkage); in dump_btf_type()
347 printf(" type_id=%u, linkage=%s", t->type, linkage); in dump_btf_type()
Dgen.c155 if (btf_var(var)->linkage == BTF_VAR_STATIC) in codegen_datasec_def()
343 if (btf_var(var)->linkage == BTF_VAR_STATIC) in codegen_subskel_datasecs()
509 if (btf_var(var)->linkage == BTF_VAR_STATIC) in codegen_asserts()
1403 if (btf_var(var_type)->linkage == BTF_VAR_STATIC) in do_subskeleton()
1521 if (btf_var(var_type)->linkage == BTF_VAR_STATIC) in do_subskeleton()
/Linux-v6.1/tools/testing/selftests/bpf/
Dbtf_helpers.c55 static const char *btf_var_linkage_str(__u32 linkage) in btf_var_linkage_str() argument
57 switch (linkage) { in btf_var_linkage_str()
187 t->type, btf_var_linkage_str(btf_var(t)->linkage)); in fprintf_btf_type_raw()
Dtest_btf.h36 #define BTF_VAR_ENC(name, type, linkage) \ argument
37 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), type), (linkage)
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-stm_source6 stm_source device linkage to stm device, where its tracing data
/Linux-v6.1/drivers/net/ethernet/sfc/
Dtc.h61 struct rhash_head linkage; member
Dtc.c63 .head_offset = offsetof(struct efx_tc_flow_rule, linkage),
242 &rule->linkage, in efx_tc_flower_replace()
373 &rule->linkage, in efx_tc_flower_replace()
406 rhashtable_remove_fast(&efx->tc->match_action_ht, &rule->linkage, in efx_tc_flower_destroy()
/Linux-v6.1/tools/include/uapi/linux/
Dbtf.h166 __u32 linkage; member
/Linux-v6.1/include/uapi/linux/
Dbtf.h166 __u32 linkage; member
/Linux-v6.1/drivers/tee/optee/
Dffa_abi.c43 struct rhash_head linkage; member
52 .head_offset = offsetof(struct shm_rhash, linkage),
87 rc = rhashtable_lookup_insert_fast(&optee->ffa.global_ids, &r->linkage, in optee_shm_add_ffa_handle()
107 &r->linkage, shm_rhash_params); in optee_shm_rem_ffa_handle()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c93 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_linkage"); in test_btf_endian()
Dbtf_write.c258 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_type"); in gen_btf()
/Linux-v6.1/drivers/net/dsa/sja1105/
DKconfig14 linkage to PHYLINK. The driver supports the following revisions:
/Linux-v6.1/include/asm-generic/
DKbuild36 mandatory-y += linkage.h
/Linux-v6.1/tools/lib/bpf/
Dbtf.h208 enum btf_func_linkage linkage, int proto_type_id);
213 LIBBPF_API int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id);
Dbtf.c395 btf_var(t)->linkage = bswap_32(btf_var(t)->linkage); in btf_bswap_type_rest()
2347 enum btf_func_linkage linkage, int proto_type_id) in btf__add_func() argument
2353 if (linkage != BTF_FUNC_STATIC && linkage != BTF_FUNC_GLOBAL && in btf__add_func()
2354 linkage != BTF_FUNC_EXTERN) in btf__add_func()
2361 t->info = btf_type_info(BTF_KIND_FUNC, linkage, 0); in btf__add_func()
2465 int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id) in btf__add_var() argument
2474 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()
2475 linkage != BTF_VAR_GLOBAL_EXTERN) in btf__add_var()
2498 v->linkage = linkage; in btf__add_var()
Dlinker.c1397 is_static1 = btf_var(t1)->linkage == BTF_VAR_STATIC; in glob_sym_btf_matches()
1398 is_static2 = btf_var(t2)->linkage == BTF_VAR_STATIC; in glob_sym_btf_matches()
1642 return (btf_is_var(t) && btf_var(t)->linkage != BTF_VAR_STATIC) in btf_is_non_static()
1686 if (btf_is_var(t) && btf_var(t)->linkage == BTF_VAR_STATIC) in find_glob_sym_btf()
1743 btf_var(dst_t)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in complete_extern_btf_info()
2193 int var_linkage = btf_var(vt)->linkage; in linker_fixup_btf()
Dbtf_dump.c1872 enum btf_func_linkage linkage = btf_var(v)->linkage; in btf_dump_var_data() local
1877 switch (linkage) { in btf_dump_var_data()
/Linux-v6.1/Documentation/core-api/
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
/Linux-v6.1/Documentation/bpf/
Dbtf.rst372 * ``info.vlen``: linkage information (BTF_FUNC_STATIC, BTF_FUNC_GLOBAL
384 Currently, only linkage values of BTF_FUNC_STATIC and BTF_FUNC_GLOBAL are
426 __u32 linkage;
430 * ``linkage``: currently only static variable 0, or globally allocated
/Linux-v6.1/arch/s390/boot/
Dhead.S291 .quad 0 # cr15: linkage stack operations

12