Lines Matching refs:buf

19 	char buf[buflen];						\
22 res = scnprintf(buf, buflen, fmt "\n", ##value); \
23 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
42 char *buf, int buf_size, int offset) in ht_print_chan() argument
48 return scnprintf(buf + offset, in ht_print_chan()
53 return scnprintf(buf + offset, in ht_print_chan()
68 char *buf; in ht40allow_map_read() local
74 buf = kzalloc(buf_size, GFP_KERNEL); in ht40allow_map_read()
75 if (!buf) in ht40allow_map_read()
84 buf, buf_size, offset); in ht40allow_map_read()
87 r = simple_read_from_buffer(user_buf, count, ppos, buf, offset); in ht40allow_map_read()
89 kfree(buf); in ht40allow_map_read()
118 char *buf,
123 char *buf; member
135 w->ret = w->handler(w->wiphy, w->file, w->buf, w->bufsize, w->data); in wiphy_locked_debugfs_read_work()
149 char *buf, size_t bufsize, in wiphy_locked_debugfs_read() argument
154 char *buf, in wiphy_locked_debugfs_read()
163 .buf = buf, in wiphy_locked_debugfs_read()
175 memset(buf, 0, bufsize); in wiphy_locked_debugfs_read()
190 return simple_read_from_buffer(userbuf, count, ppos, buf, work.ret); in wiphy_locked_debugfs_read()
198 char *buf,
203 char *buf; member
215 w->ret = w->handler(w->wiphy, w->file, w->buf, w->count, w->data); in wiphy_locked_debugfs_write_work()
229 struct file *file, char *buf, size_t bufsize, in wiphy_locked_debugfs_write() argument
233 char *buf, in wiphy_locked_debugfs_write()
242 .buf = buf, in wiphy_locked_debugfs_write()
257 memset(buf, 0, bufsize); in wiphy_locked_debugfs_write()
259 if (copy_from_user(buf, userbuf, count)) in wiphy_locked_debugfs_write()