Home
last modified time | relevance | path

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

/linux-6.12.1/lib/
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
96 #define INIT_SCALAR_none(var_type) /**/ argument
97 #define INIT_SCALAR_zero(var_type) = 0 argument
99 #define INIT_STRING_none(var_type) [FILL_SIZE_STRING] /**/ argument
100 #define INIT_STRING_zero(var_type) [FILL_SIZE_STRING] = { } argument
102 #define INIT_STRUCT_none(var_type) /**/ argument
103 #define INIT_STRUCT_zero(var_type) = { } argument
124 #define INIT_STRUCT_static_partial(var_type) \ argument
[all …]
/linux-6.12.1/drivers/accessibility/speakup/
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()
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()
Dspk_types.h110 enum var_type_t var_type; member
Dmain.c1860 if (p_header->var_type != VAR_NUM) in inc_dec_var()
/linux-6.12.1/tools/bpf/bpftool/
Dgen.c1583 const struct btf_type *map_type, *var_type; in do_subskeleton() local
1694 var_type = btf__type_by_id(btf, var->type); in do_subskeleton()
1696 if (btf_var(var_type)->linkage == BTF_VAR_STATIC) in do_subskeleton()
1816 var_type = btf__type_by_id(btf, var->type); in do_subskeleton()
1817 var_name = btf__name_by_offset(btf, var_type->name_off); in do_subskeleton()
1819 if (btf_var(var_type)->linkage == BTF_VAR_STATIC) in do_subskeleton()
/linux-6.12.1/kernel/bpf/
Dbtf.c3464 static int btf_get_field_type(const struct btf *btf, const struct btf_type *var_type, in btf_get_field_type() argument
3469 const char *name = __btf_name_by_offset(btf, var_type->name_off); in btf_get_field_type()
3505 if (field_mask & BPF_KPTR && !__btf_type_is_struct(var_type)) { in btf_get_field_type()
3608 const struct btf_type *var_type, in btf_find_field_one() argument
3623 for (i = 0; i < MAX_RESOLVE_DEPTH && btf_type_is_array(var_type); i++) { in btf_find_field_one()
3624 array = btf_array(var_type); in btf_find_field_one()
3626 var_type = btf_type_by_id(btf, array->type); in btf_find_field_one()
3633 field_type = btf_get_field_type(btf, var_type, in btf_find_field_one()
3636 if (!field_type && __btf_type_is_struct(var_type)) { in btf_find_field_one()
3637 sz = var_type->size; in btf_find_field_one()
[all …]
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c10173 struct btf_type *datasec_type, *var_type; in map_btf_datasec_resize() local
10203 var_type = btf_type_by_id(btf, var->type); in map_btf_datasec_resize()
10204 array_type = skip_mods_and_typedefs(btf, var_type->type, NULL); in map_btf_datasec_resize()
10231 var_type = btf_type_by_id(btf, var->type); in map_btf_datasec_resize()
10236 var_type->type = new_array_id; in map_btf_datasec_resize()
13804 const struct btf_type *map_type, *var_type; in bpf_object__open_subskeleton() local
13846 var_type = btf__type_by_id(btf, var->type); in bpf_object__open_subskeleton()
13847 var_name = btf__name_by_offset(btf, var_type->name_off); in bpf_object__open_subskeleton()