Home
last modified time | relevance | path

Searched refs:file_sz (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/x86/boot/tools/
Dbuild.c232 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-v6.1/tools/bpf/bpftool/
Dgen.c910 size_t map_cnt = 0, prog_cnt = 0, file_sz, mmap_sz; in do_skeleton() local
959 file_sz = st.st_size; in do_skeleton()
960 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_skeleton()
978 obj = bpf_object__open_mem(obj_data, file_sz, &opts); in do_skeleton()
1228 , file_sz, obj_name); in do_skeleton()
1231 print_hex(obj_data, file_sz); in do_skeleton()
1280 size_t i, len, file_sz, map_cnt = 0, prog_cnt = 0, mmap_sz, var_cnt = 0, var_idx = 0; in do_subskeleton() local
1336 file_sz = st.st_size; in do_subskeleton()
1337 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_subskeleton()
1356 obj = bpf_object__open_mem(obj_data, file_sz, &opts); in do_subskeleton()
/Linux-v6.1/tools/testing/selftests/net/
Dtls.c1272 const size_t file_sz = data / 100; in test_mutliproc() local
1275 char buf[file_sz]; in test_mutliproc()
1287 memset(buf, 0xac, file_sz); in test_mutliproc()
1288 ASSERT_EQ(write(fd, buf, file_sz), file_sz); in test_mutliproc()
1333 left > file_sz ? file_sz : left); in test_mutliproc()
1336 left > file_sz ? file_sz : left, 0); in test_mutliproc()