Searched refs:file_sz (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/tools/bpf/bpftool/ |
D | gen.c | 274 size_t i, map_cnt = 0, prog_cnt = 0, file_sz, mmap_sz; in do_skeleton() local 300 file_sz = st.st_size; in do_skeleton() 301 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_skeleton() 315 obj = bpf_object__open_mem(obj_data, file_sz, &opts); in do_skeleton() 555 file_sz); in do_skeleton() 558 for (i = 0, len = 0; i < file_sz; i++) { in do_skeleton()
|
/Linux-v5.10/arch/x86/boot/tools/ |
D | build.c | 232 static void update_pecoff_text(unsigned int text_start, unsigned int file_sz, in update_pecoff_text() argument 236 unsigned int text_sz = file_sz - text_start; in update_pecoff_text() 237 unsigned int bss_sz = init_sz - file_sz; in update_pecoff_text() 257 put_unaligned_le32(file_sz - 512 + bss_sz, &buf[pe_header + 0x1c]); in update_pecoff_text() 309 unsigned int file_sz, in update_pecoff_text() argument
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | tls.c | 1008 const size_t file_sz = data / 100; in test_mutliproc() local 1011 char buf[file_sz]; in test_mutliproc() 1023 memset(buf, 0xac, file_sz); in test_mutliproc() 1024 ASSERT_EQ(write(fd, buf, file_sz), file_sz); in test_mutliproc() 1069 left > file_sz ? file_sz : left); in test_mutliproc() 1072 left > file_sz ? file_sz : left, 0); in test_mutliproc()
|