Lines Matching refs:offsetof
138 sizeaddr = useraddr + offsetof(struct ethtool_gfeatures, size); in ethtool_get_features()
486 useraddr += offsetof(struct ethtool_sset_info, data); in ethtool_get_sset_info()
512 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_set_rxnfc()
546 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_get_rxnfc()
571 useraddr += offsetof(struct ethtool_rxnfc, rule_locs); in ethtool_get_rxnfc()
626 useraddr + offsetof(struct ethtool_rxfh_indir, size), in ethtool_get_rxfh_indir()
630 if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh_indir, size), in ethtool_get_rxfh_indir()
650 offsetof(struct ethtool_rxfh_indir, ring_index[0]), in ethtool_get_rxfh_indir()
667 u32 ringidx_offset = offsetof(struct ethtool_rxfh_indir, ring_index[0]); in ethtool_set_rxfh_indir()
678 useraddr + offsetof(struct ethtool_rxfh_indir, size), in ethtool_set_rxfh_indir()
771 if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh, hfunc), in ethtool_get_rxfh()
775 offsetof(struct ethtool_rxfh, rss_config[0]), in ethtool_get_rxfh()
796 u32 rss_cfg_offset = offsetof(struct ethtool_rxfh, rss_config[0]); in ethtool_set_rxfh()
898 useraddr += offsetof(struct ethtool_regs, data); in ethtool_get_regs()
1574 useraddr += offsetof(struct ethtool_dump, data); in ethtool_get_dump_data()