Home
last modified time | relevance | path

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

/scripts/kconfig/
Dexpr.h156 #define for_all_properties(sym, st, tok) \ argument
157 for (st = sym->prop; st; st = st->next) \
158 if (st->type == (tok))
159 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument
160 #define for_all_choices(sym, st) for_all_properties(sym, st, P_CHOICE) argument
161 #define for_all_prompts(sym, st) \ argument
162 for (st = sym->prop; st; st = st->next) \
163 if (st->text)
Dconfdata.c747 struct stat st; in conf_write() local
750 if (!stat(name, &st) && S_ISDIR(st.st_mode)) { in conf_write()
/scripts/basic/
Dfixdep.c283 struct stat st; in do_config_file() local
293 fstat(fd, &st); in do_config_file()
294 if (st.st_size == 0) { in do_config_file()
298 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in do_config_file()
305 parse_config_file(map, st.st_size); in do_config_file()
307 munmap(map, st.st_size); in do_config_file()
401 struct stat st; in print_deps() local
411 if (fstat(fd, &st) < 0) { in print_deps()
416 if (st.st_size == 0) { in print_deps()
421 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in print_deps()
[all …]
/scripts/dtc/
Dfstree.c30 struct stat st; in read_fstree() local
48 if (lstat(tmpnam, &st) < 0) in read_fstree()
51 if (S_ISREG(st.st_mode)) { in read_fstree()
63 st.st_size)); in read_fstree()
67 } else if (S_ISDIR(st.st_mode)) { in read_fstree()
/scripts/
Dsign-file54 my @st = stat(FD);
55 die $file if (!@st);
56 $len = read(FD, $contents, $st[7]) || die $file;
58 die "$file: Wanted length ", $st[7], ", got ", $len, "\n"
59 if ($len != $st[7]);
Dcheckstack.pl90 $re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o;
Dasn1_compiler.c541 struct stat st; in main() local
563 if (fstat(fd, &st) < 0) { in main()
568 if (!(buffer = malloc(st.st_size + 1))) { in main()
573 if ((readlen = read(fd, buffer, st.st_size)) < 0) { in main()
583 if (readlen != st.st_size) { in main()
/scripts/mod/
Dmodpost.c346 struct stat st; in grab_file() local
353 if (fstat(fd, &st)) in grab_file()
356 *size = st.st_size; in grab_file()
2035 struct stat st; in write_if_changed() local
2041 if (fstat(fileno(file), &st) < 0) in write_if_changed()
2044 if (st.st_size != b->pos) in write_if_changed()