Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c285 int write_sz, free_space, source_sz; in decompress_file() local
499 write_sz = first_used; in decompress_file()
502 if (write_sz > 0) { in decompress_file()
503 n = fwrite(fifo_out + cur_out, 1, write_sz, outf); in decompress_file()
507 assert(n <= write_sz); in decompress_file()
508 if (n != write_sz) { in decompress_file()
516 write_sz = last_used; /* Keep it here for later */ in decompress_file()
518 if (write_sz > 0) { in decompress_file()
519 n = fwrite(fifo_out, 1, write_sz, outf); in decompress_file()
522 assert(n <= write_sz); in decompress_file()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_progs.c906 int trigger_module_test_write(int write_sz) in trigger_module_test_write() argument
909 char *buf = malloc(write_sz); in trigger_module_test_write()
914 memset(buf, 'a', write_sz); in trigger_module_test_write()
915 buf[write_sz-1] = '\0'; in trigger_module_test_write()
924 write(fd, buf, write_sz); in trigger_module_test_write()
Dtest_progs.h409 int trigger_module_test_write(int write_sz);