Searched refs:buf_size (Results 1 - 17 of 17) sorted by relevance

/net/wireless/
H A Ddebugfs.c44 char *buf, int buf_size, int offset)
46 if (WARN_ON(offset > buf_size))
51 buf_size - offset,
56 buf_size - offset,
71 unsigned int offset = 0, buf_size = PAGE_SIZE, i, r; local
75 buf = kzalloc(buf_size, GFP_KERNEL);
87 buf, buf_size, offset);
43 ht_print_chan(struct ieee80211_channel *chan, char *buf, int buf_size, int offset) argument
/net/mac80211/
H A Dagg-rx.c54 for (i = 0; i < tid_rx->buf_size; i++)
183 u16 buf_size, u16 timeout)
218 capab |= (u16)(buf_size << 6); /* bit 15:6 max size of aggregation */
230 u16 buf_size, bool tx, bool auto_seq)
250 (buf_size > IEEE80211_MAX_AMPDU_BUF)) {
254 sta->sta.addr, tid, ba_policy, buf_size);
258 if (buf_size == 0)
259 buf_size = IEEE80211_MAX_AMPDU_BUF;
262 if (buf_size > local->hw.max_rx_aggregation_subframes)
263 buf_size
181 ieee80211_send_addba_resp(struct ieee80211_sub_if_data *sdata, u8 *da, u16 tid, u8 dialog_token, u16 status, u16 policy, u16 buf_size, u16 timeout) argument
227 __ieee80211_start_rx_ba_session(struct sta_info *sta, u8 dialog_token, u16 timeout, u16 start_seq_num, u16 ba_policy, u16 tid, u16 buf_size, bool tx, bool auto_seq) argument
355 u16 capab, tid, timeout, ba_policy, buf_size, start_seq_num; local
[all...]
H A Dsta_info.h124 * @buf_size: reorder buffer size at receiver
148 u8 buf_size; member in struct:tid_ampdu_tx
166 * @buf_size: buffer size for incoming A-MPDUs
178 * struct, except for @timeout, @buf_size and @dialog_token,
193 u16 buf_size; member in struct:tid_ampdu_rx
H A Dagg-tx.c652 &sta->sta, tid, NULL, tid_tx->buf_size);
866 u8 buf_size; local
870 buf_size = (capab & IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK) >> 6;
909 == WLAN_STATUS_SUCCESS && buf_size) {
916 tid_tx->buf_size = buf_size;
H A Ddebugfs.c106 int buf_size, i, alloc_size; local
114 buf_size = count;
115 if (copy_from_user(buf, userbuf, buf_size))
H A Drx.c728 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size;
754 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size;
762 for (j = (index + 1) % tid_agg_rx->buf_size; j != index;
763 j = (j + 1) % tid_agg_rx->buf_size) {
775 for (i = (index + 1) % tid_agg_rx->buf_size; i != j;
776 i = (i + 1) % tid_agg_rx->buf_size)
796 index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size;
800 j = index = tid_agg_rx->head_seq_num % tid_agg_rx->buf_size;
802 for (; j != (index - 1) % tid_agg_rx->buf_size;
803 j = (j + 1) % tid_agg_rx->buf_size) {
833 u16 head_seq_num, buf_size; local
[all...]
H A Dtrace.h911 u16 *ssn, u8 buf_size),
913 TP_ARGS(local, sdata, action, sta, tid, ssn, buf_size),
921 __field(u8, buf_size)
932 __entry->buf_size = buf_size;
938 __entry->tid, __entry->buf_size
H A Ddriver-ops.h705 u16 *ssn, u8 buf_size)
715 trace_drv_ampdu_action(local, sdata, action, sta, tid, ssn, buf_size);
719 sta, tid, ssn, buf_size);
701 drv_ampdu_action(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, enum ieee80211_ampdu_mlme_action action, struct ieee80211_sta *sta, u16 tid, u16 *ssn, u8 buf_size) argument
H A Dieee80211_i.h1593 u16 buf_size, bool tx, bool auto_seq);
/net/tipc/
H A Dcore.c66 unsigned int buf_size = (BUF_HEADROOM + size + 3) & ~3u; local
68 skb = alloc_skb_fclone(buf_size, GFP_ATOMIC);
H A Dbcast.h96 int tipc_bclink_stats(char *stats_buf, const u32 buf_size);
H A Dbcast.c771 int tipc_bclink_stats(char *buf, const u32 buf_size) argument
783 ret = tipc_snprintf(buf, buf_size, "Link <%s>\n"
786 ret += tipc_snprintf(buf + ret, buf_size - ret,
791 ret += tipc_snprintf(buf + ret, buf_size - ret,
796 ret += tipc_snprintf(buf + ret, buf_size - ret,
799 ret += tipc_snprintf(buf + ret, buf_size - ret,
802 ret += tipc_snprintf(buf + ret, buf_size - ret,
H A Dlink.c2205 * @buf_size: size of print buffer area
2209 static int tipc_link_stats(const char *name, char *buf, const u32 buf_size) argument
2220 return tipc_bclink_stats(buf, buf_size);
2243 ret = tipc_snprintf(buf, buf_size, "Link <%s>\n"
2249 ret += tipc_snprintf(buf + ret, buf_size - ret,
2255 ret += tipc_snprintf(buf + ret, buf_size - ret,
2265 ret += tipc_snprintf(buf + ret, buf_size - ret,
2279 ret += tipc_snprintf(buf + ret, buf_size - ret,
2284 ret += tipc_snprintf(buf + ret, buf_size - ret,
2289 ret += tipc_snprintf(buf + ret, buf_size
[all...]
/net/bluetooth/
H A D6lowpan.c1228 size_t buf_size = min(count, sizeof(buf) - 1); local
1234 if (copy_from_user(buf, user_buffer, buf_size))
1237 buf[buf_size] = '\0';
H A Dhci_core.c93 size_t buf_size = min(count, (sizeof(buf)-1)); local
100 if (copy_from_user(buf, user_buf, buf_size))
103 buf[buf_size] = '\0';
408 size_t buf_size = min(count, (sizeof(buf)-1)); local
414 if (copy_from_user(buf, user_buf, buf_size))
417 buf[buf_size] = '\0';
720 size_t buf_size = min(count, (sizeof(buf)-1)); local
726 if (copy_from_user(buf, user_buf, buf_size))
729 buf[buf_size] = '\0';
/net/irda/irnet/
H A Dirnet_ppp.c217 irnet_read_discovery_log(irnet_socket *ap, char *event, int buf_size) argument
239 snprintf(event, buf_size,
/net/
H A Dsocket.c2854 size_t buf_size = ALIGN(sizeof(struct ifreq), 8); local
2882 buf_size += rule_cnt * sizeof(u32);
2891 buf_size += sizeof(struct ethtool_rxnfc);
2896 ifr = compat_alloc_user_space(buf_size);

Completed in 893 milliseconds