Lines Matching refs:frames_abs
115 atomic_long_t frames_abs, frames_filtered; member
234 long reduction, frames_filtered, frames_abs; in bcm_proc_show() local
237 frames_abs = atomic_long_read(&op->frames_abs); in bcm_proc_show()
240 if (!frames_abs) in bcm_proc_show()
262 frames_filtered, frames_abs); in bcm_proc_show()
264 reduction = 100 - (frames_filtered * 100) / frames_abs; in bcm_proc_show()
289 atomic_long_read(&op->frames_abs)); in bcm_proc_show()
302 if (atomic_long_inc_return(&op->frames_abs) > LONG_MAX / 100) { in bcm_update_rx_stats()
304 atomic_long_set(&op->frames_abs, 0); in bcm_update_rx_stats()
313 if (atomic_long_inc_return(&op->frames_abs) == LONG_MAX) in bcm_update_tx_stats()
314 atomic_long_set(&op->frames_abs, 0); in bcm_update_tx_stats()
561 if (atomic_long_read(&op->frames_abs)) in bcm_rx_changed()