Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/wan/
Dcomx.c222 ch->avg_bytes[ch->loadavg_counter + ch->loadavg_size] = in comx_loadavg_timerfun()
225 ch->loadavg_counter = (ch->loadavg_counter + 1) % ch->loadavg_size; in comx_loadavg_timerfun()
410 ((ch->avg_bytes[(ch->loadavg_counter - 1 + ch->loadavg_size * 2) \
411 % ch->loadavg_size + off] - ch->avg_bytes[(ch->loadavg_counter - 1 \
412 - ch->loadavg[avg] / ch->loadavg[0] + ch->loadavg_size * 2) \
413 % ch->loadavg_size + off]) / ch->loadavg[avg] * 8)
447 LOADAVG(0,ch->loadavg_size), LOADAVG(1, ch->loadavg_size), in comx_statistics()
448 LOADAVG(2, ch->loadavg_size), tmpstr); in comx_statistics()
518 ch->loadavg_size = ch->loadavg[2] / ch->loadavg[0] + 1; in comx_init_dev()
519 if ((ch->avg_bytes = kmalloc(ch->loadavg_size * in comx_init_dev()
[all …]
Dcomx.h73 int loadavg_counter, loadavg_size; member