Searched refs:st (Results 1 – 9 of 9) sorted by relevance
/scripts/kconfig/ |
D | expr.h | 206 #define for_all_properties(sym, st, tok) \ argument 207 for (st = sym->prop; st; st = st->next) \ 208 if (st->type == (tok)) 209 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument 210 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument 211 #define for_all_prompts(sym, st) \ argument 212 for (st = sym->prop; st; st = st->next) \ 213 if (st->text)
|
D | confdata.c | 24 struct stat st; in is_present() local 26 return !stat(path, &st); in is_present() 32 struct stat st; in is_dir() local 34 if (stat(path, &st)) in is_dir() 37 return S_ISDIR(st.st_mode); in is_dir()
|
/scripts/dtc/ |
D | fstree.c | 15 struct stat st; in read_fstree() local 33 if (lstat(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 | 87 $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()
|
/scripts/basic/ |
D | fixdep.c | 268 struct stat st; in read_file() local 278 if (fstat(fd, &st) < 0) { in read_file() 283 buf = malloc(st.st_size + 1); in read_file() 288 if (read(fd, buf, st.st_size) != st.st_size) { in read_file() 292 buf[st.st_size] = '\0'; in read_file()
|
/scripts/mod/ |
D | modpost.c | 424 struct stat st; in grab_file() local 431 if (fstat(fd, &st)) in grab_file() 434 *size = st.st_size; in grab_file() 2403 struct stat st; in write_if_changed() local 2409 if (fstat(fileno(file), &st) < 0) in write_if_changed() 2412 if (st.st_size != b->pos) in write_if_changed()
|