/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/tools/lib/bpf/ |
H A D | libbpf.c | 856 prog_sz = sym->st_size;
|
H A D | linker.c | 435 init_sym->st_size = 0; 815 || sym->st_value != 0 || sym->st_size != 0) { 833 || sym->st_value != 0 || sym->st_size != 0) { 1965 dst_sym->st_size = sym->st_size; 1996 dst_sym->st_size = sym->st_size;
|
/linux-master/tools/mm/ |
H A D | page-types.c | 939 unsigned long long size = st->st_size; 1054 add_addr_range(0, st->st_size / page_size);
|
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/tools/perf/ |
H A D | builtin-script.c | 378 st.st_size / 1024.0 / 1024.0, es->filename, es->samples); 4344 if (!perf_stat.st_size) {
|
H A D | builtin-trace.c | 1424 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) 1429 if (ret < 0 || ret > st.st_size) 4396 if (!stat(filename, &st) && st.st_size) {
|
/linux-master/tools/perf/util/ |
H A D | config.c | 571 if (st.st_size)
|
H A D | copyfile.c | 104 if (st.st_size == 0) { /* /proc? do it slowly... */ 120 err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size);
|
H A D | data.c | 144 file->size = st.st_size; 175 file->size = st.st_size; 222 if (!stat(data->path, &st) && st.st_size) { 287 if (!st.st_size) { 293 data->file.size = st.st_size;
|
H A D | dso.c | 1077 dso->data.file_size = st.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 | probe-file.c | 1002 if (ftruncate(fd, st.st_size) < 0)
|
H A D | srccode.c | 127 h->maplen = st.st_size;
|
H A D | symbol-elf.c | 1786 f = symbol__new(sym.st_value, sym.st_size,
|
H A D | symbol-minimal.c | 242 buf_size = stbuf.st_size;
|
H A D | zlib.c | 39 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/tools/power/acpi/tools/pfrut/ |
H A D | pfrut.c | 342 addr_map_capsule = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, 353 ret = write(fd_update, (char *)addr_map_capsule, st.st_size); 366 munmap(addr_map_capsule, st.st_size);
|
/linux-master/tools/spi/ |
H A D | spidev_test.c | 368 tx = malloc(sb.st_size); 372 rx = malloc(sb.st_size); 376 bytes = read(tx_fd, tx, sb.st_size); 377 if (bytes != sb.st_size) 380 transfer(fd, tx, rx, sb.st_size);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | ksyms.c | 34 btf_size = st.st_size;
|
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/cgroup/ |
H A D | cgroup_util.c | 481 size += st.st_size;
|
/linux-master/tools/testing/selftests/drivers/sdsi/ |
H A D | sdsi_test.py | 106 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
|