fs_rule          4363 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mlx4_do_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule);
fs_rule          4484 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mlx4_undo_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule)
fs_rule          4488 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = rem_res_range(dev, fs_rule->com.owner, fs_rule->com.res_id, 1, RES_FS_RULE, 0);
fs_rule          4494 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	mlx4_cmd(dev, fs_rule->com.res_id, 0, 0, MLX4_QP_FLOW_STEERING_DETACH,
fs_rule          4976 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mlx4_do_mirror_rule(struct mlx4_dev *dev, struct res_fs_rule *fs_rule)
fs_rule          4987 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (!fs_rule->mirr_mbox) {
fs_rule          4991 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	memcpy(mailbox->buf, fs_rule->mirr_mbox, fs_rule->mirr_mbox_size);
fs_rule          4992 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_cmd_imm(dev, mailbox->dma, &reg_id, fs_rule->mirr_mbox_size >> 2, 0,
fs_rule          5000 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = add_res_range(dev, fs_rule->com.owner, reg_id, 1, RES_FS_RULE, fs_rule->qpn);
fs_rule          5004 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = get_res(dev, fs_rule->com.owner, reg_id, RES_FS_RULE, &mirr_rule);
fs_rule          5008 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	fs_rule->mirr_rule_id = reg_id;
fs_rule          5012 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	put_res(dev, fs_rule->com.owner, reg_id, RES_FS_RULE);
fs_rule          5016 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	rem_res_range(dev, fs_rule->com.owner, reg_id, 1, RES_FS_RULE, 0);
fs_rule          5031 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct res_fs_rule *fs_rule;
fs_rule          5036 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		fs_rule = rb_entry(p, struct res_fs_rule, com.node);
fs_rule          5037 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		if ((bond && fs_rule->mirr_mbox_size) ||
fs_rule          5038 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		    (!bond && !fs_rule->mirr_mbox_size))
fs_rule          5039 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			list_add_tail(&fs_rule->mirr_list, &mirr_list);
fs_rule          5042 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	list_for_each_entry(fs_rule, &mirr_list, mirr_list) {
fs_rule          5044 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			err += mlx4_do_mirror_rule(dev, fs_rule);
fs_rule          5046 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			err += mlx4_undo_mirror_rule(dev, fs_rule);
fs_rule          5068 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct res_fs_rule *fs_rule;
fs_rule          5080 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	list_for_each_entry_safe(fs_rule, tmp, fs_rule_list, com.list) {
fs_rule          5082 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		if (fs_rule->com.owner == slave) {
fs_rule          5083 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			base = fs_rule->com.res_id;
fs_rule          5084 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			state = fs_rule->com.from_state;
fs_rule          5095 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					rb_erase(&fs_rule->com.node,
fs_rule          5097 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					list_del(&fs_rule->com.list);
fs_rule          5099 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					kfree(fs_rule->mirr_mbox);
fs_rule          5100 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					kfree(fs_rule);