Lines Matching refs:rxnfc

835 ethtool_rxnfc_copy_from_compat(struct ethtool_rxnfc *rxnfc,  in ethtool_rxnfc_copy_from_compat()  argument
851 sizeof(rxnfc->fs.m_ext)); in ethtool_rxnfc_copy_from_compat()
860 *rxnfc = (struct ethtool_rxnfc) { in ethtool_rxnfc_copy_from_compat()
879 static int ethtool_rxnfc_copy_from_user(struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_from_user() argument
884 return ethtool_rxnfc_copy_from_compat(rxnfc, useraddr, size); in ethtool_rxnfc_copy_from_user()
886 if (copy_from_user(rxnfc, useraddr, size)) in ethtool_rxnfc_copy_from_user()
893 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_compat() argument
900 .cmd = rxnfc->cmd, in ethtool_rxnfc_copy_to_compat()
901 .flow_type = rxnfc->flow_type, in ethtool_rxnfc_copy_to_compat()
902 .data = rxnfc->data, in ethtool_rxnfc_copy_to_compat()
904 .flow_type = rxnfc->fs.flow_type, in ethtool_rxnfc_copy_to_compat()
905 .h_u = rxnfc->fs.h_u, in ethtool_rxnfc_copy_to_compat()
906 .h_ext = rxnfc->fs.h_ext, in ethtool_rxnfc_copy_to_compat()
907 .m_u = rxnfc->fs.m_u, in ethtool_rxnfc_copy_to_compat()
908 .m_ext = rxnfc->fs.m_ext, in ethtool_rxnfc_copy_to_compat()
909 .ring_cookie = rxnfc->fs.ring_cookie, in ethtool_rxnfc_copy_to_compat()
910 .location = rxnfc->fs.location, in ethtool_rxnfc_copy_to_compat()
912 .rule_cnt = rxnfc->rule_cnt, in ethtool_rxnfc_copy_to_compat()
954 const struct ethtool_rxnfc *rxnfc, in ethtool_rxnfc_copy_to_user() argument
960 ret = ethtool_rxnfc_copy_to_compat(useraddr, rxnfc, size, in ethtool_rxnfc_copy_to_user()
964 ret = copy_to_user(useraddr, rxnfc, size); in ethtool_rxnfc_copy_to_user()
973 rxnfc->rule_cnt * sizeof(u32))) in ethtool_rxnfc_copy_to_user()