Searched refs:sinfo (Results 101 - 125 of 131) sorted by path

123456

/linux-master/net/batman-adv/
H A Dbat_v_elp.c71 struct station_info sinfo; local
94 ret = cfg80211_get_station(real_netdev, neigh->addr, &sinfo);
98 cfg80211_sinfo_release_content(&sinfo);
112 if (sinfo.filled & BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT))
113 return sinfo.expected_throughput / 100;
118 if (sinfo.filled & BIT(NL80211_STA_INFO_TX_BITRATE))
119 return cfg80211_calculate_bitrate(&sinfo.txrate) / 3;
/linux-master/net/bpf/
H A Dtest_run.c439 struct skb_shared_info *sinfo, u32 size,
456 int len = sinfo ? copy_size - sinfo->xdp_frags_size : copy_size;
466 if (sinfo) {
470 for (i = 0; i < sinfo->nr_frags; i++) {
471 skb_frag_t *frag = &sinfo->frags[i];
561 void noinline bpf_fentry_test_sinfo(struct skb_shared_info *sinfo) argument
1169 struct skb_shared_info *sinfo; local
1229 sinfo = xdp_get_shared_info_from_buff(&xdp);
1243 if (sinfo
437 bpf_test_finish(const union bpf_attr *kattr, union bpf_attr __user *uattr, const void *data, struct skb_shared_info *sinfo, u32 size, u32 retval, u32 duration) argument
[all...]
/linux-master/net/core/
H A Dfilter.c3943 struct skb_shared_info *sinfo; local
3954 sinfo = xdp_get_shared_info_from_buff(xdp);
3955 end_frag = &sinfo->frags[sinfo->nr_frags];
3956 next_frag = &sinfo->frags[0];
3988 struct skb_shared_info *sinfo; local
4001 sinfo = xdp_get_shared_info_from_buff(xdp);
4003 for (i = 0; i < sinfo->nr_frags; i++) { /* paged area */
4004 u32 frag_size = skb_frag_size(&sinfo->frags[i]);
4007 addr = skb_frag_address(&sinfo
4083 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp); local
4140 struct skb_shared_info *sinfo = xdp_get_shared_info_from_buff(xdp); local
[all...]
H A Dxdp.c413 struct skb_shared_info *sinfo; local
419 sinfo = xdp_get_shared_info_from_frame(xdpf);
420 for (i = 0; i < sinfo->nr_frags; i++) {
421 struct page *page = skb_frag_page(&sinfo->frags[i]);
432 struct skb_shared_info *sinfo; local
438 sinfo = xdp_get_shared_info_from_frame(xdpf);
439 for (i = 0; i < sinfo->nr_frags; i++) {
440 struct page *page = skb_frag_page(&sinfo->frags[i]);
500 struct skb_shared_info *sinfo; local
503 sinfo
518 struct skb_shared_info *sinfo; local
605 struct skb_shared_info *sinfo = xdp_get_shared_info_from_frame(xdpf); local
[all...]
/linux-master/net/mac80211/
H A Dcfg.c838 int idx, u8 *mac, struct station_info *sinfo)
851 sta_set_sinfo(sta, sinfo, true);
866 const u8 *mac, struct station_info *sinfo)
878 sta_set_sinfo(sta, sinfo, true);
837 ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument
865 ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) argument
H A Ddriver-ops.h619 struct station_info *sinfo)
630 local->ops->sta_statistics(&local->hw, &sdata->vif, sta, sinfo);
616 drv_sta_statistics(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct station_info *sinfo) argument
H A Dethtool.c84 struct station_info sinfo; local
93 data[i++] += sinfo.rx_packets; \
94 data[i++] += sinfo.rx_bytes; \
97 data[i++] += sinfo.rx_dropped_misc; \
99 data[i++] += sinfo.tx_packets; \
100 data[i++] += sinfo.tx_bytes; \
102 data[i++] += sinfo.tx_failed; \
103 data[i++] += sinfo.tx_retries; \
120 memset(&sinfo, 0, sizeof(sinfo));
[all...]
H A Dsta_info.c823 struct station_info *sinfo = NULL; local
834 sinfo = kzalloc(sizeof(struct station_info), GFP_KERNEL);
835 if (!sinfo) {
904 sinfo->generation = local->sta_generation;
905 cfg80211_new_sta(sdata->dev, sta->sta.addr, sinfo, GFP_KERNEL);
906 kfree(sinfo);
929 kfree(sinfo);
1413 struct station_info *sinfo; local
1470 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNE
2566 sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo, bool tidstats) argument
[all...]
H A Dsta_info.h919 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo,
/linux-master/net/rds/
H A Daf_rds.c803 struct rds_info_socket sinfo; local
820 sinfo.sndbuf = rds_sk_sndbuf(rs);
821 sinfo.rcvbuf = rds_sk_rcvbuf(rs);
822 sinfo.bound_addr = rs->rs_bound_addr_v4;
823 sinfo.connected_addr = rs->rs_conn_addr_v4;
824 sinfo.bound_port = rs->rs_bound_port;
825 sinfo.connected_port = rs->rs_conn_port;
826 sinfo.inum = sock_i_ino(rds_rs_to_sk(rs));
828 rds_info_copy(iter, &sinfo, sizeof(sinfo));
[all...]
/linux-master/net/sched/
H A Dcls_flower.c1392 struct gtp_pdu_session_info *sinfo; local
1396 sinfo = (struct gtp_pdu_session_info *)&key->enc_opts.data[len];
1397 memset(sinfo, 0xff, option_len);
1400 return sizeof(*sinfo);
1421 sinfo->pdu_type =
1425 sinfo->qfi = nla_get_u8(tb[TCA_FLOWER_KEY_ENC_OPT_GTP_QFI]);
1427 return sizeof(*sinfo);
/linux-master/net/sctp/
H A Dchunk.c147 struct sctp_sndrcvinfo *sinfo,
165 if (asoc->peer.prsctp_capable && sinfo->sinfo_timetolive &&
166 (SCTP_PR_TTL_ENABLED(sinfo->sinfo_flags) ||
167 !SCTP_PR_POLICY(sinfo->sinfo_flags)))
169 msecs_to_jiffies(sinfo->sinfo_timetolive);
193 if (sinfo->sinfo_tsn &&
194 sinfo->sinfo_ssn != asoc->active_key_id) {
195 shkey = sctp_auth_get_shkey(asoc, sinfo->sinfo_ssn);
257 if ((sinfo->sinfo_flags & SCTP_EOF) ||
258 (sinfo
146 sctp_datamsg_from_user(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct iov_iter *from) argument
[all...]
H A Doutqueue.c301 SCTP_PR_PRIO_ENABLED(chunk->sinfo.sinfo_flags))
343 struct sctp_sndrcvinfo *sinfo,
352 (!SCTP_PR_PRIO_ENABLED(chk->sinfo.sinfo_flags) ||
353 chk->sinfo.sinfo_timetolive <= sinfo->sinfo_timetolive))
361 streamout = SCTP_SO(&asoc->stream, chk->sinfo.sinfo_stream);
383 struct sctp_sndrcvinfo *sinfo, int msg_len)
394 !SCTP_PR_PRIO_ENABLED(chk->sinfo.sinfo_flags) ||
395 chk->sinfo.sinfo_timetolive <= sinfo
342 sctp_prsctp_prune_sent(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct list_head *queue, int msg_len) argument
382 sctp_prsctp_prune_unsent(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, int msg_len) argument
423 sctp_prsctp_prune(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, int msg_len) argument
[all...]
H A Dsm_make_chunk.c723 const struct sctp_sndrcvinfo *sinfo,
733 dp.ppid = sinfo->sinfo_ppid;
734 dp.stream = htons(sinfo->sinfo_stream);
737 if (sinfo->sinfo_flags & SCTP_UNORDERED)
745 memcpy(&retval->sinfo, sinfo, sizeof(struct sctp_sndrcvinfo));
722 sctp_make_datafrag_empty(const struct sctp_association *asoc, const struct sctp_sndrcvinfo *sinfo, int len, __u8 flags, gfp_t gfp) argument
H A Dsocket.c1626 if (cmsgs->sinfo) {
1627 srinfo->sinfo_stream = cmsgs->sinfo->snd_sid;
1628 srinfo->sinfo_flags = cmsgs->sinfo->snd_flags;
1629 srinfo->sinfo_ppid = cmsgs->sinfo->snd_ppid;
1630 srinfo->sinfo_context = cmsgs->sinfo->snd_context;
1631 srinfo->sinfo_assoc_id = cmsgs->sinfo->snd_assoc_id;
1793 struct sctp_sndrcvinfo *sinfo)
1804 if (sinfo->sinfo_stream >= asoc->stream.outcnt) {
1809 if (unlikely(!SCTP_SO(&asoc->stream, sinfo->sinfo_stream)->ext)) {
1810 err = sctp_stream_init_ext(&asoc->stream, sinfo
1790 sctp_sendmsg_to_asoc(struct sctp_association *asoc, struct msghdr *msg, size_t msg_len, struct sctp_transport *transport, struct sctp_sndrcvinfo *sinfo) argument
1917 sctp_sendmsg_update_sinfo(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct sctp_cmsgs *cmsgs) argument
1947 struct sctp_sndrcvinfo _sinfo, *sinfo; local
[all...]
H A Dstream.c48 SCTP_PR_PRIO_ENABLED(ch->sinfo.sinfo_flags))
H A Dstream_interleave.c26 const struct sctp_sndrcvinfo *sinfo,
33 dp.stream = htons(sinfo->sinfo_stream);
35 if (sinfo->sinfo_flags & SCTP_UNORDERED)
43 memcpy(&retval->sinfo, sinfo, sizeof(struct sctp_sndrcvinfo));
70 hdr->ppid = lchunk->sinfo.sinfo_ppid;
24 sctp_make_idatafrag_empty( const struct sctp_association *asoc, const struct sctp_sndrcvinfo *sinfo, int len, __u8 flags, gfp_t gfp) argument
H A Dulpevent.c509 memcpy(&ssf->ssf_info, &chunk->sinfo, sizeof(struct sctp_sndrcvinfo));
560 ssf->ssfe_info.snd_sid = chunk->sinfo.sinfo_stream;
561 ssf->ssfe_info.snd_ppid = chunk->sinfo.sinfo_ppid;
562 ssf->ssfe_info.snd_context = chunk->sinfo.sinfo_context;
563 ssf->ssfe_info.snd_assoc_id = chunk->sinfo.sinfo_assoc_id;
990 struct sctp_sndrcvinfo sinfo; local
995 memset(&sinfo, 0, sizeof(sinfo));
996 sinfo.sinfo_stream = event->stream;
997 sinfo
[all...]
/linux-master/net/wireless/
H A Dnl80211.c6534 const u8 *mac_addr, struct station_info *sinfo)
6541 cfg80211_sinfo_release_content(sinfo);
6547 nla_put_u32(msg, NL80211_ATTR_GENERATION, sinfo->generation))
6556 if (sinfo->filled & BIT_ULL(NL80211_STA_INFO_ ## attr) && \
6558 sinfo->memb)) \
6562 if (sinfo->filled & BIT_ULL(NL80211_STA_INFO_ ## attr) && \
6564 sinfo->memb, NL80211_STA_INFO_PAD)) \
6572 if (sinfo->filled & (BIT_ULL(NL80211_STA_INFO_RX_BYTES) |
6575 (u32)sinfo->rx_bytes))
6578 if (sinfo
6530 nl80211_send_station(struct sk_buff *msg, u32 cmd, u32 portid, u32 seq, int flags, struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo) argument
6764 struct station_info sinfo; local
6819 struct station_info sinfo; local
12832 struct station_info sinfo = {}; local
15746 struct station_info sinfo = {}; local
18684 cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo, gfp_t gfp) argument
18708 cfg80211_del_sta_sinfo(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo, gfp_t gfp) argument
[all...]
H A Drdev-ops.h230 struct station_info *sinfo)
234 ret = rdev->ops->get_station(&rdev->wiphy, dev, mac, sinfo);
235 trace_rdev_return_int_station_info(&rdev->wiphy, ret, sinfo);
241 struct station_info *sinfo)
245 ret = rdev->ops->dump_station(&rdev->wiphy, dev, idx, mac, sinfo);
246 trace_rdev_return_int_station_info(&rdev->wiphy, ret, sinfo);
228 rdev_get_station(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac, struct station_info *sinfo) argument
239 rdev_dump_station(struct cfg80211_registered_device *rdev, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument
H A Dtrace.h205 __entry->generation = sinfo->generation; \
206 __entry->connected_time = sinfo->connected_time; \
207 __entry->inactive_time = sinfo->inactive_time; \
208 __entry->rx_bytes = sinfo->rx_bytes; \
209 __entry->tx_bytes = sinfo->tx_bytes; \
210 __entry->rx_packets = sinfo->rx_packets; \
211 __entry->tx_packets = sinfo->tx_packets; \
212 __entry->tx_retries = sinfo->tx_retries; \
213 __entry->tx_failed = sinfo->tx_failed; \
214 __entry->rx_dropped_misc = sinfo
[all...]
H A Dutil.c2548 struct station_info *sinfo)
2561 memset(sinfo, 0, sizeof(*sinfo));
2563 return rdev_get_station(rdev, dev, mac_addr, sinfo);
2604 int cfg80211_sinfo_alloc_tid_stats(struct station_info *sinfo, gfp_t gfp) argument
2606 sinfo->pertid = kcalloc(IEEE80211_NUM_TIDS + 1,
2607 sizeof(*(sinfo->pertid)),
2609 if (!sinfo->pertid)
2547 cfg80211_get_station(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo) argument
H A Dwext-compat.c1312 struct station_info sinfo = {}; local
1332 err = rdev_get_station(rdev, dev, addr, &sinfo);
1337 if (!(sinfo.filled & BIT_ULL(NL80211_STA_INFO_TX_BITRATE))) {
1342 rate->value = 100000 * cfg80211_calculate_bitrate(&sinfo.txrate);
1345 cfg80211_sinfo_release_content(&sinfo);
1356 static struct station_info sinfo = {}; local
1374 memset(&sinfo, 0, sizeof(sinfo));
1376 ret = rdev_get_station(rdev, dev, bssid, &sinfo);
1386 if (sinfo
[all...]
/linux-master/net/xdp/
H A Dxsk.c272 struct skb_shared_info *sinfo; local
274 sinfo = xdp_get_shared_info_from_buff(xdp);
275 frag = &sinfo->frags[0];
/linux-master/sound/soc/intel/catpt/
H A Dmessages.c54 struct catpt_stream_info *sinfo)
94 reply.size = sizeof(*sinfo);
95 reply.data = sinfo;
45 catpt_ipc_alloc_stream(struct catpt_dev *cdev, enum catpt_path_id path_id, enum catpt_stream_type type, struct catpt_audio_format *afmt, struct catpt_ring_info *rinfo, u8 num_modules, struct catpt_module_entry *modules, struct resource *persistent, struct resource *scratch, struct catpt_stream_info *sinfo) argument

Completed in 515 milliseconds

123456