Searched refs:st (Results 1 – 9 of 9) sorted by relevance
/scripts/kconfig/ |
A D | expr.h | 200 #define for_all_properties(sym, st, tok) \ argument 201 for (st = sym->prop; st; st = st->next) \ 202 if (st->type == (tok)) 203 #define for_all_defaults(sym, st) for_all_properties(sym, st, P_DEFAULT) argument 204 #define for_all_prompts(sym, st) \ argument 205 for (st = sym->prop; st; st = st->next) \ 206 if (st->text)
|
A D | confdata.c | 30 struct stat st; in is_present() local 32 return !stat(path, &st); in is_present() 38 struct stat st; in is_dir() local 40 if (stat(path, &st)) in is_dir() 43 return S_ISDIR(st.st_mode); in is_dir()
|
/scripts/dtc/ |
A 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/ |
A 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]);
|
A 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()
|
A D | checkstack.pl | 92 $re = qr/.*st[dw]u.*r1,-($x{1,8})\(r1\)/o;
|
A 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/ |
A D | fixdep.c | 215 struct stat st; in read_file() local 225 if (fstat(fd, &st) < 0) { in read_file() 230 buf = xmalloc(st.st_size + 1); in read_file() 231 if (read(fd, buf, st.st_size) != st.st_size) { in read_file() 235 buf[st.st_size] = '\0'; in read_file()
|
/scripts/mod/ |
A D | modpost.c | 117 struct stat st; in read_text_file() local 128 if (fstat(fd, &st) < 0) { in read_text_file() 133 buf = xmalloc(st.st_size + 1); in read_text_file() 135 nbytes = st.st_size; in read_text_file() 148 buf[st.st_size] = '\0'; in read_text_file() 380 struct stat st; in grab_file() local 387 if (fstat(fd, &st)) in grab_file() 390 *size = st.st_size; in grab_file() 2036 struct stat st; in write_if_changed() local 2042 if (fstat(fileno(file), &st) < 0) in write_if_changed() [all …]
|
Completed in 19 milliseconds