Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 35) sorted by relevance

12

/scripts/coccinelle/misc/
Dnewline_in_nl_msg.cocci17 constant m;
20 \(GENL_SET_ERR_MSG\|NL_SET_ERR_MSG\|NL_SET_ERR_MSG_MOD\)(e,m@p)
23 m << r.m;
26 if not m.endswith("\\n\""):
32 constant r.m;
35 fname(e,m@p)
44 constant r.m;
46 * fname(e,m)
54 m << r.m;
58 if m.endswith("\\n\""):
[all …]
/scripts/dtc/
Dtreesource.c127 static bool has_data_type_information(struct marker *m) in has_data_type_information() argument
129 return m->type >= TYPE_UINT8; in has_data_type_information()
132 static struct marker *next_type_marker(struct marker *m) in next_type_marker() argument
134 while (m && !has_data_type_information(m)) in next_type_marker()
135 m = m->next; in next_type_marker()
136 return m; in next_type_marker()
139 size_t type_marker_length(struct marker *m) in type_marker_length() argument
141 struct marker *next = next_type_marker(m->next); in type_marker_length()
144 return next->offset - m->offset; in type_marker_length()
167 struct marker *m = prop->val.markers; in guess_value_type() local
[all …]
Ddata.c10 struct marker *m, *nm; in data_free() local
12 m = d.markers; in data_free()
13 while (m) { in data_free()
14 nm = m->next; in data_free()
15 free(m->ref); in data_free()
16 free(m); in data_free()
17 m = nm; in data_free()
115 struct data data_insert_at_marker(struct data d, struct marker *m, in data_insert_at_marker() argument
119 memmove(d.val + m->offset + len, d.val + m->offset, d.len - m->offset); in data_insert_at_marker()
120 memcpy(d.val + m->offset, p, len); in data_insert_at_marker()
[all …]
Dyamltree.c54 struct marker *m; in yaml_propval_int() local
66 m = markers; in yaml_propval_int()
68 for_each_marker_of_type(m, REF_PHANDLE) { in yaml_propval_int()
69 if (m->offset == (start_offset + off)) { in yaml_propval_int()
116 struct marker *m = prop->val.markers; in yaml_propval() local
134 if (!m) in yaml_propval()
141 for_each_marker(m) { in yaml_propval()
143 char *data = &prop->val.val[m->offset]; in yaml_propval()
145 if (m->type < TYPE_UINT8) in yaml_propval()
148 chunk_len = type_marker_length(m) ? : len; in yaml_propval()
[all …]
Dlivetree.c476 struct marker *m; in get_marker_label() local
484 m = p->val.markers; in get_marker_label()
485 for_each_marker_of_type(m, LABEL) in get_marker_label()
486 if (streq(m->ref, label)) in get_marker_label()
487 return m; in get_marker_label()
491 m = get_marker_label(c, label, node, prop); in get_marker_label()
492 if (m) in get_marker_label()
493 return m; in get_marker_label()
868 struct marker *m; in any_fixup_tree() local
871 m = prop->val.markers; in any_fixup_tree()
[all …]
Ddtc.h122 #define for_each_marker(m) \ argument
123 for (; (m); (m) = (m)->next)
124 #define for_each_marker_of_type(m, t) \ argument
125 for_each_marker(m) \
126 if ((m)->type == (t))
128 size_t type_marker_length(struct marker *m);
139 struct data data_insert_at_marker(struct data d, struct marker *m,
Dchecks.c451 struct marker *m = prop->val.markers; in check_duplicate_label_node() local
456 for_each_marker_of_type(m, LABEL) in check_duplicate_label_node()
457 check_duplicate_label(c, dti, m->ref, node, prop, m); in check_duplicate_label_node()
467 struct marker *m; in check_phandle_prop() local
480 m = prop->val.markers; in check_phandle_prop()
481 for_each_marker_of_type(m, REF_PHANDLE) { in check_phandle_prop()
482 assert(m->offset == 0); in check_phandle_prop()
483 if (node != get_node_by_ref(root, m->ref)) in check_phandle_prop()
586 struct marker *m = prop->val.markers; in fixup_phandle_references() local
590 for_each_marker_of_type(m, REF_PHANDLE) { in fixup_phandle_references()
[all …]
/scripts/basic/
Dfixdep.c141 static void print_dep(const char *m, int slen, const char *dir) in print_dep() argument
147 c = m[i]; in print_dep()
215 static void use_config(const char *m, int slen) in use_config() argument
217 unsigned int hash = strhash(m, slen); in use_config()
219 if (is_defined_config(m, slen, hash)) in use_config()
222 define_config(m, slen, hash); in use_config()
223 print_dep(m, slen, "include/config"); in use_config()
305 static void parse_dep_file(char *m, const char *target) in parse_dep_file() argument
315 while (*m == ' ' || *m == '\\' || *m == '\n') in parse_dep_file()
316 m++; in parse_dep_file()
[all …]
/scripts/
DMakefile.host43 host-csingle := $(foreach m,$(hostprogs), \
44 $(if $($(m)-objs)$($(m)-cxxobjs),,$(m)))
47 host-cmulti := $(foreach m,$(hostprogs),\
48 $(if $($(m)-cxxobjs),,$(if $($(m)-objs),$(m))))
51 host-cobjs := $(sort $(foreach m,$(hostprogs),$($(m)-objs)))
56 host-cxxmulti := $(foreach m,$(hostprogs),$(if $($(m)-cxxobjs),$(m)))
59 host-cxxobjs := $(sort $(foreach m,$(host-cxxmulti),$($(m)-cxxobjs)))
DMakefile.userprogs7 user-csingle := $(foreach m, $(userprogs), $(if $($(m)-objs),,$(m)))
10 user-cmulti := $(foreach m, $(userprogs), $(if $($(m)-objs),$(m)))
13 user-cobjs := $(sort $(foreach m, $(userprogs), $($(m)-objs)))
DMakefile.lib65 multi-search = $(sort $(foreach m,$(1),$(if $(strip $(call suffix-search,$(m),$(2) -)),\
66 $(if $(filter $(m),$(strip $(call suffix-search,$(m),$(2) -))),,\
67 $(m) $(call multi-search,$(call suffix-search,$(m),$(2)),$(2))))))
77 real-search = $(foreach m,$(1), $(if $(strip $(call suffix-search,$(m),$(2) -)), \
78 …$(filter $(m),$(call suffix-search,$(m),$(2))) $(call real-search,$(filter-out $(m),$(call suffix-…
79 $(m)))
120 modname-multi = $(sort $(foreach m,$(multi-used),\
121 $(if $(filter $*.o, $($(m:.o=-objs)) $($(m:.o=-y)) $($(m:.o=-m))),$(m:.o=))))
255 $(foreach m, $(notdir $1), \
256 $(eval $(obj)/$m: \
[all …]
Dmodules-check.sh16 for m in $(sed 's:.*/::' $1 | sort | uniq -d)
19 sed -n "/\/$m/s:^: :p" modules.order >&2
Dgcc-ld22 -[m]*) N="$1" ;;
/scripts/coccinelle/api/
Dkfree_sensitive.cocci37 position m != cond.ok;
42 * memset@m((T)E, 0, ...);
44 * memzero_explicit@m((T)E, ...);
53 position m != cond.ok;
57 - memzero_explicit@m((T)E, size);
71 position m != cond.ok;
75 - memset@m((T)E, 0, size);
88 m << r.m;
92 coccilib.report.print_report(p[0], msg % (m[0].line))
96 m << r.m;
[all …]
/scripts/kconfig/tests/choice/
Dallmod_expected_config6 CONFIG_TRI_CHOICE0=m
7 CONFIG_TRI_CHOICE1=m
8 CONFIG_OPT_TRI_CHOICE0=m
9 CONFIG_OPT_TRI_CHOICE1=m
Doldask0_expected_stdout8 choice 0 (TRI_CHOICE0) [N/m/?] (NEW)
9 choice 1 (TRI_CHOICE1) [N/m/?] (NEW)
10 optional tristate choice [N/m/y/?] (NEW)
/scripts/gcc-plugins/
DMakefile32 plugin-single := $(foreach m, $(GCC_PLUGIN), $(if $($(m:%.so=%-objs)),,$(m)))
34 plugin-objs := $(sort $(foreach m, $(plugin-multi), $($(m:%.so=%-objs))))
55 $(foreach m, $(notdir $(plugin-multi)), $(eval $(obj)/$m: $(addprefix $(obj)/, $($(m:%.so=%-objs)))…
/scripts/tracing/
Ddraw_functrace.py106 m = re.match("[^]]+?\\] +([a-z.]+) +([0-9.]+): (\\w+) <-(\\w+)", line)
107 if m is None:
109 return (m.group(2), m.group(3), m.group(4))
/scripts/kconfig/tests/choice_value_with_m_dep/
Dconfig1 CONFIG_CHOICE0=m
2 CONFIG_CHOICE1=m
Dexpected_config2 CONFIG_DEP=m
DKconfig9 default m
/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci27 m = re.compile(pattern)
49 if m.search(t) != None:
72 if m.search(t) != None:
109 if m.search(t) != None:
119 if m.search(t) != None:
/scripts/gdb/linux/
Dutils.py92 m = inf.read_memory(start, length)
93 if type(m) is memoryview:
94 return m
95 return memoryview(m)
/scripts/atomic/
Datomic-tbl.sh183 for m in $(echo "${meta}" | grep -o .); do
184 gen_proto_variants "${m}" "$@"
/scripts/kconfig/
Dqconf.h119 ConfigItem(ConfigList *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem() argument
120 : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) in ConfigItem()
124 ConfigItem(ConfigItem *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem() argument
125 : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) in ConfigItem()

12