Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c221 u32 read_len = 0, total_read_len = 0, chunk_size; in lancer_cmd_read_file() local
236 while ((total_read_len < buf_len) && !eof) { in lancer_cmd_read_file()
237 chunk_size = min_t(u32, (buf_len - total_read_len), in lancer_cmd_read_file()
241 total_read_len, file_name, &read_len, in lancer_cmd_read_file()
244 memcpy(buf + total_read_len, read_cmd.va, read_len); in lancer_cmd_read_file()
245 total_read_len += read_len; in lancer_cmd_read_file()