Searched refs:st_size (Results 76 - 100 of 114) sorted by last modified time

12345

/linux-master/arch/mips/include/asm/
H A Dcompat.h45 compat_off_t st_size; member in struct:compat_stat
/linux-master/arch/mips/tools/
H A Dloongson3-llsc-check.c263 vmlinux = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, vmlinux_fd, 0);
302 munmap(vmlinux, st.st_size);
/linux-master/arch/um/os-Linux/
H A Dfile.c34 .ust_size = src->st_size, /* total size, in bytes */
/linux-master/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py106 assert st.st_size == 72
109 assert st.st_size == 1024
112 assert st.st_size == 1024
115 assert st.st_size == 4096
223 assert os.stat('/sys/kernel/debug/kmemleak').st_size == 0
/linux-master/samples/nitro_enclaves/
H A Dne_ioctl_sample.c311 enclave_image_size = image_stat_buf.st_size;
/linux-master/tools/bootconfig/
H A Dmain.c163 ret = load_xbc_fd(fd, buf, stat.st_size);
188 if (stat.st_size < 8 + BOOTCONFIG_MAGIC_LEN)
213 if (stat.st_size < size + 8 + BOOTCONFIG_MAGIC_LEN) {
218 if (lseek(fd, stat.st_size - (size + 8 + BOOTCONFIG_MAGIC_LEN),
308 if (ret == 0 && st.st_size <= XBC_DATA_MAX) {
348 ret = ftruncate(fd, stat.st_size
428 total_size = stat.st_size + size + sizeof(uint32_t) * 2 + BOOTCONFIG_MAGIC_LEN;
465 if (ftruncate(fd, stat.st_size) < 0) {
/linux-master/tools/perf/util/
H A Dprobe-file.c1002 if (ftruncate(fd, st.st_size) < 0)
H A Dsrccode.c127 h->maplen = st.st_size;
H A Dcopyfile.c104 if (st.st_size == 0) { /* /proc? do it slowly... */
120 err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size);
H A Dzlib.c39 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0);
47 zs.avail_in = stbuf.st_size;
76 munmap(ptr, stbuf.st_size);
/linux-master/scripts/
H A Drecordmcount.h282 shstr->sh_offset = _w(sb.st_size);
283 t += sb.st_size;
290 if (ulseek(sb.st_size, SEEK_SET) < 0)
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c266 elf.begin = mmap(0, stat.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
276 assert_ge(stat.st_size, sizeof(*elf.ehdr), "%lu");
/linux-master/tools/bpf/
H A Dbpf_dbg.c966 pcap_map_size = sb.st_size;
/linux-master/arch/sparc/boot/
H A Dpiggyback.c231 st4(buffer + 12, s.st_size);
243 s.st_size);
/linux-master/arch/mips/vdso/
H A Dgenvdso.c129 addr = mmap(NULL, stat.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd,
186 *_size = stat.st_size;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dksyms.c34 btf_size = st.st_size;
/linux-master/arch/x86/kernel/
H A Dsys_ia32.c148 unsafe_put_user(stat->size, &ubuf->st_size, Efault);
/linux-master/tools/testing/selftests/splice/
H A Dsplice_read.c39 if (statbuf.st_size > INT_MAX) {
44 size = statbuf.st_size;
/linux-master/arch/sparc/kernel/
H A Dsys_sparc32.c77 err |= put_user(stat->size, &statbuf->st_size);
/linux-master/arch/sh/include/uapi/asm/
H A Dstat.h13 unsigned long st_size; member in struct:__old_kernel_stat
27 unsigned long st_size; member in struct:stat
59 long long st_size; member in struct:stat64
/linux-master/scripts/dtc/
H A Dfstree.c48 st.st_size),
/linux-master/tools/cgroup/
H A Diocost_coef_gen.py76 if os.path.isfile(path) and os.stat(path).st_size == size:
/linux-master/arch/mips/boot/compressed/
H A Dcalc_vmlinuz_load_addr.c41 vmlinux_size = (uint64_t)sb.st_size;
/linux-master/tools/firmware/
H A Dihex2fw.c111 data = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, infd, 0);
126 if (process_ihex(data, st.st_size))
/linux-master/arch/arm64/include/asm/
H A Dstat.h34 compat_s64 st_size; member in struct:stat64

Completed in 557 milliseconds

12345