Home
last modified time | relevance | path

Searched refs:req_base (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-6.6/net/ethtool/
H A Dpause.c30 static int pause_parse_request(struct ethnl_req_info *req_base, in pause_parse_request() argument
35 struct pause_req_info *req_info = PAUSE_REQINFO(req_base); in pause_parse_request()
38 if (!(req_base->flags & ETHTOOL_FLAG_STATS)) { in pause_parse_request()
52 static int pause_prepare_data(const struct ethnl_req_info *req_base, in pause_prepare_data() argument
56 const struct pause_req_info *req_info = PAUSE_REQINFO(req_base); in pause_prepare_data()
83 if (req_base->flags & ETHTOOL_FLAG_STATS && in pause_prepare_data()
92 static int pause_reply_size(const struct ethnl_req_info *req_base, in pause_reply_size() argument
99 if (req_base->flags & ETHTOOL_FLAG_STATS) in pause_reply_size()
145 const struct ethnl_req_info *req_base, in pause_fill_reply()
156 if (req_base in pause_fill_reply()
144 pause_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) pause_fill_reply() argument
[all...]
H A 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()
H A 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()
91 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in tsinfo_fill_reply()
86 tsinfo_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) tsinfo_fill_reply() argument
H A 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()
59 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in debug_fill_reply()
54 debug_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) debug_fill_reply() argument
H A 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()
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()
194 fec_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) fec_fill_reply() argument
H A Dwol.c25 static int wol_prepare_data(const struct ethnl_req_info *req_base, in wol_prepare_data() argument
48 static int wol_reply_size(const struct ethnl_req_info *req_base, in wol_reply_size() argument
51 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in wol_reply_size()
66 const struct ethnl_req_info *req_base, in wol_fill_reply()
69 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in wol_fill_reply()
65 wol_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) wol_fill_reply() argument
H A 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()
85 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in eee_fill_reply()
81 eee_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) eee_fill_reply() argument
H A 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()
105 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in privflags_fill_reply()
100 privflags_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) privflags_fill_reply() argument
H A Dplca.c54 static int plca_get_cfg_prepare_data(const struct ethnl_req_info *req_base, in plca_get_cfg_prepare_data() argument
90 static int plca_get_cfg_reply_size(const struct ethnl_req_info *req_base, in plca_get_cfg_reply_size() argument
103 const struct ethnl_req_info *req_base, in plca_get_cfg_fill_reply()
197 static int plca_get_status_prepare_data(const struct ethnl_req_info *req_base, in plca_get_status_prepare_data() argument
232 static int plca_get_status_reply_size(const struct ethnl_req_info *req_base, in plca_get_status_reply_size() argument
239 const struct ethnl_req_info *req_base, in plca_get_status_fill_reply()
102 plca_get_cfg_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) plca_get_cfg_fill_reply() argument
238 plca_get_status_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) plca_get_status_fill_reply() argument
H A 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()
57 phc_vclocks_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) phc_vclocks_fill_reply() argument
H A Deeprom.c103 static int eeprom_prepare_data(const struct ethnl_req_info *req_base, in eeprom_prepare_data() argument
108 struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_base); in eeprom_prepare_data()
191 static int eeprom_reply_size(const struct ethnl_req_info *req_base, in eeprom_reply_size() argument
194 const struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_base); in eeprom_reply_size()
200 const struct ethnl_req_info *req_base, in eeprom_fill_reply()
199 eeprom_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) eeprom_fill_reply() argument
H A Drss.c44 rss_prepare_data(const struct ethnl_req_info *req_base, in rss_prepare_data() argument
49 struct rss_req_info *request = RSS_REQINFO(req_base); in rss_prepare_data()
107 rss_reply_size(const struct ethnl_req_info *req_base, in rss_reply_size() argument
121 rss_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, in rss_fill_reply() argument
H A Dlinkstate.c82 static int linkstate_prepare_data(const struct ethnl_req_info *req_base, in linkstate_prepare_data() argument
114 if (req_base->flags & ETHTOOL_FLAG_STATS) { in linkstate_prepare_data()
130 static int linkstate_reply_size(const struct ethnl_req_info *req_base, in linkstate_reply_size() argument
158 const struct ethnl_req_info *req_base, in linkstate_fill_reply()
157 linkstate_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) linkstate_fill_reply() argument
H A Dmm.c28 static int mm_prepare_data(const struct ethnl_req_info *req_base, in mm_prepare_data() argument
53 if (ops->get_mm_stats && (req_base->flags & ETHTOOL_FLAG_STATS)) in mm_prepare_data()
62 static int mm_reply_size(const struct ethnl_req_info *req_base, in mm_reply_size() argument
77 if (req_base->flags & ETHTOOL_FLAG_STATS) in mm_reply_size()
125 const struct ethnl_req_info *req_base, in mm_fill_reply()
142 if (req_base->flags & ETHTOOL_FLAG_STATS && in mm_fill_reply()
124 mm_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) mm_fill_reply() argument
H A 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()
440 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_fill_reply()
436 strset_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) strset_fill_reply() argument
H A Dpse-pd.c55 static int pse_prepare_data(const struct ethnl_req_info *req_base, in pse_prepare_data() argument
74 static int pse_reply_size(const struct ethnl_req_info *req_base, in pse_reply_size() argument
90 const struct ethnl_req_info *req_base, in pse_fill_reply()
89 pse_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) pse_fill_reply() argument
/kernel/linux/linux-5.10/net/ethtool/
H A Dpause.c30 static int pause_prepare_data(const struct ethnl_req_info *req_base, in pause_prepare_data() argument
48 if (req_base->flags & ETHTOOL_FLAG_STATS && in pause_prepare_data()
56 static int pause_reply_size(const struct ethnl_req_info *req_base, in pause_reply_size() argument
63 if (req_base->flags & ETHTOOL_FLAG_STATS) in pause_reply_size()
105 const struct ethnl_req_info *req_base, in pause_fill_reply()
116 if (req_base->flags & ETHTOOL_FLAG_STATS && in pause_fill_reply()
104 pause_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) pause_fill_reply() argument
H A 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()
91 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in tsinfo_fill_reply()
86 tsinfo_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) tsinfo_fill_reply() argument
H A 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()
59 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in debug_fill_reply()
54 debug_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) debug_fill_reply() argument
H A 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()
H A 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()
68 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in wol_fill_reply()
64 wol_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) wol_fill_reply() argument
H A 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()
105 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in privflags_fill_reply()
100 privflags_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) privflags_fill_reply() argument
H A 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()
85 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in eee_fill_reply()
81 eee_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) eee_fill_reply() argument
H A Dstrset.c156 static int strset_parse_request(struct ethnl_req_info *req_base, in strset_parse_request() argument
160 struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_parse_request()
250 static int strset_prepare_data(const struct ethnl_req_info *req_base, in strset_prepare_data() argument
254 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_prepare_data()
322 static int strset_reply_size(const struct ethnl_req_info *req_base, in strset_reply_size() argument
325 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_reply_size()
412 const struct ethnl_req_info *req_base, in strset_fill_reply()
415 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_fill_reply()
411 strset_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) strset_fill_reply() argument
H A 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()
56 linkinfo_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, const struct ethnl_reply_data *reply_base) linkinfo_fill_reply() argument

Completed in 11 milliseconds

12