Home
last modified time | relevance | path

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

/linux/net/ethtool/
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.c73 tsinfo_parse_request(struct ethnl_req_info *req_base, in tsinfo_parse_request() argument
78 struct tsinfo_req_info *req = TSINFO_REQINFO(req_base); in tsinfo_parse_request()
86 if (req_base->flags & ETHTOOL_FLAG_STATS) { in tsinfo_parse_request()
95 static int tsinfo_prepare_data(const struct ethnl_req_info *req_base, in tsinfo_prepare_data() argument
100 struct tsinfo_req_info *req = TSINFO_REQINFO(req_base); in tsinfo_prepare_data()
115 if (req_base->flags & ETHTOOL_FLAG_STATS) { in tsinfo_prepare_data()
128 static int tsinfo_reply_size(const struct ethnl_req_info *req_base, in tsinfo_reply_size() argument
132 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in tsinfo_reply_size()
176 if (req_base->flags & ETHTOOL_FLAG_STATS) in tsinfo_reply_size()
220 const struct ethnl_req_info *req_base, in tsinfo_fill_reply() argument
[all …]
H A Dtsconfig.c34 static int tsconfig_prepare_data(const struct ethnl_req_info *req_base, in tsconfig_prepare_data() argument
86 static int tsconfig_reply_size(const struct ethnl_req_info *req_base, in tsconfig_reply_size() argument
90 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in tsconfig_reply_size()
133 const struct ethnl_req_info *req_base, in tsconfig_fill_reply() argument
137 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in tsconfig_fill_reply()
250 static int ethnl_set_tsconfig_validate(struct ethnl_req_info *req_base, in ethnl_set_tsconfig_validate() argument
253 const struct net_device_ops *ops = req_base->dev->netdev_ops; in ethnl_set_tsconfig_validate()
302 static int ethnl_set_tsconfig(struct ethnl_req_info *req_base, in ethnl_set_tsconfig() argument
308 struct net_device *dev = req_base->dev; in ethnl_set_tsconfig()
H A Dstrset.c192 static int strset_parse_request(struct ethnl_req_info *req_base, in strset_parse_request() argument
197 struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_parse_request()
288 static int strset_prepare_data(const struct ethnl_req_info *req_base, in strset_prepare_data() argument
292 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_prepare_data()
314 phydev = ethnl_req_get_phydev(req_base, tb, ETHTOOL_A_STRSET_HEADER, in strset_prepare_data()
368 static int strset_reply_size(const struct ethnl_req_info *req_base, in strset_reply_size() argument
371 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_reply_size()
459 const struct ethnl_req_info *req_base, in strset_fill_reply() argument
462 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_fill_reply()
H A Dlinkstate.c97 static int linkstate_prepare_data(const struct ethnl_req_info *req_base, in linkstate_prepare_data() argument
107 phydev = ethnl_req_get_phydev(req_base, tb, ETHTOOL_A_LINKSTATE_HEADER, in linkstate_prepare_data()
136 if (req_base->flags & ETHTOOL_FLAG_STATS) { in linkstate_prepare_data()
152 static int linkstate_reply_size(const struct ethnl_req_info *req_base, in linkstate_reply_size() argument
179 const struct ethnl_req_info *req_base, in linkstate_fill_reply() argument
H A Deeprom.c113 static int eeprom_prepare_data(const struct ethnl_req_info *req_base, in eeprom_prepare_data() argument
118 struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_base); in eeprom_prepare_data()
202 static int eeprom_reply_size(const struct ethnl_req_info *req_base, in eeprom_reply_size() argument
205 const struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_base); in eeprom_reply_size()
211 const struct ethnl_req_info *req_base, in eeprom_fill_reply() argument
H A Dmm.c29 static int mm_prepare_data(const struct ethnl_req_info *req_base, in mm_prepare_data() argument
54 if (ops->get_mm_stats && (req_base->flags & ETHTOOL_FLAG_STATS)) in mm_prepare_data()
63 static int mm_reply_size(const struct ethnl_req_info *req_base, in mm_reply_size() argument
78 if (req_base->flags & ETHTOOL_FLAG_STATS) in mm_reply_size()
126 const struct ethnl_req_info *req_base, in mm_fill_reply() argument
143 if (req_base->flags & ETHTOOL_FLAG_STATS && in mm_fill_reply()
H A Dpse-pd.c55 static int pse_prepare_data(const struct ethnl_req_info *req_base, in pse_prepare_data() argument
65 phydev = ethnl_req_get_phydev(req_base, tb, ETHTOOL_A_PSE_HEADER, in pse_prepare_data()
81 static int pse_reply_size(const struct ethnl_req_info *req_base, in pse_reply_size() argument
152 const struct ethnl_req_info *req_base, in pse_fill_reply() argument
H A Dcoalesce.c62 static int coalesce_prepare_data(const struct ethnl_req_info *req_base, in coalesce_prepare_data() argument
84 static int coalesce_reply_size(const struct ethnl_req_info *req_base, in coalesce_reply_size() argument
212 const struct ethnl_req_info *req_base, in coalesce_fill_reply() argument
282 if (!req_base->dev || !req_base->dev->irq_moder) in coalesce_fill_reply()
285 moder = req_base->dev->irq_moder; in coalesce_fill_reply()
H A Dmodule.c50 static int module_prepare_data(const struct ethnl_req_info *req_base, in module_prepare_data() argument
71 static int module_reply_size(const struct ethnl_req_info *req_base, in module_reply_size() argument
87 const struct ethnl_req_info *req_base, in module_fill_reply() argument
H A Drss.c259 rss_prepare_data(const struct ethnl_req_info *req_base, in rss_prepare_data() argument
264 struct rss_req_info *request = RSS_REQINFO(req_base); in rss_prepare_data()
280 rss_reply_size(const struct ethnl_req_info *req_base, in rss_reply_size() argument
299 rss_fill_reply(struct sk_buff *skb, const struct ethnl_req_info *req_base, in rss_fill_reply() argument
303 struct rss_req_info *request = RSS_REQINFO(req_base); in rss_fill_reply()
/linux/drivers/crypto/hisilicon/sec/
H A Dsec_drv.h283 struct crypto_async_request *req_base; member