Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c638 __u32 map_info_len, total_read_len, expected_read_len; in test_overflow() local
714 total_read_len = 0; in test_overflow()
717 total_read_len += len; in test_overflow()
725 total_read_len += len; in test_overflow()
734 total_read_len += len; in test_overflow()
742 if (!ASSERT_EQ(total_read_len, expected_read_len, "read")) in test_overflow()