Home
last modified time | relevance | path

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

/linux/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 argument
60 #define _hr_reg_enable(ptr, field_type, field_h, field_l) \ argument
62 const field_type *_ptr = ptr; \
70 #define _hr_reg_clear(ptr, field_type, field_h, field_l) \ argument
72 const field_type *_ptr = ptr; \
80 #define _hr_reg_write_bool(ptr, field_type, field_h, field_l, val) \ argument
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_h, field_l, val) \ argument
90 _hr_reg_clear(ptr, field_type, field_h, field_l); \
[all …]
/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c574 tree field_type, val_type; in check_bad_casts_in_constructor() local
586 field_type = TREE_TYPE(field); in check_bad_casts_in_constructor()
589 if (TREE_CODE(field_type) != POINTER_TYPE || TREE_CODE(val_type) != POINTER_TYPE) in check_bad_casts_in_constructor()
592 if (field_type == val_type) in check_bad_casts_in_constructor()
595 field_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(field_type)))); in check_bad_casts_in_constructor()
598 if (field_type == void_type_node) in check_bad_casts_in_constructor()
600 if (field_type == val_type) in check_bad_casts_in_constructor()
607 …MISMATCH(DECL_SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARI… in check_bad_casts_in_constructor()
/linux/kernel/trace/
H A Dtrace_events_synth.c731 static int check_field_version(const char *prefix, const char *field_type, in check_field_version() argument
751 const char *prefix = NULL, *field_type = argv[0], *field_name, *array; in parse_synth_field() local
757 if (!strcmp(field_type, "unsigned")) { in parse_synth_field()
759 synth_err(SYNTH_ERR_INCOMPLETE_TYPE, errpos(field_type)); in parse_synth_field()
763 field_type = argv[1]; in parse_synth_field()
772 synth_err(SYNTH_ERR_INVALID_FIELD, errpos(field_type)); in parse_synth_field()
776 *field_version = check_field_version(prefix, field_type, field_name); in parse_synth_field()
797 len = strlen(field_type) + 1; in parse_synth_field()
812 seq_buf_puts(&s, field_type); in parse_synth_field()
825 synth_err(SYNTH_ERR_INVALID_TYPE, errpos(field_type)); in parse_synth_field()
[all …]
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c182 static void define_value(enum tep_print_arg_type field_type, in define_value() argument
193 if (field_type == TEP_PRINT_SYMBOL) in define_value()
212 static void define_values(enum tep_print_arg_type field_type, in define_values() argument
217 define_value(field_type, ev_name, field_name, field->value, in define_values()
221 define_values(field_type, field->next, ev_name, field_name); in define_values()
224 static void define_field(enum tep_print_arg_type field_type, in define_field() argument
233 if (field_type == TEP_PRINT_SYMBOL) in define_field()
236 if (field_type == TEP_PRINT_FLAGS) in define_field()
245 if (field_type == TEP_PRINT_FLAGS) in define_field()
/linux/kernel/bpf/
H A Dbtf.c3478 u32 off, int sz, enum btf_field_type field_type, in btf_find_struct() argument
3485 info->type = field_type; in btf_find_struct()
3691 enum btf_field_type field_type; in btf_get_field_type() local
3695 field_type = field_types[i].type; in btf_get_field_type()
3698 if (!(field_mask & field_type) || strcmp(name, field_type_name)) in btf_get_field_type()
3701 if (*seen_mask & field_type) in btf_get_field_type()
3703 *seen_mask |= field_type; in btf_get_field_type()
3705 type = field_type; in btf_get_field_type()
3818 int ret, align, sz, field_type; in btf_find_field_one() local
3836 field_type = btf_get_field_type(btf, var_type, in btf_find_field_one()
[all …]
H A Dverifier.c7470 enum btf_field_type field_type, in check_map_field_pointer() argument
7476 const char *struct_name = btf_field_type_name(field_type); in check_map_field_pointer()
7490 if (!btf_record_has_field(map->record, field_type)) { in check_map_field_pointer()
7494 switch (field_type) { in check_map_field_pointer()
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
36 .offset = ((((field_type *) 0) == \
/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c31 #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
35 .offset = ((((field_type *) 0) == \
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
36 .offset = ((((field_type *) 0) == \
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flow.c1914 enum ice_flow_fld_match_type field_type, u16 val_loc, in ice_flow_set_fld_ext() argument
1920 if (field_type == ICE_FLOW_FLD_TYPE_RANGE) in ice_flow_set_fld_ext()
1923 seg->fields[fld].type = field_type; in ice_flow_set_fld_ext()