Home
last modified time | relevance | path

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

/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()