Lines Matching refs:state

723 	if (efx->state != STATE_RECOVERY) {
1890 * key derived from the n-tuple. The initial LFSR state is 0xffff. */
1934 struct efx_farch_filter_state *state = efx->filter_state;
1940 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_IP];
1954 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_MAC];
1966 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_DEF];
2008 struct efx_farch_filter_state *state = efx->filter_state;
2014 table = &state->table[EFX_FARCH_FILTER_TABLE_TX_MAC];
2370 struct efx_farch_filter_state *state = efx->filter_state;
2376 if (state->table[table_id].size != 0)
2378 state->table[table_id].size;
2388 struct efx_farch_filter_state *state = efx->filter_state;
2400 down_write(&state->lock);
2402 table = &state->table[efx_farch_filter_spec_table_id(&spec)];
2532 up_write(&state->lock);
2592 struct efx_farch_filter_state *state = efx->filter_state;
2601 table = &state->table[table_id];
2606 down_write(&state->lock);
2609 up_write(&state->lock);
2618 struct efx_farch_filter_state *state = efx->filter_state;
2625 down_read(&state->lock);
2630 table = &state->table[table_id];
2644 up_read(&state->lock);
2653 struct efx_farch_filter_state *state = efx->filter_state;
2654 struct efx_farch_filter_table *table = &state->table[table_id];
2657 down_write(&state->lock);
2663 up_write(&state->lock);
2681 struct efx_farch_filter_state *state = efx->filter_state;
2687 down_read(&state->lock);
2692 table = &state->table[table_id];
2700 up_read(&state->lock);
2709 struct efx_farch_filter_state *state = efx->filter_state;
2715 down_read(&state->lock);
2720 table = &state->table[table_id];
2734 up_read(&state->lock);
2742 struct efx_farch_filter_state *state = efx->filter_state;
2748 down_write(&state->lock);
2751 table = &state->table[table_id];
2769 up_write(&state->lock);
2774 struct efx_farch_filter_state *state = efx->filter_state;
2778 kfree(state->table[table_id].used_bitmap);
2779 vfree(state->table[table_id].spec);
2781 kfree(state);
2786 struct efx_farch_filter_state *state;
2790 state = kzalloc(sizeof(struct efx_farch_filter_state), GFP_KERNEL);
2791 if (!state)
2793 efx->filter_state = state;
2794 init_rwsem(&state->lock);
2796 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_IP];
2802 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_MAC];
2808 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_DEF];
2812 table = &state->table[EFX_FARCH_FILTER_TABLE_TX_MAC];
2819 table = &state->table[table_id];
2833 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_DEF];
2859 struct efx_farch_filter_state *state = efx->filter_state;
2865 down_write(&state->lock);
2870 table = &state->table[table_id];
2897 up_write(&state->lock);
2905 struct efx_farch_filter_state *state = efx->filter_state;
2910 down_write(&state->lock);
2912 table = &state->table[EFX_FARCH_FILTER_TABLE_RX_IP];
2946 up_write(&state->lock);