Home
last modified time | relevance | path

Searched refs:field (Results 1 – 16 of 16) sorted by relevance

/scripts/gendwarfksyms/
Dkabi.c209 const char *field; in kabi_read_rules() local
213 field = get_rule_field(&rule_str, &left); in kabi_read_rules()
215 if (strcmp(field, KABI_RULE_VERSION)) in kabi_read_rules()
216 error("unsupported kABI rule version: '%s'", field); in kabi_read_rules()
219 field = get_rule_field(&rule_str, &left); in kabi_read_rules()
222 if (!strcmp(field, rule_types[i].tag)) { in kabi_read_rules()
229 error("unsupported kABI rule type: '%s'", field); in kabi_read_rules()
239 debug("kABI rule: type: '%s', target: '%s', value: '%s'", field, in kabi_read_rules()
249 static char *get_enumerator_target(const char *fqn, const char *field) in get_enumerator_target() argument
253 if (asprintf(&target, "%s %s", fqn, field) < 0) in get_enumerator_target()
[all …]
Dgendwarfksyms.h281 bool kabi_is_enumerator_ignored(const char *fqn, const char *field);
282 bool kabi_get_enumerator_value(const char *fqn, const char *field,
/scripts/
Dmakelst16 field() { function
22 t2=`field 6 $t1`
27 t4=`field 1 $t3`
28 t5=`field 1 $t1`
DMakefile.extrawarn174 KBUILD_CFLAGS += -Wno-missing-field-initializers
/scripts/gcc-plugins/
Dstructleak_plugin.c76 static tree get_field_type(tree field) in get_field_type() argument
78 return strip_array_types(TREE_TYPE(field)); in get_field_type()
83 tree field; in is_userspace_type() local
85 for (field = TYPE_FIELDS(type); field; field = TREE_CHAIN(field)) { in is_userspace_type()
86 tree fieldtype = get_field_type(field); in is_userspace_type()
93 if (lookup_attribute("user", DECL_ATTRIBUTES(field))) in is_userspace_type()
Drandomize_layout_plugin.c276 static bool is_flexible_array(const_tree field) in is_flexible_array() argument
281 fieldtype = TREE_TYPE(field); in is_flexible_array()
300 tree field; in relayout_struct() local
334 for (field = TYPE_FIELDS(type), i = 0; field; field = TREE_CHAIN(field), i++) { in relayout_struct()
335 gcc_assert(TREE_CODE(field) == FIELD_DECL); in relayout_struct()
336 newtree[i] = field; in relayout_struct()
376 static const_tree get_field_type(const_tree field) in get_field_type() argument
378 return strip_array_types(TREE_TYPE(field)); in get_field_type()
393 const_tree field; in is_pure_ops_struct() local
397 for (field = TYPE_FIELDS(node); field; field = TREE_CHAIN(field)) { in is_pure_ops_struct()
[all …]
/scripts/coccinelle/misc/
Dtest_addr.cocci2 /// The address of a variable or field is likely always to be non-zero.
26 cocci.print_main("test of a variable/field address",p)
32 msg = "ERROR: test of a variable/field address"
Ddoubleinit.cocci2 /// Find duplicate field initializations. This has a high rate of false
/scripts/gendwarfksyms/examples/
Dkabi.h83 #define KABI_ENUMERATOR_IGNORE(fqn, field) \ argument
84 __KABI_RULE(enumerator_ignore, fqn field, )
92 #define KABI_ENUMERATOR_VALUE(fqn, field, value) \ argument
93 __KABI_RULE(enumerator_value, fqn field, value)
/scripts/coccinelle/free/
Dkfreeaddr.cocci2 /// Free of a structure field
36 msg = "ERROR: invalid free of structure field"
/scripts/gdb/linux/
Dutils.py64 def offset_of(typeobj, field): argument
66 return int(str(element[field].address).split()[0], 16)
Dinterrupts.py100 def x86_show_irqstat(prec, pfx, field, desc): argument
105 text += "%10u " % (stat[field])
/scripts/mod/
Ddevicetable-offsets.c6 #define DEVID_FIELD(devid, field) \ argument
7 DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
Dfile2alias.c89 #define ADD(str, sep, cond, field) \ argument
94 sizeof(field) == 1 ? "%02X" : \
95 sizeof(field) == 2 ? "%04X" : \
96 sizeof(field) == 4 ? "%08X" : "", \
97 field); \
982 int field; member
1022 (*matches)[j].slot == dmi_fields[i].field) { in do_dmi_entry()
/scripts/dtc/libfdt/
Dlibfdt.h247 #define fdt_get_header(fdt, field) \ argument
248 (fdt32_ld(&((const struct fdt_header *)(fdt))->field))
/scripts/coccinelle/api/
Dplatform_no_drv_owner.cocci2 /// Remove .owner field if calls are used which set it automatically