Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 60) sorted by relevance

123

/scripts/coccinelle/api/
Dd_find_alias.cocci15 @r exists@
45 local idexpression struct dentry *r.dent;
46 position r.p1,r.p2;
58 p1 << r.p1;
59 p2 << r.p2;
65 local idexpression struct dentry *r.dent;
66 position r.p2;
77 p1 << r.p1;
78 p2 << r.p2;
Dpm_runtime.cocci84 @r depends on (org || report) exists@
98 p1 << r.p1;
99 p2 << r.p2;
100 pm_runtime_api << r.pm_runtime_api;
107 p1 << r.p1;
108 p2 << r.p2;
109 pm_runtime_api << r.pm_runtime_api;
Derr_cast.cocci34 @r depends on !context && !patch && (org || report)@
42 p << r.p;
43 x << r.x;
51 p << r.p;
52 x << r.x;
/scripts/coccinelle/misc/
Ddoubleinit.cocci16 @r@
25 identifier I, s, r.fld;
26 position r.p0,p;
33 p0 << r.p0;
34 fld << r.fld;
36 pr << r.p;
42 cocci.print_secs("r",pr)
45 p0 << r.p0;
46 fld << r.fld;
48 pr << r.p;
Dcstptr.cocci15 @r exists@
28 p1 << r.p1;
29 p2 << r.p2;
36 p1 << r.p1;
37 p2 << r.p2;
Dof_table.cocci52 @r depends on org || report@
74 p1 << r.p1;
75 arr << r.arr;
81 p1 << r.p1;
82 arr << r.arr;
Dboolconv.cocci45 @r depends on !patch@
74 @script:python depends on r&&org@
75 p << r.p;
85 @script:python depends on r&&report@
86 p << r.p;
Difcol.cocci21 @r disable braces4@
33 p1 << r.p1;
34 p2 << r.p2;
42 p1 << r.p1;
43 p2 << r.p2;
/scripts/coccinelle/iterators/
Dlist_entry_update.cocci18 @r@
28 position r.p1,r.p2;
40 position r.p1,r.p2;
49 p1 << r.p1;
50 p2 << r.p2;
57 p1 << r.p1;
58 p2 << r.p2;
Ddevice_node_continue.cocci18 @r exists@
58 local idexpression r.n;
60 position r.p1,r.p2;
71 position r.p2;
80 position r.p2;
Ditnull.cocci64 @r depends on !patch exists@
81 p1 << r.p1;
82 p2 << r.p2;
89 p1 << r.p1;
90 p2 << r.p2;
/scripts/coccinelle/locks/
Dflags.cocci15 @r exists@
43 expression f <= r.flags;
45 position r.p1, r.p2;
67 p1 << r.p1;
68 p2 << r.p2;
75 p1 << r.p1;
76 p2 << r.p2;
Ddouble_lock.cocci63 @r depends on !balanced exists@
77 p1 << r.p1;
78 p2 << r.p2;
79 lock << r.lock;
86 p1 << r.p1;
87 p2 << r.p2;
88 lock << r.lock;
Dmini_lock.cocci56 position r;
59 for(...;...;...) { <+... return@r ...; ...+> }
65 position r!=looped.r;
73 * return@r ...;
82 p2 << err.r;
92 p2 << err.r;
/scripts/
Dcheckkconfigsymbols.py22 OPERATORS = r"&|\(|\)|\||\!"
23 SYMBOL = r"(?:\w*[A-Z0-9]\w*){2,}"
24 DEF = r"^\s*(?:menu){,1}config\s+(" + SYMBOL + r")\s*"
25 EXPR = r"(?:" + OPERATORS + r"|\s|" + SYMBOL + r")+"
26 DEFAULT = r"default\s+.*?(?:if\s.+){,1}"
27 STMT = r"^\s*(?:if|select|imply|depends\s+on|(?:" + DEFAULT + r"))\s+" + EXPR
28 SOURCE_SYMBOL = r"(?:\W|\b)+[D]{,1}CONFIG_(" + SYMBOL + r")"
31 REGEX_FILE_KCONFIG = re.compile(r".*Kconfig[\.\w+\-]*$")
32 REGEX_SYMBOL = re.compile(r'(?!\B)' + SYMBOL + r'(?!\B)')
37 REGEX_KCONFIG_HELP = re.compile(r"^\s+(help|---help---)\s*$")
[all …]
Dsortextable.c163 static uint32_t (*r)(const uint32_t *); variable
192 return r(&symtab_shndx_start[sym_offs]); in get_secindex()
202 int32_t av = (int32_t)r(a); in compare_relative_table()
203 int32_t bv = (int32_t)r(b); in compare_relative_table()
220 w(r(loc) + i, loc); in x86_sort_relative_table()
221 w(r(loc + 1) + i + 4, loc + 1); in x86_sort_relative_table()
222 w(r(loc + 2) + i + 8, loc + 2); in x86_sort_relative_table()
233 w(r(loc) - i, loc); in x86_sort_relative_table()
234 w(r(loc + 1) - (i + 4), loc + 1); in x86_sort_relative_table()
235 w(r(loc + 2) - (i + 8), loc + 2); in x86_sort_relative_table()
[all …]
Dtags.sh222 local mode=$1 lang tmp=() r
232 for r in "${tmp[@]}"; do
237 case "$r" in
239 r=${r%?/}
242 case "$r" in
245 r="/^[^#]*${r#/}"
Dsortextable.h76 # define _r r
125 secindex_strings = r(&shdr[0].sh_link); in do_func()
130 idx = r(&shdr[i].sh_name); in do_func()
135 if ((r(&shdr[i].sh_type) == SHT_REL || in do_func()
136 r(&shdr[i].sh_type) == SHT_RELA) && in do_func()
137 r(&shdr[i].sh_info) == extab_index) { in do_func()
145 if (r(&shdr[i].sh_type) == SHT_SYMTAB_SHNDX) in do_func()
185 idx = r(&sym->st_name); in do_func()
/scripts/kconfig/
Dmenu.c555 static void get_prompt_str(struct gstr *r, struct property *prop, in get_prompt_str() argument
562 str_printf(r, _("Prompt: %s\n"), _(prop->text)); in get_prompt_str()
595 str_printf(r, _(" Location:\n")); in get_prompt_str()
599 jump->offset = strlen(r->s); in get_prompt_str()
600 str_printf(r, "%*c-> %s", j, ' ', in get_prompt_str()
603 str_printf(r, " (%s [=%s])", menu->sym->name ? in get_prompt_str()
607 str_append(r, "\n"); in get_prompt_str()
624 static void get_symbol_props_str(struct gstr *r, struct symbol *sym, in get_symbol_props_str() argument
632 str_append(r, prefix); in get_symbol_props_str()
635 str_printf(r, " && "); in get_symbol_props_str()
[all …]
/scripts/mod/
Dmodpost.c999 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
1005 Elf_Rela *r, Elf_Sym *sym,
1365 char *r = p; in sec2annotation() local
1382 return r; in sec2annotation()
1567 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler() argument
1575 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1583 to = find_elf_symbol(elf, r->r_addend, sym); in default_mismatch_handler()
1590 fromsec, r->r_offset, fromsym, in default_mismatch_handler()
1609 static void find_extable_entry_size(const char* const sec, const Elf_Rela* r) in find_extable_entry_size() argument
1621 extable_entry_size = r->r_offset * 2; in find_extable_entry_size()
[all …]
/scripts/genksyms/
Dkeywords.c68 struct resword *r = keywords + i; in is_reserved_word() local
69 int l = strlen(r->name); in is_reserved_word()
70 if (len == l && !memcmp(str, r->name, len)) in is_reserved_word()
71 return r->token; in is_reserved_word()
/scripts/coccinelle/null/
Deno.cocci25 @r depends on !patch exists@
35 p1 << r.p1;
36 p2 << r.p2;
43 p1 << r.p1;
44 p2 << r.p2;
/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci49 @r depends on org || report@
58 p << r.p;
59 t << r.T;
65 p << r.p;
66 t << r.T;
Dpool_zalloc-simple.cocci58 @r depends on org || report@
70 p << r.p;
71 x << r.x;
79 p << r.p;
80 x << r.x;
Dkzalloc-simple.cocci59 @r depends on org || report@
72 p << r.p;
73 x << r.x;
81 p << r.p;
82 x << r.x;

123