Lines Matching refs:rxnfc
815 ethtool_rxnfc_copy_from_compat(struct ethtool_rxnfc *rxnfc,
831 sizeof(rxnfc->fs.m_ext));
840 *rxnfc = (struct ethtool_rxnfc) {
859 static int ethtool_rxnfc_copy_from_user(struct ethtool_rxnfc *rxnfc,
864 return ethtool_rxnfc_copy_from_compat(rxnfc, useraddr, size);
866 if (copy_from_user(rxnfc, useraddr, size))
873 const struct ethtool_rxnfc *rxnfc,
880 .cmd = rxnfc->cmd,
881 .flow_type = rxnfc->flow_type,
882 .data = rxnfc->data,
884 .flow_type = rxnfc->fs.flow_type,
885 .h_u = rxnfc->fs.h_u,
886 .h_ext = rxnfc->fs.h_ext,
887 .m_u = rxnfc->fs.m_u,
888 .m_ext = rxnfc->fs.m_ext,
889 .ring_cookie = rxnfc->fs.ring_cookie,
890 .location = rxnfc->fs.location,
892 .rule_cnt = rxnfc->rule_cnt,
902 const struct ethtool_rxnfc *rxnfc,
908 ret = ethtool_rxnfc_copy_to_compat(useraddr, rxnfc, size,
912 ret = copy_to_user(useraddr, rxnfc, size);
921 rxnfc->rule_cnt * sizeof(u32)))