/scripts/dtc/ |
D | checks.c | 10 #define TRACE(c, ...) \ argument 12 fprintf(stderr, "=== %s: ", (c)->name); \ 17 #define TRACE(c, fmt, ...) do { } while (0) argument 29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node); 61 static inline void PRINTF(5, 6) check_msg(struct check *c, struct dt_info *dti, in check_msg() argument 71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2))) in check_msg() 90 (c->error) ? "ERROR" : "Warning", c->name); in check_msg() 119 #define FAIL(c, dti, node, ...) \ argument 121 TRACE((c), "\t\tFAILED at %s:%d", __FILE__, __LINE__); \ 122 (c)->status = FAILED; \ [all …]
|
D | livetree.c | 451 struct node *c; in get_property_by_label() local 463 for_each_child(tree, c) { in get_property_by_label() 464 prop = get_property_by_label(c, label, node); in get_property_by_label() 478 struct node *c; in get_marker_label() local 490 for_each_child(tree, c) { in get_marker_label() 491 m = get_marker_label(c, label, node, prop); in get_marker_label() 769 struct node *c; in sort_node() local 773 for_each_child_withdel(node, c) in sort_node() 774 sort_node(c); in sort_node() 811 struct node *c; in any_label_tree() local [all …]
|
D | treesource.c | 42 static bool isstring(char c) in isstring() argument 44 return (isprint((unsigned char)c) in isstring() 45 || (c == '\0') in isstring() 46 || strchr("\a\b\t\n\v\f\r", c)); in isstring() 60 char c = *s++; in write_propval_string() local 61 switch (c) { in write_propval_string() 93 if (isprint((unsigned char)c)) in write_propval_string() 94 fprintf(f, "%c", c); in write_propval_string() 96 fprintf(f, "\\x%02"PRIx8, c); in write_propval_string()
|
D | dtc.h | 217 #define for_each_child_withdel(n, c) \ argument 218 for ((c) = (n)->children; (c); (c) = (c)->next_sibling) 220 #define for_each_child(n, c) \ argument 221 for_each_child_withdel(n, c) \ 222 if (!(c)->deleted)
|
/scripts/coccinelle/iterators/ |
D | use_after_iter.cocci | 22 identifier c,member; 43 list_for_each_entry@p1(c,...,member) { ... when != break; 48 list_for_each_entry_reverse@p1(c,...,member) { ... when != break; 53 list_for_each_entry_continue@p1(c,...,member) { ... when != break; 58 list_for_each_entry_continue_reverse@p1(c,...,member) { ... when != break; 63 list_for_each_entry_from@p1(c,...,member) { ... when != break; 68 list_for_each_entry_safe@p1(c,...,member) { ... when != break; 73 list_for_each_entry_safe_continue@p1(c,...,member) { ... when != break; 78 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break; 83 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break; [all …]
|
/scripts/mod/ |
D | sumversion.c | 67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 68 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) argument 69 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s)) argument 90 uint32_t a, b, c, d; in md4_transform() local 94 c = hash[2]; in md4_transform() 97 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 98 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 99 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 100 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 101 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
D | mk_elfconfig.c | 11 union { short s; char c[2]; } endian_test; in main() member 49 if (memcmp(endian_test.c, "\x01\x02", 2) == 0) in main() 51 else if (memcmp(endian_test.c, "\x02\x01", 2) == 0) in main()
|
/scripts/gdb/linux/ |
D | lists.py | 65 c = head 67 gdb.write("Starting with: {}\n".format(c)) 72 p = c['prev'].dereference() 73 n = c['next'].dereference() 75 if p['next'] != c.address: 79 current_addr=c.address, 80 current=c, 88 current_addr=c.address, 89 current=c 93 if n['prev'] != c.address: [all …]
|
/scripts/ |
D | cleanfile | 25 my($i, $c); 28 $c = substr($li, $i, 1); 29 if ($c eq "\t") { 35 } elsif ($c eq "\n" || $c eq "\r") { 39 $lo .= $c; 41 } elsif ($c eq " ") { 47 $lo .= $c; 60 my($c, $i); 65 $c = substr($li,$i,1); 66 if ($c eq "\t") { [all …]
|
D | cleanpatch | 25 my($i, $c); 28 $c = substr($li, $i, 1); 29 if ($c eq "\t") { 35 } elsif ($c eq "\n" || $c eq "\r") { 39 $lo .= $c; 41 } elsif ($c eq " ") { 47 $lo .= $c; 60 my($c, $i); 65 $c = substr($li,$i,1); 66 if ($c eq "\t") { [all …]
|
D | gcc-version.sh | 17 MAJOR=$(echo __GNUC__ | $compiler -E -x c - | tail -n 1) 18 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -x c - | tail -n 1) 19 PATCHLEVEL=$(echo __GNUC_PATCHLEVEL__ | $compiler -E -x c - | tail -n 1)
|
D | clang-version.sh | 16 MAJOR=$(echo __clang_major__ | $compiler -E -x c - | tail -n 1) 17 MINOR=$(echo __clang_minor__ | $compiler -E -x c - | tail -n 1) 18 PATCHLEVEL=$(echo __clang_patchlevel__ | $compiler -E -x c - | tail -n 1)
|
D | headers_install.sh | 94 for c in $configs 100 if echo "$INFILE:$c" | grep -q "$ignore$"; then 107 echo "error: $INFILE: leak $c to user-space" >&2
|
D | kallsyms.c | 359 int c, rlen, total=0; in expand_symbol() local 362 c = *data; in expand_symbol() 365 if (best_table[c][0]==c && best_table_len[c]==1) { in expand_symbol() 366 *result++ = c; in expand_symbol() 370 rlen = expand_symbol(best_table[c], best_table_len[c], result); in expand_symbol() 639 unsigned int i, j, c; in insert_real_symbols_in_table() local 643 c = table[i]->sym[j]; in insert_real_symbols_in_table() 644 best_table[c][0]=c; in insert_real_symbols_in_table() 645 best_table_len[c]=1; in insert_real_symbols_in_table()
|
D | Makefile.host | 8 $(obj)/%.lex.c: $(src)/%.l FORCE 14 cmd_bison = $(YACC) -o $(basename $@).c --defines=$(basename $@).h -t -l $< 16 $(obj)/%.tab.c $(obj)/%.tab.h: $(src)/%.y FORCE 94 $(host-csingle): $(obj)/%: $(src)/%.c FORCE 111 $(host-cobjs): $(obj)/%.o: $(src)/%.c FORCE
|
D | Makefile.build | 116 $(obj)/%.s: $(src)/%.c FORCE 122 $(obj)/%.i: $(src)/%.c FORCE 138 $(obj)/%.symtypes : $(src)/%.c FORCE 146 $(obj)/%.ll: $(src)/%.c FORCE 205 recordmcount_source := $(srctree)/scripts/recordmcount.c \ 272 $(obj)/%.o: $(src)/%.c $(recordmcount_source) $$(objtool_dep) FORCE 289 $(obj)/%.lst: $(src)/%.c FORCE 373 $(basename $@).c $(basename $@).h 375 $(obj)/%.asn1.c $(obj)/%.asn1.h: $(src)/%.asn1 $(objtree)/scripts/asn1_compiler 466 targets += $(call intermediate_targets, .asn1.o, .asn1.c .asn1.h) \ [all …]
|
/scripts/coccinelle/misc/ |
D | orplus.cocci | 18 constant c,c1; 24 c1 + c - 1 26 c1@i1 +@p c@i 30 constant r.c, r.c1; 36 e | c@i 38 e & c@i 40 e |= c@i 42 e &= c@i
|
/scripts/atomic/fallbacks/ |
D | inc_unless_negative | 5 ${int} c = ${arch}${atomic}_read(v); 8 if (unlikely(c < 0)) 10 } while (!${arch}${atomic}_try_cmpxchg(v, &c, c + 1));
|
D | dec_unless_positive | 5 ${int} c = ${arch}${atomic}_read(v); 8 if (unlikely(c > 0)) 10 } while (!${arch}${atomic}_try_cmpxchg(v, &c, c - 1));
|
D | fetch_add_unless | 14 ${int} c = ${arch}${atomic}_read(v); 17 if (unlikely(c == u)) 19 } while (!${arch}${atomic}_try_cmpxchg(v, &c, c + a)); 21 return c;
|
D | dec_if_positive | 5 ${int} dec, c = ${arch}${atomic}_read(v); 8 dec = c - 1; 11 } while (!${arch}${atomic}_try_cmpxchg(v, &c, dec));
|
/scripts/coccinelle/api/alloc/ |
D | pool_zalloc-simple.cocci | 35 expression a,b,c; 39 - x = dma_pool_alloc(a,b,c); 40 + x = dma_pool_zalloc(a,b,c); 46 expression a,b,c; 50 - x = pci_pool_alloc(a,b,c); 51 + x = pci_pool_zalloc(a,b,c); 61 expression a,b,c; 66 x = @p\(dma_pool_alloc\|pci_pool_alloc\)(a,b,c);
|
/scripts/basic/ |
D | fixdep.c | 127 static void xputchar(int c) in xputchar() argument 131 ret = putchar(c); in xputchar() 143 int c, prev_c = '/', i; in print_dep() local 147 c = m[i]; in print_dep() 148 if (c == '_') in print_dep() 149 c = '/'; in print_dep() 151 c = tolower(c); in print_dep() 152 if (c != '/' || prev_c != '/') in print_dep() 153 xputchar(c); in print_dep() 154 prev_c = c; in print_dep()
|
/scripts/coccinelle/tests/ |
D | unsigned_lesser_than_zero.cocci | 39 expression c, e, v; 50 (\( v@p < 0 \| v@p <= 0 \)) || ... || (\( v >= c \| v > c \)) 52 (\( v >= c \| v > c \)) || ... || (\( v@p < 0 \| v@p <= 0 \)) 54 (\( v@p >= 0 \| v@p > 0 \)) && ... && (\( v < c \| v <= c \)) 56 ((\( v < c \| v <= c \) && ... && \( v@p >= 0 \| v@p > 0 \)))
|
/scripts/dtc/libfdt/ |
D | fdt_addresses.c | 16 const fdt32_t *c; in fdt_cells() local 20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells() 21 if (!c) in fdt_cells() 24 if (len != sizeof(*c)) in fdt_cells() 27 val = fdt32_to_cpu(*c); in fdt_cells()
|