Home
last modified time | relevance | path

Searched refs:req_base (Results 1 – 19 of 19) sorted by relevance

/net/ethtool/
Dtunnels.c36 ethnl_tunnel_info_reply_size(const struct ethnl_req_info *req_base, in ethnl_tunnel_info_reply_size() argument
39 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in ethnl_tunnel_info_reply_size()
45 info = req_base->dev->udp_tunnel_nic_info; in ethnl_tunnel_info_reply_size()
64 size += udp_tunnel_nic_dump_size(req_base->dev, i); in ethnl_tunnel_info_reply_size()
82 ethnl_tunnel_info_fill_reply(const struct ethnl_req_info *req_base, in ethnl_tunnel_info_fill_reply() argument
85 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in ethnl_tunnel_info_fill_reply()
90 info = req_base->dev->udp_tunnel_nic_info; in ethnl_tunnel_info_fill_reply()
116 if (udp_tunnel_nic_dump_write(req_base->dev, i, skb)) in ethnl_tunnel_info_fill_reply()
Ddebug.c24 static int debug_prepare_data(const struct ethnl_req_info *req_base, in debug_prepare_data() argument
44 static int debug_reply_size(const struct ethnl_req_info *req_base, in debug_reply_size() argument
48 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in debug_reply_size()
55 const struct ethnl_req_info *req_base, in debug_fill_reply() argument
59 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in debug_fill_reply()
Dtsinfo.c26 static int tsinfo_prepare_data(const struct ethnl_req_info *req_base, in tsinfo_prepare_data() argument
43 static int tsinfo_reply_size(const struct ethnl_req_info *req_base, in tsinfo_reply_size() argument
47 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in tsinfo_reply_size()
87 const struct ethnl_req_info *req_base, in tsinfo_fill_reply() argument
91 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in tsinfo_fill_reply()
Dpause.c24 static int pause_prepare_data(const struct ethnl_req_info *req_base, in pause_prepare_data() argument
42 if (req_base->flags & ETHTOOL_FLAG_STATS && in pause_prepare_data()
50 static int pause_reply_size(const struct ethnl_req_info *req_base, in pause_reply_size() argument
57 if (req_base->flags & ETHTOOL_FLAG_STATS) in pause_reply_size()
99 const struct ethnl_req_info *req_base, in pause_fill_reply() argument
110 if (req_base->flags & ETHTOOL_FLAG_STATS && in pause_fill_reply()
Dfec.c93 static int fec_prepare_data(const struct ethnl_req_info *req_base, in fec_prepare_data() argument
111 if (req_base->flags & ETHTOOL_FLAG_STATS && in fec_prepare_data()
142 static int fec_reply_size(const struct ethnl_req_info *req_base, in fec_reply_size() argument
145 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in fec_reply_size()
160 if (req_base->flags & ETHTOOL_FLAG_STATS) in fec_reply_size()
195 const struct ethnl_req_info *req_base, in fec_fill_reply() argument
198 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in fec_fill_reply()
214 if (req_base->flags & ETHTOOL_FLAG_STATS && fec_put_stats(skb, data)) in fec_fill_reply()
Dwol.c25 static int wol_prepare_data(const struct ethnl_req_info *req_base, in wol_prepare_data() argument
47 static int wol_reply_size(const struct ethnl_req_info *req_base, in wol_reply_size() argument
50 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in wol_reply_size()
65 const struct ethnl_req_info *req_base, in wol_fill_reply() argument
68 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in wol_fill_reply()
Dstats.c82 static int stats_parse_request(struct ethnl_req_info *req_base, in stats_parse_request() argument
86 struct stats_req_info *req_info = STATS_REQINFO(req_base); in stats_parse_request()
104 static int stats_prepare_data(const struct ethnl_req_info *req_base, in stats_prepare_data() argument
108 const struct stats_req_info *req_info = STATS_REQINFO(req_base); in stats_prepare_data()
143 static int stats_reply_size(const struct ethnl_req_info *req_base, in stats_reply_size() argument
146 const struct stats_req_info *req_info = STATS_REQINFO(req_base); in stats_reply_size()
376 const struct ethnl_req_info *req_base, in stats_fill_reply() argument
379 const struct stats_req_info *req_info = STATS_REQINFO(req_base); in stats_fill_reply()
Dprivflags.c58 static int privflags_prepare_data(const struct ethnl_req_info *req_base, in privflags_prepare_data() argument
88 static int privflags_reply_size(const struct ethnl_req_info *req_base, in privflags_reply_size() argument
92 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in privflags_reply_size()
101 const struct ethnl_req_info *req_base, in privflags_fill_reply() argument
105 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in privflags_fill_reply()
Deee.c27 static int eee_prepare_data(const struct ethnl_req_info *req_base, in eee_prepare_data() argument
46 static int eee_reply_size(const struct ethnl_req_info *req_base, in eee_reply_size() argument
49 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in eee_reply_size()
82 const struct ethnl_req_info *req_base, in eee_fill_reply() argument
85 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in eee_fill_reply()
Dstrset.c181 static int strset_parse_request(struct ethnl_req_info *req_base, in strset_parse_request() argument
185 struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_parse_request()
275 static int strset_prepare_data(const struct ethnl_req_info *req_base, in strset_prepare_data() argument
279 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_prepare_data()
347 static int strset_reply_size(const struct ethnl_req_info *req_base, in strset_reply_size() argument
350 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_reply_size()
437 const struct ethnl_req_info *req_base, in strset_fill_reply() argument
440 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_fill_reply()
Deeprom.c104 static int eeprom_prepare_data(const struct ethnl_req_info *req_base, in eeprom_prepare_data() argument
109 struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_base); in eeprom_prepare_data()
192 static int eeprom_reply_size(const struct ethnl_req_info *req_base, in eeprom_reply_size() argument
195 const struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_base); in eeprom_reply_size()
201 const struct ethnl_req_info *req_base, in eeprom_fill_reply() argument
Dphc_vclocks.c25 static int phc_vclocks_prepare_data(const struct ethnl_req_info *req_base, in phc_vclocks_prepare_data() argument
42 static int phc_vclocks_reply_size(const struct ethnl_req_info *req_base, in phc_vclocks_reply_size() argument
58 const struct ethnl_req_info *req_base, in phc_vclocks_fill_reply() argument
Dfeatures.c36 static int features_prepare_data(const struct ethnl_req_info *req_base, in features_prepare_data() argument
54 static int features_reply_size(const struct ethnl_req_info *req_base, in features_reply_size() argument
58 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in features_reply_size()
87 const struct ethnl_req_info *req_base, in features_fill_reply() argument
91 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in features_fill_reply()
Dlinkmodes.c28 static int linkmodes_prepare_data(const struct ethnl_req_info *req_base, in linkmodes_prepare_data() argument
60 static int linkmodes_reply_size(const struct ethnl_req_info *req_base, in linkmodes_reply_size() argument
66 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in linkmodes_reply_size()
100 const struct ethnl_req_info *req_base, in linkmodes_fill_reply() argument
106 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in linkmodes_fill_reply()
Dlinkinfo.c24 static int linkinfo_prepare_data(const struct ethnl_req_info *req_base, in linkinfo_prepare_data() argument
45 static int linkinfo_reply_size(const struct ethnl_req_info *req_base, in linkinfo_reply_size() argument
57 const struct ethnl_req_info *req_base, in linkinfo_fill_reply() argument
Dlinkstate.c81 static int linkstate_prepare_data(const struct ethnl_req_info *req_base, in linkstate_prepare_data() argument
116 static int linkstate_reply_size(const struct ethnl_req_info *req_base, in linkstate_reply_size() argument
141 const struct ethnl_req_info *req_base, in linkstate_fill_reply() argument
Drings.c23 static int rings_prepare_data(const struct ethnl_req_info *req_base, in rings_prepare_data() argument
42 static int rings_reply_size(const struct ethnl_req_info *req_base, in rings_reply_size() argument
56 const struct ethnl_req_info *req_base, in rings_fill_reply() argument
Dchannels.c25 static int channels_prepare_data(const struct ethnl_req_info *req_base, in channels_prepare_data() argument
44 static int channels_reply_size(const struct ethnl_req_info *req_base, in channels_reply_size() argument
58 const struct ethnl_req_info *req_base, in channels_fill_reply() argument
Dcoalesce.c60 static int coalesce_prepare_data(const struct ethnl_req_info *req_base, in coalesce_prepare_data() argument
82 static int coalesce_reply_size(const struct ethnl_req_info *req_base, in coalesce_reply_size() argument
128 const struct ethnl_req_info *req_base, in coalesce_fill_reply() argument