Lines Matching refs:ms
22 struct minstrel_debugfs_info *ms; in minstrel_stats_read() local
24 ms = file->private_data; in minstrel_stats_read()
25 return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len); in minstrel_stats_read()
148 struct minstrel_debugfs_info *ms; in minstrel_ht_stats_open() local
152 ms = kmalloc(32768, GFP_KERNEL); in minstrel_ht_stats_open()
153 if (!ms) in minstrel_ht_stats_open()
156 file->private_data = ms; in minstrel_ht_stats_open()
157 p = ms->buf; in minstrel_ht_stats_open()
179 ms->len = p - ms->buf; in minstrel_ht_stats_open()
180 WARN_ON(ms->len + sizeof(*ms) > 32768); in minstrel_ht_stats_open()
297 struct minstrel_debugfs_info *ms; in minstrel_ht_stats_csv_open() local
301 ms = kmalloc(32768, GFP_KERNEL); in minstrel_ht_stats_csv_open()
302 if (!ms) in minstrel_ht_stats_csv_open()
305 file->private_data = ms; in minstrel_ht_stats_csv_open()
307 p = ms->buf; in minstrel_ht_stats_csv_open()
315 ms->len = p - ms->buf; in minstrel_ht_stats_csv_open()
316 WARN_ON(ms->len + sizeof(*ms) > 32768); in minstrel_ht_stats_csv_open()