Lines Matching refs:state

724 	if (efx->state != STATE_RECOVERY) {
1893 * key derived from the n-tuple. The initial LFSR state is 0xffff. */
1937 struct efx_farch_filter_state *state = efx->filter_state;
1943 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_IP];
1957 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_MAC];
1969 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_DEF];
2011 struct efx_farch_filter_state *state = efx->filter_state;
2017 table = &state->table[EFX_FARCH_FILTER_TABLE_TX_MAC];
2373 struct efx_farch_filter_state *state = efx->filter_state;
2379 if (state->table[table_id].size != 0)
2381 state->table[table_id].size;
2391 struct efx_farch_filter_state *state = efx->filter_state;
2403 down_write(&state->lock);
2405 table = &state->table[efx_farch_filter_spec_table_id(&spec)];
2535 up_write(&state->lock);
2595 struct efx_farch_filter_state *state = efx->filter_state;
2604 table = &state->table[table_id];
2609 down_write(&state->lock);
2612 up_write(&state->lock);
2621 struct efx_farch_filter_state *state = efx->filter_state;
2628 down_read(&state->lock);
2633 table = &state->table[table_id];
2647 up_read(&state->lock);
2656 struct efx_farch_filter_state *state = efx->filter_state;
2657 struct efx_farch_filter_table *table = &state->table[table_id];
2660 down_write(&state->lock);
2666 up_write(&state->lock);
2684 struct efx_farch_filter_state *state = efx->filter_state;
2690 down_read(&state->lock);
2695 table = &state->table[table_id];
2703 up_read(&state->lock);
2712 struct efx_farch_filter_state *state = efx->filter_state;
2718 down_read(&state->lock);
2723 table = &state->table[table_id];
2737 up_read(&state->lock);
2745 struct efx_farch_filter_state *state = efx->filter_state;
2751 down_write(&state->lock);
2754 table = &state->table[table_id];
2772 up_write(&state->lock);
2777 struct efx_farch_filter_state *state = efx->filter_state;
2781 bitmap_free(state->table[table_id].used_bitmap);
2782 vfree(state->table[table_id].spec);
2784 kfree(state);
2789 struct efx_farch_filter_state *state;
2793 state = kzalloc(sizeof(struct efx_farch_filter_state), GFP_KERNEL);
2794 if (!state)
2796 efx->filter_state = state;
2797 init_rwsem(&state->lock);
2799 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_IP];
2805 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_MAC];
2811 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_DEF];
2815 table = &state->table[EFX_FARCH_FILTER_TABLE_TX_MAC];
2822 table = &state->table[table_id];
2834 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_DEF];
2860 struct efx_farch_filter_state *state = efx->filter_state;
2866 down_write(&state->lock);
2871 table = &state->table[table_id];
2898 up_write(&state->lock);
2906 struct efx_farch_filter_state *state = efx->filter_state;
2911 down_write(&state->lock);
2913 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_IP];
2948 up_write(&state->lock);