Home
last modified time | relevance | path

Searched refs:read_sz (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/
Durandom_read.c19 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);
Durandom_read_aux.c5 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()
Durandom_read_lib2.c5 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()
Durandom_read_lib1.c10 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()
Dtest_progs.h385 int trigger_module_test_read(int read_sz);
Dtest_progs.c907 int trigger_module_test_read(int read_sz) in trigger_module_test_read() argument
916 read(fd, NULL, read_sz); in trigger_module_test_read()
/linux-6.1.9/tools/perf/util/
Dllvm-utils.c135 size_t read_sz = 0, buf_sz = 0; in read_from_pipe() local
150 if (buf_sz - read_sz < READ_SIZE + 1) { in read_from_pipe()
153 buf_sz = read_sz + READ_SIZE + 1; in read_from_pipe()
164 read_sz += fread(buf + read_sz, 1, READ_SIZE, file); in read_from_pipe()
167 if (buf_sz - read_sz < 1) { in read_from_pipe()
192 ((char *)buf)[read_sz] = '\0'; in read_from_pipe()
200 *p_read_sz = read_sz; in read_from_pipe()
/linux-6.1.9/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c282 int used_in, cur_in, used_out, cur_out, read_sz, n; in decompress_file() local
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()
463 read_sz = NX_MIN(free_space, last_free); in decompress_file()
465 if (read_sz > 0) { in decompress_file()
466 n = fread(fifo_in + last_offset, 1, read_sz, inpf); in decompress_file()
469 assert(n <= read_sz); in decompress_file()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_devlink.c1155 u32 read_sz = min_t(u32, ICE_DEVLINK_READ_BLK_SIZE, left); in ice_devlink_nvm_snapshot() local
1167 &read_sz, tmp, false); in ice_devlink_nvm_snapshot()
1170 read_sz, status, hw->adminq.sq_last_status); in ice_devlink_nvm_snapshot()
1178 tmp += read_sz; in ice_devlink_nvm_snapshot()
1179 left -= read_sz; in ice_devlink_nvm_snapshot()