Home
last modified time | relevance | path

Searched refs:var_type (Results 1 – 10 of 10) sorted by relevance

/linux/lib/tests/
H A Dstackinit_kunit.c47 #define DO_NOTHING_TYPE_SCALAR(var_type) var_type argument
48 #define DO_NOTHING_TYPE_STRING(var_type) void argument
49 #define DO_NOTHING_TYPE_STRUCT(var_type) void argument
50 #define DO_NOTHING_TYPE_UNION(var_type) void argument
105 #define INIT_SCALAR_none(var_type) /**/ argument
106 #define INIT_SCALAR_zero(var_type) = 0 argument
108 #define INIT_STRING_none(var_type) [FILL_SIZE_STRING] /**/ argument
109 #define INIT_STRING_zero(var_type) [FILL_SIZE_STRING] = { } argument
111 #define INIT_STRUCT_none(var_type) /**/ argument
112 #define INIT_STRUCT_zero(var_type) = { } argument
[all …]
/linux/drivers/accessibility/speakup/
H A Dvarhandlers.c109 switch (p_header->var_type) { in speakup_register_var()
218 if (var->var_type == VAR_TIME && p_val) { in spk_set_num_var()
H A Dkobjects.c560 switch (param->var_type) { in spk_var_show()
588 param->name, param->var_type); in spk_var_show()
640 switch (param->var_type) { in spk_var_store()
690 param->name, (int)param->var_type); in spk_var_store()
H A Dspk_types.h110 enum var_type_t var_type; member
H A Dmain.c1860 if (p_header->var_type != VAR_NUM) in inc_dec_var()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c1193 u8 var_type; in mt7996_variant_type_init() local
1198 var_type = MT7996_VAR_TYPE_233; in mt7996_variant_type_init()
1200 var_type = MT7996_VAR_TYPE_444; in mt7996_variant_type_init()
1204 var_type = MT7992_VAR_TYPE_23; in mt7996_variant_type_init()
1206 var_type = MT7992_VAR_TYPE_44; in mt7996_variant_type_init()
1208 var_type = MT7992_VAR_TYPE_24; in mt7996_variant_type_init()
1211 var_type = MT7990_VAR_TYPE_23; in mt7996_variant_type_init()
1217 dev->var.type = var_type; in mt7996_variant_type_init()
/linux/tools/bpf/bpftool/
H A Dgen.c1674 const struct btf_type *map_type, *var_type; in do_subskeleton() local
1785 var_type = btf__type_by_id(btf, var->type); in do_subskeleton()
1787 if (btf_var(var_type)->linkage == BTF_VAR_STATIC) in do_subskeleton()
1907 var_type = btf__type_by_id(btf, var->type); in do_subskeleton()
1908 var_name = btf__name_by_offset(btf, var_type->name_off); in do_subskeleton()
1910 if (btf_var(var_type)->linkage == BTF_VAR_STATIC) in do_subskeleton()
/linux/kernel/bpf/
H A Dbtf.c3654 static int btf_get_field_type(const struct btf *btf, const struct btf_type *var_type, in btf_get_field_type() argument
3674 const char *name = __btf_name_by_offset(btf, var_type->name_off); in btf_get_field_type()
3695 if (field_mask & (BPF_KPTR | BPF_UPTR) && !__btf_type_is_struct(var_type)) { in btf_get_field_type()
3796 const struct btf_type *var_type, in btf_find_field_one() argument
3811 for (i = 0; i < MAX_RESOLVE_DEPTH && btf_type_is_array(var_type); i++) { in btf_find_field_one()
3812 array = btf_array(var_type); in btf_find_field_one()
3814 var_type = btf_type_by_id(btf, array->type); in btf_find_field_one()
3821 field_type = btf_get_field_type(btf, var_type, in btf_find_field_one()
3824 if (!field_type && __btf_type_is_struct(var_type)) { in btf_find_field_one()
3825 sz = var_type->size; in btf_find_field_one()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dveristat.c2213 const struct btf_type *var_type = btf__type_by_id(btf, sinfo->type); in set_global_vars() local
2216 if (!btf_is_var(var_type)) in set_global_vars()
2219 var_name = btf__name_by_offset(btf, var_type->name_off); in set_global_vars()
2233 err = adjust_var_secinfo(btf, var_type, in set_global_vars()
/linux/tools/lib/bpf/
H A Dlibbpf.c10955 struct btf_type *datasec_type, *var_type; in map_btf_datasec_resize() local
10985 var_type = btf_type_by_id(btf, var->type); in map_btf_datasec_resize()
10986 array_type = skip_mods_and_typedefs(btf, var_type->type, NULL); in map_btf_datasec_resize()
11013 var_type = btf_type_by_id(btf, var->type); in map_btf_datasec_resize()
11018 var_type->type = new_array_id; in map_btf_datasec_resize()
15016 const struct btf_type *map_type, *var_type; in bpf_object__open_subskeleton() local
15058 var_type = btf__type_by_id(btf, var->type); in bpf_object__open_subskeleton()
15059 var_name = btf__name_by_offset(btf, var_type->name_off); in bpf_object__open_subskeleton()