Home
last modified time | relevance | path

Searched refs:st (Results 1 – 9 of 9) sorted by relevance

/scripts/kconfig/
Dexpr.h205 #define for_all_properties(sym, st, tok) \ argument
206 for (st = sym->prop; st; st = st->next) \
207 if (st->type == (tok))
208 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
209 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
210 #define for_all_prompts(sym, st) \ argument
211 for (st = sym->prop; st; st = st->next) \
212 if (st->text)
Dconfdata.c24 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/
Dfstree.c15 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/
Dextract-module-sig.pl32 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]);
Dinsert-sys-cert.c203 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()
Dcheckstack.pl95 $re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o;
Dasn1_compiler.c562 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/
Dfixdep.c263 struct stat st; in read_file() local
273 if (fstat(fd, &st) < 0) { in read_file()
278 buf = malloc(st.st_size + 1); in read_file()
283 if (read(fd, buf, st.st_size) != st.st_size) { in read_file()
287 buf[st.st_size] = '\0'; in read_file()
/scripts/mod/
Dmodpost.c98 struct stat st; in read_text_file() local
109 if (fstat(fd, &st) < 0) { in read_text_file()
114 buf = NOFAIL(malloc(st.st_size + 1)); in read_text_file()
116 nbytes = st.st_size; in read_text_file()
129 buf[st.st_size] = '\0'; in read_text_file()
453 struct stat st; in grab_file() local
460 if (fstat(fd, &st)) in grab_file()
463 *size = st.st_size; in grab_file()
2420 struct stat st; in write_if_changed() local
2426 if (fstat(fileno(file), &st) < 0) in write_if_changed()
[all …]