Home
last modified time | relevance | path

Searched refs:total_read_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c266 u32 read_len = 0, total_read_len = 0, chunk_size; in lancer_cmd_read_file() local
281 while ((total_read_len < buf_len) && !eof) { in lancer_cmd_read_file()
282 chunk_size = min_t(u32, (buf_len - total_read_len), in lancer_cmd_read_file()
286 total_read_len, file_name, in lancer_cmd_read_file()
289 memcpy(buf + total_read_len, read_cmd.va, read_len); in lancer_cmd_read_file()
290 total_read_len += read_len; in lancer_cmd_read_file()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c640 __u32 map_info_len, total_read_len, expected_read_len; in test_overflow() local
716 total_read_len = 0; in test_overflow()
719 total_read_len += len; in test_overflow()
727 total_read_len += len; in test_overflow()
736 total_read_len += len; in test_overflow()
744 if (!ASSERT_EQ(total_read_len, expected_read_len, "read")) in test_overflow()