Lines Matching refs:crxnfc
839 struct compat_ethtool_rxnfc crxnfc = {}; in ethtool_rxnfc_copy_from_compat() local
857 if (copy_from_user(&crxnfc, useraddr, min(size, sizeof(crxnfc)))) in ethtool_rxnfc_copy_from_compat()
861 .cmd = crxnfc.cmd, in ethtool_rxnfc_copy_from_compat()
862 .flow_type = crxnfc.flow_type, in ethtool_rxnfc_copy_from_compat()
863 .data = crxnfc.data, in ethtool_rxnfc_copy_from_compat()
865 .flow_type = crxnfc.fs.flow_type, in ethtool_rxnfc_copy_from_compat()
866 .h_u = crxnfc.fs.h_u, in ethtool_rxnfc_copy_from_compat()
867 .h_ext = crxnfc.fs.h_ext, in ethtool_rxnfc_copy_from_compat()
868 .m_u = crxnfc.fs.m_u, in ethtool_rxnfc_copy_from_compat()
869 .m_ext = crxnfc.fs.m_ext, in ethtool_rxnfc_copy_from_compat()
870 .ring_cookie = crxnfc.fs.ring_cookie, in ethtool_rxnfc_copy_from_compat()
871 .location = crxnfc.fs.location, in ethtool_rxnfc_copy_from_compat()
873 .rule_cnt = crxnfc.rule_cnt, in ethtool_rxnfc_copy_from_compat()
896 struct compat_ethtool_rxnfc crxnfc; in ethtool_rxnfc_copy_to_compat() local
898 memset(&crxnfc, 0, sizeof(crxnfc)); in ethtool_rxnfc_copy_to_compat()
899 crxnfc = (struct compat_ethtool_rxnfc) { in ethtool_rxnfc_copy_to_compat()
915 if (copy_to_user(useraddr, &crxnfc, min(size, sizeof(crxnfc)))) in ethtool_rxnfc_copy_to_compat()