Searched refs:num_rules (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | vporttbl.c | 20 u32 num_rules; member 95 e->num_rules++; in mlx5_esw_vporttbl_get() 117 e->num_rules = 1; in mlx5_esw_vporttbl_get() 142 if (!e || --e->num_rules) in mlx5_esw_vporttbl_put()
|
/drivers/net/wireless/ath/ath11k/ |
D | reg.c | 617 u8 num_rules; in ath11k_reg_build_regd() local 622 num_rules = reg_info->num_5g_reg_rules + reg_info->num_2g_reg_rules; in ath11k_reg_build_regd() 624 if (!num_rules) in ath11k_reg_build_regd() 629 num_rules += 2; in ath11k_reg_build_regd() 632 (num_rules * sizeof(struct ieee80211_reg_rule)), in ath11k_reg_build_regd() 645 reg_info->dfs_region, num_rules); in ath11k_reg_build_regd() 649 for (; i < num_rules; i++) { in ath11k_reg_build_regd()
|
/drivers/media/i2c/ccs/ |
D | ccs-data.c | 436 size_t num_rules = 0; in ccs_data_parse_rules() local 488 num_rules++; in ccs_data_parse_rules() 576 bin_reserve(bin, sizeof(*rules) * num_rules); in ccs_data_parse_rules() 577 *__num_rules = num_rules; in ccs_data_parse_rules()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 1089 if (handle->num_rules != 1) in mlx5_modify_rule_destination() 1095 for (i = 0; i < handle->num_rules; i++) { in mlx5_modify_rule_destination() 1393 static struct mlx5_flow_handle *alloc_handle(int num_rules) in alloc_handle() argument 1397 handle = kzalloc(struct_size(handle, rule, num_rules), GFP_KERNEL); in alloc_handle() 1401 handle->num_rules = num_rules; in alloc_handle() 1523 destroy_flow_handle(fte, handle, dest, handle->num_rules); in add_rule_fte() 1755 for (i = 0; i < handle->num_rules; i++) { in add_rule_fg() 2194 for (i = handle->num_rules - 1; i >= 0; i--) in mlx5_del_flow_rules()
|
D | en_fs_ethtool.c | 41 int num_rules; member 71 if (!--eth_ft->num_rules) { in put_flow_table() 119 eth_ft->num_rules++; in get_flow_table()
|
D | fs_core.h | 175 int num_rules; member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_switch.h | 392 u8 num_rules, enum ice_adminq_opc opc, struct ice_sq_cd *cd);
|
D | ice_switch.c | 1886 u8 num_rules, enum ice_adminq_opc opc, struct ice_sq_cd *cd) in ice_aq_sw_rules() argument 1900 cpu_to_le16(num_rules); in ice_aq_sw_rules()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 6486 u32 num_rules, in qed_parse_idle_chk_dump_rules() argument 6501 for (rule_idx = 0; rule_idx < num_rules && dump_buf < dump_buf_end; in qed_parse_idle_chk_dump_rules() 6634 u32 num_section_params = 0, num_rules, num_rules_not_dumped; in qed_parse_idle_chk_dump() local 6672 ¶m_name, ¶m_str_val, &num_rules); in qed_parse_idle_chk_dump() 6686 if (num_rules) { in qed_parse_idle_chk_dump() 6698 num_rules, in qed_parse_idle_chk_dump() 6719 num_rules, in qed_parse_idle_chk_dump()
|
/drivers/net/can/rcar/ |
D | rcar_canfd.c | 778 int offset, start, page, num_rules = RCANFD_CHANNEL_NUMRULES; in rcar_canfd_configure_afl_rules() local 797 RCANFD_GAFLCFG_SETRNC(gpriv, ch, num_rules)); in rcar_canfd_configure_afl_rules()
|