num_rules         717 drivers/net/can/rcar/rcar_canfd.c 	int offset, start, page, num_rules = RCANFD_CHANNEL_NUMRULES;
num_rules         736 drivers/net/can/rcar/rcar_canfd.c 			   RCANFD_GAFLCFG_SETRNC(ch, num_rules));
num_rules         615 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c 		if (!dpaa2_eth_fs_mask_enabled(priv) && !num_rules(priv))
num_rules         653 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c 		rxnfc->rule_cnt = num_rules(priv);
num_rules         540 drivers/net/ethernet/intel/ice/ice_switch.c 		u8 num_rules, enum ice_adminq_opc opc, struct ice_sq_cd *cd)
num_rules         553 drivers/net/ethernet/intel/ice/ice_switch.c 		cpu_to_le16(num_rules);
num_rules         145 drivers/net/ethernet/mellanox/mlx5/core/en/fs.h 	int                    num_rules;
num_rules          47 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c 	if (!--eth_ft->num_rules) {
num_rules          93 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c 	eth_ft->num_rules++;
num_rules         168 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h 				u32 num_rules;
num_rules         939 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 			fdb_prio_table(esw, chain, prio, level--).num_rules++;
num_rules         962 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 			fdb_prio_table(esw, chain, prio, l).num_rules++;
num_rules         973 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 		fdb_prio_table(esw, chain, prio, l).num_rules = 1;
num_rules         998 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c 		if (--(fdb_prio_table(esw, chain, prio, l).num_rules) > 0)
num_rules          73 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	unsigned int			num_rules;
num_rules         702 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		++fpga_xfrm->num_rules;
num_rules         734 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	++fpga_xfrm->num_rules;
num_rules         851 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 	if (!--fpga_xfrm->num_rules) {
num_rules         919 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 		if (handle->num_rules != 1)
num_rules         925 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	for (i = 0; i < handle->num_rules; i++) {
num_rules        1190 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c static struct mlx5_flow_handle *alloc_handle(int num_rules)
num_rules        1194 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	handle = kzalloc(struct_size(handle, rule, num_rules), GFP_KERNEL);
num_rules        1198 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	handle->num_rules = num_rules;
num_rules        1317 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	destroy_flow_handle(fte, handle, dest, handle->num_rules);
num_rules        1516 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	for (i = 0; i < handle->num_rules; i++) {
num_rules        1929 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 	for (i = handle->num_rules - 1; i >= 0; i--)
num_rules         148 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h 	int num_rules;
num_rules        6371 drivers/net/ethernet/qlogic/qed/qed_debug.c 					 u32 num_rules,
num_rules        6386 drivers/net/ethernet/qlogic/qed/qed_debug.c 	for (rule_idx = 0; rule_idx < num_rules && dump_buf < dump_buf_end;
num_rules        6522 drivers/net/ethernet/qlogic/qed/qed_debug.c 	u32 num_section_params = 0, num_rules;
num_rules        6552 drivers/net/ethernet/qlogic/qed/qed_debug.c 				   &param_name, &param_str_val, &num_rules);
num_rules        6556 drivers/net/ethernet/qlogic/qed/qed_debug.c 	if (num_rules) {
num_rules        6567 drivers/net/ethernet/qlogic/qed/qed_debug.c 						      num_rules,
num_rules        6587 drivers/net/ethernet/qlogic/qed/qed_debug.c 						      num_rules,
num_rules        7199 net/wireless/nl80211.c 	u32 num_rules = 0, rule_idx = 0;
num_rules        7216 net/wireless/nl80211.c 		num_rules++;
num_rules        7217 net/wireless/nl80211.c 		if (num_rules > NL80211_MAX_SUPP_REG_RULES)
num_rules        7224 net/wireless/nl80211.c 	rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL);
num_rules        7228 net/wireless/nl80211.c 	rd->n_reg_rules = num_rules;
num_rules        1488 net/wireless/reg.c 	unsigned int num_rules = 0;
num_rules        1510 net/wireless/reg.c 				num_rules++;
num_rules        1514 net/wireless/reg.c 	if (!num_rules)
num_rules        1517 net/wireless/reg.c 	rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL);