/scripts/dtc/ |
D | data.c | 8 void data_free(struct data d) in data_free() argument 12 m = d.markers; in data_free() 20 if (d.val) in data_free() 21 free(d.val); in data_free() 24 struct data data_grow_for(struct data d, int xlen) in data_grow_for() argument 30 return d; in data_grow_for() 32 nd = d; in data_grow_for() 36 while ((d.len + xlen) > newsize) in data_grow_for() 39 nd.val = xrealloc(d.val, newsize); in data_grow_for() 46 struct data d; in data_copy_mem() local [all …]
|
D | fstree.c | 13 DIR *d; in read_fstree() local 18 d = opendir(dirname); in read_fstree() 19 if (!d) in read_fstree() 24 while ((de = readdir(d)) != NULL) { in read_fstree() 64 closedir(d); in read_fstree()
|
D | dtc-lexer.l | 177 struct data d; variable 180 d = data_copy_escape_string(yytext+1, yyleng-2); 181 if (d.len == 1) { 185 yylval.integer = (unsigned char)d.val[0]; 187 if (d.len > 2) 190 d.len - 1); 193 data_free(d);
|
D | dtc.h | 130 void data_free(struct data d); 132 struct data data_grow_for(struct data d, int xlen); 138 struct data data_append_data(struct data d, const void *p, int len); 139 struct data data_insert_at_marker(struct data d, struct marker *m, 142 struct data data_append_cell(struct data d, cell_t word); 143 struct data data_append_integer(struct data d, uint64_t word, int bits); 144 struct data data_append_re(struct data d, uint64_t address, uint64_t size); 145 struct data data_append_addr(struct data d, uint64_t addr); 146 struct data data_append_byte(struct data d, uint8_t byte); 147 struct data data_append_zeroes(struct data d, int len); [all …]
|
D | livetree.c | 233 struct data d = empty_data; in add_orphan_node() local 237 d = data_add_marker(d, TYPE_STRING, ref); in add_orphan_node() 238 d = data_append_data(d, ref, strlen(ref) + 1); in add_orphan_node() 240 p = build_property("target-path", d, NULL); in add_orphan_node() 242 d = data_add_marker(d, REF_PHANDLE, ref); in add_orphan_node() 243 d = data_append_integer(d, 0xffffffff, 32); in add_orphan_node() 245 p = build_property("target", d, NULL); in add_orphan_node() 342 struct data d; in append_to_property() local 347 d = data_add_marker(p->val, type, name); in append_to_property() 348 d = data_append_data(d, data, len); in append_to_property() [all …]
|
D | flattree.c | 70 static void bin_emit_data(void *e, struct data d) in bin_emit_data() argument 74 *dtbuf = data_append_data(*dtbuf, d.val, d.len); in bin_emit_data() 149 static void asm_emit_data(void *e, struct data d) in asm_emit_data() argument 153 struct marker *m = d.markers; in asm_emit_data() 158 while ((d.len - off) >= sizeof(uint32_t)) { in asm_emit_data() 159 asm_emit_cell(e, dtb_ld32(d.val + off)); in asm_emit_data() 163 while ((d.len - off) >= 1) { in asm_emit_data() 164 fprintf(f, "\t.byte\t0x%hhx\n", d.val[off]); in asm_emit_data() 168 assert(off == d.len); in asm_emit_data() 220 static int stringtable_insert(struct data *d, const char *str) in stringtable_insert() argument [all …]
|
D | dtc-parser.y | 311 struct data d; variable 319 d = data_copy_file(f, $8); 321 $$ = data_merge($1, d); 327 struct data d = empty_data; variable 329 d = data_copy_file(f, -1); 331 $$ = data_merge($1, d);
|
D | util.c | 29 char *d = xmalloc(len); in xstrdup() local 31 memcpy(d, s, len); in xstrdup() 33 return d; in xstrdup()
|
/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 95 d = hash[3]; 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 …]
|
/scripts/ |
D | bloat-o-meter | 70 d = new.get(name, 0) - old.get(name, 0) 71 if d>0: grow, up = grow+1, up+d 72 if d<0: shrink, down = shrink+1, down-d 73 delta.append((d, name)) 86 for d, n in delta: 87 if d: print("%-40s %7s %7s %+7d" % (n, old.get(n,"-"), new.get(n,"-"), d))
|
D | objdiff | 81 for d in $FILES; do 82 if [ -d "$d" ]; then 83 for f in $(find $d -name '*.o') 88 do_objdump $d
|
D | diffconfig | 41 d = {} 46 d[name] = val 48 d[line[9:-11]] = "n" 49 return d
|
D | documentation-file-ref-check | 27 if (! -d ".git") { 57 my $d = $1; 62 $d =~ s,(.*/).*,$1,; 69 $f = "$d$f.rst";
|
D | stackdelta | 58 printf "%s\t%d\t%d\t%+d\n", $_, $x, $y, $delta;
|
D | cleanpatch | 224 $l = sprintf("@@ -%d,%d +%d,%d @@%s\n",
|
D | headerdep.pl | 131 printf "%s from %s:%d%s\n", 137 printf "%s:%d: warning: recursive header inclusion\n",
|
D | leaking_addresses.pl | 500 if (-d $path) { 523 printf "\nTotal number of results from scan (incl dmesg): %d\n", $total; 612 printf "[%d %s] %s", $length, $_, @$lines[0];
|
D | get_maintainer.pl | 368 if ((-d $value)) { 408 if (-d $path) { 538 if ((-d $file)) { 729 if ((-d $value)) { 1137 && (-d "${lk_path}Documentation") 1138 && (-d "${lk_path}arch") 1139 && (-d "${lk_path}include") 1140 && (-d "${lk_path}drivers") 1141 && (-d "${lk_path}fs") 1142 && (-d "${lk_path}init") [all …]
|
D | tags.sh | 46 ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ') 61 include=$(find ${tree}arch/$1/ -name include -type d -print);
|
/scripts/gdb/linux/ |
D | utils.py | 191 def dentry_name(d): argument 192 parent = d['d_parent'] 193 if parent == d or parent == 0: 195 p = dentry_name(d['d_parent']) + "/" 196 return p + d['d_iname'].string()
|
/scripts/coccinelle/api/ |
D | check_bq27xxx_data.cocci | 20 Printf.printf "%s:%d:%d-%d: %s" p.file p.line p.col p.col_end msg 88 "WARNING %s and %s (line %d) are identical\n" 124 "WARNING %s and %s (line %d) are identical\n" 160 "WARNING %s and %s (line %d) are identical\n"
|
/scripts/coccinelle/locks/ |
D | flags.cocci | 43 @d exists@ 67 @script:python depends on d && org@ 75 @script:python depends on d && report@
|
/scripts/atomic/ |
D | check-atomics.sh | 26 NEWSUM="$(sed '$d' ${LINUXDIR}/include/${header} | sha1sum)"
|
/scripts/gcc-plugins/ |
D | randomize_layout_plugin.c | 142 typedef struct ranctx { u64 a; u64 b; u64 c; u64 d; } ranctx; member 148 x->b = x->c + rot(x->d, 37); in ranval() 149 x->c = x->d + e; in ranval() 150 x->d = e + x->a; in ranval() 151 return x->d; in ranval() 160 x->d = seed[3]; in raninit()
|
/scripts/package/ |
D | builddeb | 205 test -d $debhookdir/$script.d && run-parts --arg="$version" --arg="/$installed_image_path" $debhook…
|