• Home
  • Raw
  • Download

Lines Matching full:count

20 int mac80211_format_buffer(char __user *userbuf, size_t count,  in mac80211_format_buffer()  argument
31 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in mac80211_format_buffer()
36 size_t count, loff_t *ppos) \
40 return mac80211_format_buffer(userbuf, count, ppos, \
77 size_t count, in aqm_read() argument
112 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read()
118 size_t count, in aqm_write() argument
124 if (count >= sizeof(buf)) in aqm_write()
127 if (copy_from_user(buf, user_buf, count)) in aqm_write()
130 if (count && buf[count - 1] == '\n') in aqm_write()
131 buf[count - 1] = '\0'; in aqm_write()
133 buf[count] = '\0'; in aqm_write()
136 return count; in aqm_write()
138 return count; in aqm_write()
140 return count; in aqm_write()
154 size_t count, loff_t *ppos) in airtime_flags_read() argument
169 return simple_read_from_buffer(user_buf, count, ppos, buf, in airtime_flags_read()
175 size_t count, loff_t *ppos) in airtime_flags_write() argument
180 if (count >= sizeof(buf)) in airtime_flags_write()
183 if (copy_from_user(buf, user_buf, count)) in airtime_flags_write()
186 if (count && buf[count - 1] == '\n') in airtime_flags_write()
187 buf[count - 1] = '\0'; in airtime_flags_write()
189 buf[count] = '\0'; in airtime_flags_write()
194 return count; in airtime_flags_write()
206 size_t count, in aql_txq_limit_read() argument
227 return simple_read_from_buffer(user_buf, count, ppos, in aql_txq_limit_read()
233 size_t count, in aql_txq_limit_write() argument
241 if (count >= sizeof(buf)) in aql_txq_limit_write()
244 if (copy_from_user(buf, user_buf, count)) in aql_txq_limit_write()
247 if (count && buf[count - 1] == '\n') in aql_txq_limit_write()
248 buf[count - 1] = '\0'; in aql_txq_limit_write()
250 buf[count] = '\0'; in aql_txq_limit_write()
274 return count; in aql_txq_limit_write()
286 size_t count, in force_tx_status_read() argument
295 return simple_read_from_buffer(user_buf, count, ppos, in force_tx_status_read()
301 size_t count, in force_tx_status_write() argument
307 if (count >= sizeof(buf)) in force_tx_status_write()
310 if (copy_from_user(buf, user_buf, count)) in force_tx_status_write()
313 if (count && buf[count - 1] == '\n') in force_tx_status_write()
314 buf[count - 1] = '\0'; in force_tx_status_write()
316 buf[count] = '\0'; in force_tx_status_write()
325 return count; in force_tx_status_write()
337 size_t count, loff_t *ppos) in reset_write() argument
346 return count; in reset_write()
412 size_t count, loff_t *ppos) in hwflags_read() argument
435 rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in hwflags_read()
441 size_t count, loff_t *ppos) in misc_read() argument
467 rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in misc_read()
473 size_t count, loff_t *ppos) in queues_read() argument
487 return simple_read_from_buffer(user_buf, count, ppos, buf, res); in queues_read()
498 size_t count, loff_t *ppos, in format_devstat_counter() argument
512 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in format_devstat_counter()
523 size_t count, loff_t *ppos) \
527 count, \