Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/boot/tools/
A 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()
311 unsigned int file_sz, in update_pecoff_text() argument
/linux-6.3-rc2/tools/bpf/bpftool/
A Dgen.c909 size_t map_cnt = 0, prog_cnt = 0, file_sz, mmap_sz; in do_skeleton() local
958 file_sz = st.st_size; in do_skeleton()
959 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_skeleton()
977 obj = bpf_object__open_mem(obj_data, file_sz, &opts); in do_skeleton()
1226 , file_sz, obj_name); in do_skeleton()
1229 print_hex(obj_data, file_sz); in do_skeleton()
1278 size_t i, len, file_sz, map_cnt = 0, prog_cnt = 0, mmap_sz, var_cnt = 0, var_idx = 0; in do_subskeleton() local
1334 file_sz = st.st_size; in do_subskeleton()
1335 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_subskeleton()
1354 obj = bpf_object__open_mem(obj_data, file_sz, &opts); in do_subskeleton()
/linux-6.3-rc2/tools/testing/selftests/net/
A 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()

Completed in 11 milliseconds