Searched refs:var_type (Results 1 – 8 of 8) sorted by relevance
| /linux/lib/tests/ |
| H A D | stackinit_kunit.c | 47 #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 D | varhandlers.c | 109 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 D | kobjects.c | 560 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 D | spk_types.h | 110 enum var_type_t var_type; member
|
| H A D | main.c | 1860 if (p_header->var_type != VAR_NUM) in inc_dec_var()
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 3608 static int btf_get_field_type(const struct btf *btf, const struct btf_type *var_type, in btf_get_field_type() argument 3628 const char *name = __btf_name_by_offset(btf, var_type->name_off); in btf_get_field_type() 3649 if (field_mask & (BPF_KPTR | BPF_UPTR) && !__btf_type_is_struct(var_type)) { in btf_get_field_type() 3751 const struct btf_type *var_type, in btf_find_field_one() argument 3766 for (i = 0; i < MAX_RESOLVE_DEPTH && btf_type_is_array(var_type); i++) { in btf_find_field_one() 3767 array = btf_array(var_type); in btf_find_field_one() 3769 var_type = btf_type_by_id(btf, array->type); in btf_find_field_one() 3776 field_type = btf_get_field_type(btf, var_type, in btf_find_field_one() 3779 if (!field_type && __btf_type_is_struct(var_type)) { in btf_find_field_one() 3780 sz = var_type->size; in btf_find_field_one() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 2151 const struct btf_type *var_type = btf__type_by_id(btf, sinfo->type); in set_global_vars() local 2154 if (!btf_is_var(var_type)) in set_global_vars() 2157 var_name = btf__name_by_offset(btf, var_type->name_off); in set_global_vars() 2171 err = adjust_var_secinfo(btf, var_type, in set_global_vars()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 10806 struct btf_type *datasec_type, *var_type; in bpf_map__ifindex() 10836 var_type = btf_type_by_id(btf, var->type); in bpf_map__set_exclusive_program() 10837 array_type = skip_mods_and_typedefs(btf, var_type->type, NULL); in bpf_map__set_exclusive_program() 10864 var_type = btf_type_by_id(btf, var->type); in __bpf_map__iter() 10869 var_type->type = new_array_id; in __bpf_map__iter() 14564 const struct btf_type *map_type, *var_type; in bpf_object__detach_skeleton() 14606 var_type = btf__type_by_id(btf, var->type); 14607 var_name = btf__name_by_offset(btf, var_type->name_off); 10646 struct btf_type *datasec_type, *var_type; map_btf_datasec_resize() local 14385 const struct btf_type *map_type, *var_type; bpf_object__open_subskeleton() local
|