Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/x86/
Dlam.c84 off_t file_sz; member
487 int blocks = (int)(fi->file_sz + URING_BLOCK_SZ - 1) / URING_BLOCK_SZ; in handle_uring_cq()
498 return (len != fi->file_sz); in handle_uring_cq()
512 off_t remain = fi->file_sz; in handle_uring_sq()
587 off_t file_sz = st.st_size; in do_uring() local
589 int blocks = (int)(file_sz + URING_BLOCK_SZ - 1) / URING_BLOCK_SZ; in do_uring()
595 fi->file_sz = file_sz; in do_uring()
/linux-6.12.1/tools/bpf/bpftool/
Dgen.c1168 size_t map_cnt = 0, prog_cnt = 0, attach_map_cnt = 0, file_sz, mmap_sz; in do_skeleton() local
1217 file_sz = st.st_size; in do_skeleton()
1218 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_skeleton()
1236 obj = bpf_object__open_mem(obj_data, file_sz, &opts); in do_skeleton()
1521 print_hex(obj_data, file_sz); in do_skeleton()
1573 size_t i, len, file_sz, map_cnt = 0, prog_cnt = 0, mmap_sz, var_cnt = 0, var_idx = 0; in do_subskeleton() local
1629 file_sz = st.st_size; in do_subskeleton()
1630 mmap_sz = roundup(file_sz, sysconf(_SC_PAGE_SIZE)); in do_subskeleton()
1649 obj = bpf_object__open_mem(obj_data, file_sz, &opts); in do_subskeleton()
/linux-6.12.1/tools/testing/selftests/net/
Dtls.c1357 const size_t file_sz = data / 100; in test_mutliproc() local
1360 char buf[file_sz]; in test_mutliproc()
1372 memset(buf, 0xac, file_sz); in test_mutliproc()
1373 ASSERT_EQ(write(fd, buf, file_sz), file_sz); in test_mutliproc()
1418 left > file_sz ? file_sz : left); in test_mutliproc()
1421 left > file_sz ? file_sz : left, 0); in test_mutliproc()