Lines Matching refs:offsetof
132 sizeaddr = useraddr + offsetof(struct ethtool_gfeatures, size); in ethtool_get_features()
475 useraddr += offsetof(struct ethtool_sset_info, data); in ethtool_get_sset_info()
501 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_set_rxnfc()
535 info_size = (offsetof(struct ethtool_rxnfc, data) + in ethtool_get_rxnfc()
560 useraddr += offsetof(struct ethtool_rxnfc, rule_locs); in ethtool_get_rxnfc()
615 useraddr + offsetof(struct ethtool_rxfh_indir, size), in ethtool_get_rxfh_indir()
619 if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh_indir, size), in ethtool_get_rxfh_indir()
639 offsetof(struct ethtool_rxfh_indir, ring_index[0]), in ethtool_get_rxfh_indir()
656 u32 ringidx_offset = offsetof(struct ethtool_rxfh_indir, ring_index[0]); in ethtool_set_rxfh_indir()
667 useraddr + offsetof(struct ethtool_rxfh_indir, size), in ethtool_set_rxfh_indir()
760 if (copy_to_user(useraddr + offsetof(struct ethtool_rxfh, hfunc), in ethtool_get_rxfh()
764 offsetof(struct ethtool_rxfh, rss_config[0]), in ethtool_get_rxfh()
785 u32 rss_cfg_offset = offsetof(struct ethtool_rxfh, rss_config[0]); in ethtool_set_rxfh()
887 useraddr += offsetof(struct ethtool_regs, data); in ethtool_get_regs()
1563 useraddr += offsetof(struct ethtool_dump, data); in ethtool_get_dump_data()