Home
last modified time | relevance | path

Searched refs:edata (Results 1 – 2 of 2) sorted by relevance

/net/sched/
Dact_ife.c46 u16 edata = 0; in ife_encode_meta_u16() local
49 edata = *(u16 *)mi->metaval; in ife_encode_meta_u16()
51 edata = metaval; in ife_encode_meta_u16()
53 if (!edata) /* will not encode */ in ife_encode_meta_u16()
56 edata = htons(edata); in ife_encode_meta_u16()
57 return ife_tlv_meta_encode(skbdata, mi->metaid, 2, &edata); in ife_encode_meta_u16()
90 u32 edata = metaval; in ife_encode_meta_u32() local
93 edata = *(u32 *)mi->metaval; in ife_encode_meta_u32()
95 edata = metaval; in ife_encode_meta_u32()
97 if (!edata) /* will not encode */ in ife_encode_meta_u32()
[all …]
/net/core/
Dethtool.c298 struct ethtool_value edata = { in ethtool_get_one_feature() local
303 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_one_feature()
311 struct ethtool_value edata; in ethtool_set_one_feature() local
314 if (copy_from_user(&edata, useraddr, sizeof(edata))) in ethtool_set_one_feature()
322 if (edata.data) in ethtool_set_one_feature()
1435 struct ethtool_eee edata; in ethtool_get_eee() local
1441 memset(&edata, 0, sizeof(struct ethtool_eee)); in ethtool_get_eee()
1442 edata.cmd = ETHTOOL_GEEE; in ethtool_get_eee()
1443 rc = dev->ethtool_ops->get_eee(dev, &edata); in ethtool_get_eee()
1448 if (copy_to_user(useraddr, &edata, sizeof(edata))) in ethtool_get_eee()
[all …]