/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | urandom_read.c | 19 void urand_read_without_sema(int iter_num, int iter_cnt, int read_sz); 21 void urandlib_read_with_sema(int iter_num, int iter_cnt, int read_sz); 22 void urandlib_read_without_sema(int iter_num, int iter_cnt, int read_sz);
|
H A D | urandom_read_aux.c | 5 void urand_read_without_sema(int iter_num, int iter_cnt, int read_sz) in urand_read_without_sema() argument 8 STAP_PROBE3(urand, read_without_sema, iter_num, iter_cnt, read_sz); in urand_read_without_sema()
|
H A D | urandom_read_lib2.c | 5 void urandlib_read_without_sema(int iter_num, int iter_cnt, int read_sz) in urandlib_read_without_sema() argument 7 STAP_PROBE3(urandlib, read_without_sema, iter_num, iter_cnt, read_sz); in urandlib_read_without_sema()
|
H A D | urandom_read_lib1.c | 10 void urandlib_read_with_sema(int iter_num, int iter_cnt, int read_sz) in urandlib_read_with_sema() argument 12 STAP_PROBE3(urandlib, read_with_sema, iter_num, iter_cnt, read_sz); in urandlib_read_with_sema()
|
H A D | test_progs.h | 408 int trigger_module_test_read(int read_sz);
|
H A D | test_progs.c | 891 int trigger_module_test_read(int read_sz) in trigger_module_test_read() argument 900 read(fd, NULL, read_sz); in trigger_module_test_read()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | subprogs_extable.c | 8 const int read_sz = 456; in test_subprogs_extable() local 21 ASSERT_OK(trigger_module_test_read(read_sz), "trigger_read"); in test_subprogs_extable()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | llvm-utils.c | 118 size_t read_sz = 0, buf_sz = 0; in read_from_pipe() local 133 if (buf_sz - read_sz < READ_SIZE + 1) { in read_from_pipe() 136 buf_sz = read_sz + READ_SIZE + 1; in read_from_pipe() 147 read_sz += fread(buf + read_sz, 1, READ_SIZE, file); in read_from_pipe() 150 if (buf_sz - read_sz < 1) { in read_from_pipe() 173 * indicated by read_sz so caller won't even notice it. in read_from_pipe() 175 ((char *)buf)[read_sz] = '\0'; in read_from_pipe() 183 *p_read_sz = read_sz; in read_from_pipe()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 282 int used_in, cur_in, used_out, cur_out, read_sz, n; in decompress_file() local 444 /* Reduce read_sz because of the line_sz gap */ in decompress_file() 445 read_sz = NX_MIN(free_space, first_free); in decompress_file() 447 if (read_sz > 0) { in decompress_file() 449 n = fread(fifo_in + first_offset, 1, read_sz, inpf); in decompress_file() 452 assert(n <= read_sz); in decompress_file() 453 if (n != read_sz) { in decompress_file() 462 /* Reduce read_sz because of the line_sz gap */ in decompress_file() 463 read_sz = NX_MIN(free_space, last_free); in decompress_file() 465 if (read_sz > in decompress_file() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 282 int used_in, cur_in, used_out, cur_out, read_sz, n; in decompress_file() local 444 /* Reduce read_sz because of the line_sz gap */ in decompress_file() 445 read_sz = NX_MIN(free_space, first_free); in decompress_file() 447 if (read_sz > 0) { in decompress_file() 449 n = fread(fifo_in + first_offset, 1, read_sz, inpf); in decompress_file() 452 assert(n <= read_sz); in decompress_file() 453 if (n != read_sz) { in decompress_file() 462 /* Reduce read_sz because of the line_sz gap */ in decompress_file() 463 read_sz = NX_MIN(free_space, last_free); in decompress_file() 465 if (read_sz > in decompress_file() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_devlink.c | 1697 u32 read_sz = min_t(u32, ICE_DEVLINK_READ_BLK_SIZE, left); in ice_devlink_nvm_snapshot() local 1709 &read_sz, tmp, read_shadow_ram); in ice_devlink_nvm_snapshot() 1712 read_sz, status, hw->adminq.sq_last_status); in ice_devlink_nvm_snapshot() 1720 tmp += read_sz; in ice_devlink_nvm_snapshot() 1721 left -= read_sz; in ice_devlink_nvm_snapshot()
|