Home
last modified time | relevance | path

Searched refs:field_type (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/
H A Dhns_roce_common.h58 #define FIELD_LOC(field_type, field_h, field_l) field_type, field_h, field_l
60 #define _hr_reg_enable(ptr, field_type, field_h, field_l) \
62 const field_type *_ptr = ptr; \
70 #define _hr_reg_clear(ptr, field_type, field_h, field_l) \
72 const field_type *_ptr = ptr; \
80 #define _hr_reg_write_bool(ptr, field_type, field_h, field_l, val) \
82 (val) ? _hr_reg_enable(ptr, field_type, field_h, field_l) : \
83 _hr_reg_clear(ptr, field_type, field_h, field_l); \
88 #define _hr_reg_write(ptr, field_type, field_
[all...]
/kernel/linux/linux-5.10/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c627 tree field_type, val_type; in check_bad_casts_in_constructor() local
639 field_type = TREE_TYPE(field); in check_bad_casts_in_constructor()
642 if (TREE_CODE(field_type) != POINTER_TYPE || TREE_CODE(val_type) != POINTER_TYPE) in check_bad_casts_in_constructor()
645 if (field_type == val_type) in check_bad_casts_in_constructor()
648 field_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(field_type)))); in check_bad_casts_in_constructor()
651 if (field_type == void_type_node) in check_bad_casts_in_constructor()
653 if (field_type == val_type) in check_bad_casts_in_constructor()
660 MISMATCH(DECL_SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARIANT(val_type)); in check_bad_casts_in_constructor()
/kernel/linux/linux-6.6/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c594 tree field_type, val_type; in check_bad_casts_in_constructor() local
606 field_type = TREE_TYPE(field); in check_bad_casts_in_constructor()
609 if (TREE_CODE(field_type) != POINTER_TYPE || TREE_CODE(val_type) != POINTER_TYPE) in check_bad_casts_in_constructor()
612 if (field_type == val_type) in check_bad_casts_in_constructor()
615 field_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(field_type)))); in check_bad_casts_in_constructor()
618 if (field_type == void_type_node) in check_bad_casts_in_constructor()
620 if (field_type == val_type) in check_bad_casts_in_constructor()
627 MISMATCH(DECL_SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARIANT(val_type)); in check_bad_casts_in_constructor()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dexprep.c390 if (info->field_type != ACPI_TYPE_LOCAL_INDEX_FIELD) { in acpi_ex_prep_field_value()
408 obj_desc = acpi_ut_create_internal_object(info->field_type); in acpi_ex_prep_field_value()
428 switch (info->field_type) { in acpi_ex_prep_field_value()
H A Ddsfield.c381 info->field_type, in acpi_ds_get_field_names()
516 info.field_type = ACPI_TYPE_LOCAL_REGION_FIELD; in acpi_ds_create_field()
733 info.field_type = ACPI_TYPE_LOCAL_BANK_FIELD; in acpi_ds_create_bank_field()
811 info.field_type = ACPI_TYPE_LOCAL_INDEX_FIELD; in acpi_ds_create_index_field()
H A Daclocal.h243 u8 field_type; member
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dexprep.c390 if (info->field_type != ACPI_TYPE_LOCAL_INDEX_FIELD) { in acpi_ex_prep_field_value()
408 obj_desc = acpi_ut_create_internal_object(info->field_type); in acpi_ex_prep_field_value()
428 switch (info->field_type) { in acpi_ex_prep_field_value()
H A Ddsfield.c381 info->field_type, in acpi_ds_get_field_names()
516 info.field_type = ACPI_TYPE_LOCAL_REGION_FIELD; in acpi_ds_create_field()
733 info.field_type = ACPI_TYPE_LOCAL_BANK_FIELD; in acpi_ds_create_bank_field()
811 info.field_type = ACPI_TYPE_LOCAL_INDEX_FIELD; in acpi_ds_create_index_field()
H A Daclocal.h243 u8 field_type; member
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_events_synth.c586 const char *prefix = NULL, *field_type = argv[0], *field_name, *array; in parse_synth_field() local
591 if (field_type[0] == ';') in parse_synth_field()
592 field_type++; in parse_synth_field()
594 if (!strcmp(field_type, "unsigned")) { in parse_synth_field()
596 synth_err(SYNTH_ERR_INCOMPLETE_TYPE, errpos(field_type)); in parse_synth_field()
600 field_type = argv[1]; in parse_synth_field()
629 if (field_type[0] == ';') in parse_synth_field()
630 field_type++; in parse_synth_field()
631 len = strlen(field_type) + 1; in parse_synth_field()
646 seq_buf_puts(&s, field_type); in parse_synth_field()
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_events_synth.c672 static int check_field_version(const char *prefix, const char *field_type, in check_field_version() argument
692 const char *prefix = NULL, *field_type = argv[0], *field_name, *array; in parse_synth_field() local
698 if (!strcmp(field_type, "unsigned")) { in parse_synth_field()
700 synth_err(SYNTH_ERR_INCOMPLETE_TYPE, errpos(field_type)); in parse_synth_field()
704 field_type = argv[1]; in parse_synth_field()
713 synth_err(SYNTH_ERR_INVALID_FIELD, errpos(field_type)); in parse_synth_field()
717 *field_version = check_field_version(prefix, field_type, field_name); in parse_synth_field()
738 len = strlen(field_type) + 1; in parse_synth_field()
753 seq_buf_puts(&s, field_type); in parse_synth_field()
766 synth_err(SYNTH_ERR_INVALID_TYPE, errpos(field_type)); in parse_synth_field()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_gram.y87 static void process_field(int field_type, symbol_t *sym, int mask);
1422 process_field(int field_type, symbol_t *sym, int value)
1432 sym->type = field_type;
1435 if (field_type != ENUM_ENTRY) {
1436 if (field_type != MASK && value == 0) {
1447 } else if (sym->type != field_type) {
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_gram.y86 static void process_field(int field_type, symbol_t *sym, int mask);
1421 process_field(int field_type, symbol_t *sym, int value)
1431 sym->type = field_type;
1434 if (field_type != ENUM_ENTRY) {
1435 if (field_type != MASK && value == 0) {
1446 } else if (sym->type != field_type) {
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c200 static void define_value(enum tep_print_arg_type field_type, in define_value() argument
211 if (field_type == TEP_PRINT_SYMBOL) in define_value()
230 static void define_values(enum tep_print_arg_type field_type, in define_values() argument
235 define_value(field_type, ev_name, field_name, field->value, in define_values()
239 define_values(field_type, field->next, ev_name, field_name); in define_values()
242 static void define_field(enum tep_print_arg_type field_type, in define_field() argument
251 if (field_type == TEP_PRINT_SYMBOL) in define_field()
254 if (field_type == TEP_PRINT_FLAGS) in define_field()
263 if (field_type == TEP_PRINT_FLAGS) in define_field()
/kernel/linux/linux-6.6/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c207 static void define_value(enum tep_print_arg_type field_type, in define_value() argument
218 if (field_type == TEP_PRINT_SYMBOL) in define_value()
237 static void define_values(enum tep_print_arg_type field_type, in define_values() argument
242 define_value(field_type, ev_name, field_name, field->value, in define_values()
246 define_values(field_type, field->next, ev_name, field_name); in define_values()
249 static void define_field(enum tep_print_arg_type field_type, in define_field() argument
258 if (field_type == TEP_PRINT_SYMBOL) in define_field()
261 if (field_type == TEP_PRINT_FLAGS) in define_field()
270 if (field_type == TEP_PRINT_FLAGS) in define_field()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dbtf.c3261 u32 off, int sz, enum btf_field_type field_type, in btf_find_struct()
3268 info->type = field_type; in btf_find_struct()
3370 #define field_mask_test_name(field_type, field_type_str) \
3371 if (field_mask & field_type && !strcmp(name, field_type_str)) { \
3372 type = field_type; \
3423 int ret, idx = 0, align, sz, field_type; in btf_find_struct_field() local
3432 field_type = btf_get_field_type(__btf_name_by_offset(btf, member_type->name_off), in btf_find_struct_field()
3434 if (field_type == 0) in btf_find_struct_field()
3436 if (field_type < 0) in btf_find_struct_field()
3437 return field_type; in btf_find_struct_field()
3260 btf_find_struct(const struct btf *btf, const struct btf_type *t, u32 off, int sz, enum btf_field_type field_type, struct btf_field_info *info) btf_find_struct() argument
3491 int ret, idx = 0, align, sz, field_type; btf_find_datasec_var() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_flow.c1052 * @field_type: type of the field
1073 enum ice_flow_fld_match_type field_type, u16 val_loc, in ice_flow_set_fld_ext()
1079 if (field_type == ICE_FLOW_FLD_TYPE_RANGE) in ice_flow_set_fld_ext()
1082 seg->fields[fld].type = field_type; in ice_flow_set_fld_ext()
1072 ice_flow_set_fld_ext(struct ice_flow_seg_info *seg, enum ice_flow_field fld, enum ice_flow_fld_match_type field_type, u16 val_loc, u16 mask_loc, u16 last_loc) ice_flow_set_fld_ext() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dethtool_common.c32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \
36 .offset = ((((field_type *) 0) == \
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c31 #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \
35 .offset = ((((field_type *) 0) == \
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dethtool_common.c32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \
36 .offset = ((((field_type *) 0) == \
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c31 #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \
35 .offset = ((((field_type *) 0) == \
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \
36 .offset = ((((field_type *) 0) == \
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_flow.c1689 * @field_type: type of the field
1710 enum ice_flow_fld_match_type field_type, u16 val_loc, in ice_flow_set_fld_ext()
1716 if (field_type == ICE_FLOW_FLD_TYPE_RANGE) in ice_flow_set_fld_ext()
1719 seg->fields[fld].type = field_type; in ice_flow_set_fld_ext()
1709 ice_flow_set_fld_ext(struct ice_flow_seg_info *seg, enum ice_flow_field fld, enum ice_flow_fld_match_type field_type, u16 val_loc, u16 mask_loc, u16 last_loc) ice_flow_set_fld_ext() argument

Completed in 49 milliseconds