Home
last modified time | relevance | path

Searched refs:st_size (Results 1 – 25 of 101) sorted by relevance

12345

/Linux-v5.4/arch/sh/include/uapi/asm/
Dstat.h13 unsigned long st_size; member
30 unsigned long st_size; member
60 long long st_size; member
87 unsigned long st_size; member
119 long long st_size; member
/Linux-v5.4/arch/x86/include/uapi/asm/
Dstat.h18 unsigned long st_size; member
57 long long st_size; member
93 __kernel_long_t st_size; member
126 unsigned long st_size; member
131 unsigned int st_size; member
/Linux-v5.4/arch/s390/include/uapi/asm/
Dstat.h20 unsigned long st_size; member
36 unsigned long st_size; member
63 long long st_size; member
88 unsigned long st_size; member
/Linux-v5.4/arch/sparc/include/uapi/asm/
Dstat.h17 off_t st_size; member
37 long st_size; member
60 off_t st_size; member
89 long long st_size; member
/Linux-v5.4/tools/build/
Dfixdep.c138 if (st.st_size == 0) { in print_deps()
143 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in print_deps()
150 parse_dep_file(map, st.st_size); in print_deps()
152 munmap(map, st.st_size); in print_deps()
/Linux-v5.4/arch/m68k/include/uapi/asm/
Dstat.h13 unsigned long st_size; member
29 unsigned long st_size; member
61 long long st_size; member
/Linux-v5.4/arch/arm/include/uapi/asm/
Dstat.h13 unsigned long st_size; member
39 unsigned long st_size; member
72 long long st_size; member
/Linux-v5.4/arch/arm/vdso/
Dvdsomunge.c145 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); in main()
183 if (ftruncate(outfd, stat.st_size) != 0) in main()
186 outbuf = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, in main()
193 memcpy(outbuf, inbuf, stat.st_size); in main()
203 if (msync(outbuf, stat.st_size, MS_SYNC) != 0) in main()
/Linux-v5.4/arch/powerpc/include/uapi/asm/
Dstat.h23 unsigned long st_size; member
43 off_t st_size; member
69 long long st_size; /* Size of file, in bytes. */ member
/Linux-v5.4/scripts/
Drecordmcount.c67 munmap(file_map, sb.st_size); in mmap_cleanup()
85 file_ptr = file_map + (sb.st_size - offset); in ulseek()
166 sb.st_size = 0; in mmap_file()
181 file_map = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, in mmap_file()
185 file_map = umalloc(sb.st_size); in mmap_file()
190 if (read(fd_map, file_map, sb.st_size) != sb.st_size) { in mmap_file()
202 file_end = file_map + sb.st_size; in mmap_file()
331 n = write(fd_map, file_map, sb.st_size); in write_file()
332 if (n != sb.st_size) { in write_file()
/Linux-v5.4/arch/mips/include/uapi/asm/
Dstat.h29 off_t st_size; member
67 long long st_size; member
108 off_t st_size; member
/Linux-v5.4/tools/perf/util/
Dzlib.c39 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in gzip_decompress_to_file()
47 zs.avail_in = stbuf.st_size; in gzip_decompress_to_file()
76 munmap(ptr, stbuf.st_size); in gzip_decompress_to_file()
Ddata.c120 file->size = st.st_size; in perf_data__open_dir()
149 file->size = st.st_size; in perf_data__update_dir()
183 if (!stat(data->path, &st) && st.st_size) { in check_backup()
247 if (!st.st_size) { in open_file_read()
253 data->file.size = st.st_size; in open_file_read()
Dcopyfile.c104 if (st.st_size == 0) { /* /proc? do it slowly... */ in copyfile_mode_ns()
120 err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size); in copyfile_mode_ns()
/Linux-v5.4/arch/alpha/include/uapi/asm/
Dstat.h13 long st_size; member
30 long st_size; member
/Linux-v5.4/arch/ia64/include/uapi/asm/
Dstat.h19 unsigned long st_size; member
42 unsigned long st_size; member
/Linux-v5.4/arch/xtensa/include/uapi/asm/
Dstat.h25 long st_size; member
46 long long st_size; /* Size of file, in bytes. */ member
/Linux-v5.4/include/uapi/asm-generic/
Dstat.h33 long st_size; /* Size of file, in bytes. */ member
58 long long st_size; /* Size of file, in bytes. */ member
/Linux-v5.4/arch/parisc/include/uapi/asm/
Dstat.h15 signed int st_size; member
55 signed long long st_size; member
/Linux-v5.4/scripts/basic/
Dfixdep.c283 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()
/Linux-v5.4/tools/spi/
Dspidev_test.c332 tx = malloc(sb.st_size); in transfer_file()
336 rx = malloc(sb.st_size); in transfer_file()
340 bytes = read(tx_fd, tx, sb.st_size); in transfer_file()
341 if (bytes != sb.st_size) in transfer_file()
344 transfer(fd, tx, rx, sb.st_size); in transfer_file()
/Linux-v5.4/tools/perf/pmu-events/
Djson.c62 *size = st.st_size; in mapfile()
64 (st.st_size + ps - 1) & ~(ps - 1), in mapfile()
/Linux-v5.4/arch/sparc/vdso/
Dvma.c128 osym->st_size = nsym->st_size; in patchsym64()
196 osym->st_size = nsym->st_size; in patchsym32()
/Linux-v5.4/arch/sparc/include/asm/
Dcompat.h34 compat_off_t st_size; member
61 long long st_size; member
/Linux-v5.4/arch/sparc/boot/
Dpiggyback.c227 st4(buffer + 12, s.st_size); in main()
239 s.st_size); in main()

12345