Home
last modified time | relevance | path

Searched refs:ETH_GSTRING_LEN (Results 1 – 14 of 14) sorted by relevance

/net/ethtool/
Dcommon.h24 netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN];
26 rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN];
28 tunable_strings[__ETHTOOL_TUNABLE_COUNT][ETH_GSTRING_LEN];
30 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN];
31 extern const char link_mode_names[][ETH_GSTRING_LEN];
33 extern const char netif_msg_class_names[][ETH_GSTRING_LEN];
34 extern const char wol_mode_names[][ETH_GSTRING_LEN];
35 extern const char sof_timestamping_names[][ETH_GSTRING_LEN];
36 extern const char ts_tx_type_names[][ETH_GSTRING_LEN];
37 extern const char ts_rx_filter_names[][ETH_GSTRING_LEN];
[all …]
Dnetlink.h34 return nla_total_size(strnlen(s, ETH_GSTRING_LEN) + 1); in ethnl_strz_size()
50 unsigned int len = strnlen(s, ETH_GSTRING_LEN); in ethnl_put_strz()
395 extern const char stats_std_names[__ETHTOOL_STATS_CNT][ETH_GSTRING_LEN];
396 extern const char stats_eth_phy_names[__ETHTOOL_A_STATS_ETH_PHY_CNT][ETH_GSTRING_LEN];
397 extern const char stats_eth_mac_names[__ETHTOOL_A_STATS_ETH_MAC_CNT][ETH_GSTRING_LEN];
398 extern const char stats_eth_ctrl_names[__ETHTOOL_A_STATS_ETH_CTRL_CNT][ETH_GSTRING_LEN];
399 extern const char stats_rmon_names[__ETHTOOL_A_STATS_RMON_CNT][ETH_GSTRING_LEN];
Dcommon.c11 const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = {
80 rss_hash_func_strings[ETH_RSS_HASH_FUNCS_COUNT][ETH_GSTRING_LEN] = {
87 tunable_strings[__ETHTOOL_TUNABLE_COUNT][ETH_GSTRING_LEN] = {
95 phy_tunable_strings[__ETHTOOL_PHY_TUNABLE_COUNT][ETH_GSTRING_LEN] = {
110 const char link_mode_names[][ETH_GSTRING_LEN] = {
354 const char netif_msg_class_names[][ETH_GSTRING_LEN] = {
373 const char wol_mode_names[][ETH_GSTRING_LEN] = {
385 const char sof_timestamping_names[][ETH_GSTRING_LEN] = {
405 const char ts_tx_type_names[][ETH_GSTRING_LEN] = {
413 const char ts_rx_filter_names[][ETH_GSTRING_LEN] = {
[all …]
Dprivflags.c13 const char (*priv_flag_names)[ETH_GSTRING_LEN];
28 const char (**names)[ETH_GSTRING_LEN]) in ethnl_get_priv_flags_info() argument
38 *names = kcalloc(nflags, ETH_GSTRING_LEN, GFP_KERNEL); in ethnl_get_priv_flags_info()
64 const char (*names)[ETH_GSTRING_LEN]; in privflags_prepare_data()
144 const char (*names)[ETH_GSTRING_LEN] = NULL; in ethnl_set_privflags()
Dstats.c27 const char stats_std_names[__ETHTOOL_STATS_CNT][ETH_GSTRING_LEN] = {
34 const char stats_eth_phy_names[__ETHTOOL_A_STATS_ETH_PHY_CNT][ETH_GSTRING_LEN] = {
38 const char stats_eth_mac_names[__ETHTOOL_A_STATS_ETH_MAC_CNT][ETH_GSTRING_LEN] = {
63 const char stats_eth_ctrl_names[__ETHTOOL_A_STATS_ETH_CTRL_CNT][ETH_GSTRING_LEN] = {
69 const char stats_rmon_names[__ETHTOOL_A_STATS_RMON_CNT][ETH_GSTRING_LEN] = {
Dbitset.h8 typedef const char (*const ethnl_string_array_t)[ETH_GSTRING_LEN];
Dstrset.c12 const char (*strings)[ETH_GSTRING_LEN];
258 strings = kcalloc(count, ETH_GSTRING_LEN, GFP_KERNEL); in strset_prepare_set()
Dbitset.c369 if (!strncmp(names[i], name, ETH_GSTRING_LEN) && in ethnl_name_to_idx()
370 strlen(name) <= ETH_GSTRING_LEN) in ethnl_name_to_idx()
Dioctl.c191 __ETHTOOL_LINK_MODE_MASK_NBITS * ETH_GSTRING_LEN); in __ethtool_get_strings()
1915 if (ret > S32_MAX / ETH_GSTRING_LEN) in ethtool_get_strings()
1922 data = vzalloc(array_size(gstrings.len, ETH_GSTRING_LEN)); in ethtool_get_strings()
1936 copy_to_user(useraddr, data, gstrings.len * ETH_GSTRING_LEN)) in ethtool_get_strings()
1950 vsnprintf(*data, ETH_GSTRING_LEN, fmt, args); in ethtool_sprintf()
1953 *data += ETH_GSTRING_LEN; in ethtool_sprintf()
/net/core/
Dselftests.c340 char name[ETH_GSTRING_LEN];
404 snprintf(p, ETH_GSTRING_LEN, "%2d. %s", i + 1, in net_selftest_get_strings()
406 p += ETH_GSTRING_LEN; in net_selftest_get_strings()
/net/mac80211/
Dethtool.c38 static const char ieee80211_gstrings_sta_stats[][ETH_GSTRING_LEN] = {
/net/dsa/
Dmaster.c149 int len = ETH_GSTRING_LEN; in dsa_master_get_strings()
Dslave.c725 int len = ETH_GSTRING_LEN; in dsa_slave_get_strings()
/net/batman-adv/
Dsoft-interface.c905 const char name[ETH_GSTRING_LEN];