/linux-master/arch/um/drivers/ |
H A D | vector_user.c | 832 bpf_prog->len = statbuf.st_size / sizeof(struct sock_filter); 839 bpf = uml_kmalloc(statbuf.st_size, UM_GFP_KERNEL); 845 res = os_read_file(ffd, bpf, statbuf.st_size); 846 if (res < statbuf.st_size) {
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 410 clk_name = malloc(st.st_size); 413 TEST_ASSERT(fgets(clk_name, st.st_size, fp), "failed to read clocksource file: %d",
|
/linux-master/tools/perf/util/ |
H A D | symbol-minimal.c | 242 buf_size = stbuf.st_size;
|
H A D | genelf.c | 89 .st_size = 0, 96 .st_size = 0, /* for now */ 387 symtab[1].st_size = csize;
|
H A D | dso.c | 1077 dso->data.file_size = st.st_size;
|
H A D | config.c | 571 if (st.st_size)
|
/linux-master/usr/ |
H A D | gen_init_cpio.c | 369 if (buf.st_size > 0xffffffff) { 375 if (do_csum && cpio_mkfile_csum(file, buf.st_size, &csum) < 0) { 384 size = buf.st_size;
|
/linux-master/tools/testing/selftests/sgx/ |
H A D | load.c | 63 bin = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 70 encl->bin_size = sb.st_size;
|
/linux-master/scripts/ |
H A D | recordmcount.c | 58 static struct stat sb; /* Remember .st_size, etc. */ 81 munmap(file_map, sb.st_size); 99 file_ptr = file_map + (sb.st_size - offset); 170 * This preserves most aspects of consistency (all except .st_size) 184 sb.st_size = 0; 199 file_map = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, 203 file_map = umalloc(sb.st_size); 208 if (read(fd_map, file_map, sb.st_size) != sb.st_size) { 220 file_end = file_map + sb.st_size; [all...] |
/linux-master/arch/um/os-Linux/ |
H A D | start_up.c | 333 size = (buf.st_size + UM_KERN_PAGE_SIZE) & ~(UM_KERN_PAGE_SIZE - 1);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | verify_pkcs7_sig.c | 153 if (st.st_size > sizeof(data_item->sig)) { 158 data_item->sig_len = st.st_size; 217 modlen = st.st_size; 224 mod = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 260 munmap(mod, st.st_size); 418 return st.st_size;
|
/linux-master/tools/testing/selftests/x86/ |
H A D | lam.c | 587 off_t file_sz = st.st_size;
|
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 801 file_size = stat_buf.st_size;
|
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 1071 buf->st_size = statx.stx_size;
|
H A D | types.h | 193 off_t st_size; /* total size, in bytes */ member in struct:stat
|
/linux-master/fs/ |
H A D | stat.c | 346 tmp.st_size = stat->size; 423 tmp.st_size = stat->size; 572 tmp.st_size = stat->size; 738 tmp.st_size = stat->size;
|
/linux-master/net/9p/ |
H A D | protocol.c | 494 &stbuf->st_rdev, &stbuf->st_size,
|
/linux-master/tools/testing/selftests/mm/ |
H A D | pagemap_ioctl.c | 1161 fmem = mmap(NULL, sbuf.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 1165 tmp_buf = malloc(sbuf.st_size); 1166 memcpy(tmp_buf, fmem, sbuf.st_size); 1168 ret = pagemap_ioctl(fmem, sbuf.st_size, vec, vec_size, 0, 0, 1172 LEN(vec[0]) == ceilf((float)sbuf.st_size/page_size) && 1176 munmap(fmem, sbuf.st_size); 1600 fmem = mmap(NULL, sbuf.st_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); 1604 wp_init(fmem, sbuf.st_size); 1605 wp_addr_range(fmem, sbuf.st_size); 1607 base_tests("File memory testing:", fmem, sbuf.st_size, [all...] |
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 828 count = sb.st_size;
|
/linux-master/tools/mm/ |
H A D | page_owner_sort.c | 803 max_size = st.st_size / 100; /* hack ... */
|
/linux-master/tools/objtool/ |
H A D | elf.c | 408 sym->len = sym->sym.st_size; 557 * pfunc->sym.st_size. 808 // st_size 0 839 sym->sym.st_size = size;
|
/linux-master/arch/x86/boot/tools/ |
H A D | build.c | 217 if (_edata != sb.st_size) 219 sb.st_size);
|
/linux-master/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 2298 u32 st_size; member in struct:sky2_hw
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | core-pkey.c | 185 return buf.st_mtime >= info->core_time ? buf.st_size : TEST_FAIL;
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 481 size += st.st_size;
|