Searched refs:st (Results 1 – 10 of 10) sorted by relevance
/scripts/kconfig/ |
D | expr.h | 202 #define for_all_properties(sym, st, tok) \ argument 203 for (st = sym->prop; st; st = st->next) \ 204 if (st->type == (tok)) 205 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument 206 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument 207 #define for_all_prompts(sym, st) \ argument 208 for (st = sym->prop; st; st = st->next) \ 209 if (st->text)
|
D | confdata.c | 26 struct stat st; in is_present() local 28 return !stat(path, &st); in is_present() 34 struct stat st; in is_dir() local 36 if (stat(path, &st)) in is_dir() 39 return S_ISDIR(st.st_mode); in is_dir()
|
/scripts/dtc/ |
D | fstree.c | 15 struct stat st; in read_fstree() local 33 if (stat(tmpname, &st) < 0) in read_fstree() 36 if (S_ISREG(st.st_mode)) { in read_fstree() 48 st.st_size), in read_fstree() 53 } else if (S_ISDIR(st.st_mode)) { in read_fstree()
|
/scripts/ |
D | extract-module-sig.pl | 32 my @st = stat(FD); 33 die "$modfile" unless (@st); 35 my $len = sysread(FD, $buf, $st[7]); 37 die "Short read on $modfile\n" unless ($len == $st[7]);
|
D | insert-sys-cert.c | 203 struct stat st; in map_file() local 212 if (fstat(fd, &st)) { in map_file() 217 *size = st.st_size; in map_file() 230 struct stat st; in read_file() local 239 if (fstat(fd, &st)) { in read_file() 244 *size = st.st_size; in read_file()
|
D | checkstack.pl | 95 $re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o;
|
D | asn1_compiler.c | 562 struct stat st; in main() local 600 if (fstat(fd, &st) < 0) { in main() 605 if (!(buffer = malloc(st.st_size + 1))) { in main() 610 if ((readlen = read(fd, buffer, st.st_size)) < 0) { in main() 620 if (readlen != st.st_size) { in main()
|
D | get_abi.pl | 607 my $st;
|
/scripts/basic/ |
D | fixdep.c | 216 struct stat st; in read_file() local 226 if (fstat(fd, &st) < 0) { in read_file() 231 buf = malloc(st.st_size + 1); in read_file() 236 if (read(fd, buf, st.st_size) != st.st_size) { in read_file() 240 buf[st.st_size] = '\0'; in read_file()
|
/scripts/mod/ |
D | modpost.c | 114 struct stat st; in read_text_file() local 125 if (fstat(fd, &st) < 0) { in read_text_file() 130 buf = NOFAIL(malloc(st.st_size + 1)); in read_text_file() 132 nbytes = st.st_size; in read_text_file() 145 buf[st.st_size] = '\0'; in read_text_file() 400 struct stat st; in grab_file() local 407 if (fstat(fd, &st)) in grab_file() 410 *size = st.st_size; in grab_file() 2043 struct stat st; in write_if_changed() local 2049 if (fstat(fileno(file), &st) < 0) in write_if_changed() [all …]
|