Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c271 u32 read_len = 0, total_read_len = 0, chunk_size; in lancer_cmd_read_file() local
286 while ((total_read_len < buf_len) && !eof) { in lancer_cmd_read_file()
287 chunk_size = min_t(u32, (buf_len - total_read_len), in lancer_cmd_read_file()
291 total_read_len, file_name, in lancer_cmd_read_file()
294 memcpy(buf + total_read_len, read_cmd.va, read_len); in lancer_cmd_read_file()
295 total_read_len += read_len; in lancer_cmd_read_file()