Home
last modified time | relevance | path

Searched refs:user_buf (Results 1 – 7 of 7) sorted by relevance

/net/mac80211/
Ddebugfs.c76 char __user *user_buf, in aqm_read() argument
112 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read()
117 const char __user *user_buf, in aqm_write() argument
127 if (copy_from_user(buf, user_buf, count)) in aqm_write()
153 char __user *user_buf, in airtime_flags_read() argument
169 return simple_read_from_buffer(user_buf, count, ppos, buf, in airtime_flags_read()
174 const char __user *user_buf, in airtime_flags_write() argument
183 if (copy_from_user(buf, user_buf, count)) in airtime_flags_write()
205 char __user *user_buf, in aql_txq_limit_read() argument
227 return simple_read_from_buffer(user_buf, count, ppos, in aql_txq_limit_read()
[all …]
/net/bluetooth/
Dhci_debugfs.c34 char __user *user_buf, \
43 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \
47 const char __user *user_buf, \
57 err = kstrtobool_from_user(user_buf, count, &enable); \
271 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, in use_debug_keys_read() argument
280 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in use_debug_keys_read()
289 static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf, in sc_only_mode_read() argument
298 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_only_mode_read()
425 static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf, in ssp_debug_mode_read() argument
434 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in ssp_debug_mode_read()
[all …]
Dselftest.c186 static ssize_t test_ecdh_read(struct file *file, char __user *user_buf, in test_ecdh_read() argument
189 return simple_read_from_buffer(user_buf, count, ppos, test_ecdh_buffer, in test_ecdh_read()
Dhci_core.c66 static ssize_t dut_mode_read(struct file *file, char __user *user_buf, in dut_mode_read() argument
75 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in dut_mode_read()
78 static ssize_t dut_mode_write(struct file *file, const char __user *user_buf, in dut_mode_write() argument
89 err = kstrtobool_from_user(user_buf, count, &enable); in dut_mode_write()
122 static ssize_t vendor_diag_read(struct file *file, char __user *user_buf, in vendor_diag_read() argument
131 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in vendor_diag_read()
134 static ssize_t vendor_diag_write(struct file *file, const char __user *user_buf, in vendor_diag_write() argument
141 err = kstrtobool_from_user(user_buf, count, &enable); in vendor_diag_write()
Dsmp.c3726 static ssize_t test_smp_read(struct file *file, char __user *user_buf, in test_smp_read() argument
3729 return simple_read_from_buffer(user_buf, count, ppos, test_smp_buffer, in test_smp_read()
/net/wireless/
Ddebugfs.c63 char __user *user_buf, in ht40allow_map_read() argument
86 r = simple_read_from_buffer(user_buf, count, ppos, buf, offset); in ht40allow_map_read()
/net/6lowpan/
Ddebugfs.c124 const char __user *user_buf, size_t count, in lowpan_ctx_pfx_write() argument
135 if (copy_from_user(&buf, user_buf, min_t(size_t, sizeof(buf) - 1, in lowpan_ctx_pfx_write()