Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c636 __u32 map_info_len, total_read_len, expected_read_len; in test_overflow() local
712 total_read_len = 0; in test_overflow()
715 total_read_len += len; in test_overflow()
723 total_read_len += len; in test_overflow()
732 total_read_len += len; in test_overflow()
740 if (!ASSERT_EQ(total_read_len, expected_read_len, "read")) in test_overflow()