/net/mac80211/ |
D | debugfs_sta.c | 25 size_t count, loff_t *ppos) \ 28 return mac80211_format_buffer(userbuf, count, ppos, \ 68 size_t count, loff_t *ppos) in sta_flags_read() argument 90 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in sta_flags_read() 96 size_t count, loff_t *ppos) in sta_num_ps_buf_frames_read() argument 106 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read() 111 size_t count, loff_t *ppos) in sta_inactive_ms_read() argument 114 return mac80211_format_buffer(userbuf, count, ppos, "%d\n", in sta_inactive_ms_read() 121 size_t count, loff_t *ppos) in sta_connected_time_read() argument 138 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in sta_connected_time_read() [all …]
|
D | debugfs_key.c | 21 size_t count, loff_t *ppos) \ 24 return mac80211_format_buffer(userbuf, count, ppos, \ 66 size_t count, loff_t *ppos) in key_algorithm_read() argument 74 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); in key_algorithm_read() 79 size_t count, loff_t *ppos) in key_tx_spec_read() argument 111 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in key_tx_spec_read() 116 size_t count, loff_t *ppos) in key_rx_spec_read() argument 157 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in key_rx_spec_read() 162 size_t count, loff_t *ppos) in key_replays_read() argument 179 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in key_replays_read() [all …]
|
D | debugfs.c | 32 size_t count, loff_t *ppos) in sta_tx_latency_stat_read() argument 74 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in sta_tx_latency_stat_read() 100 size_t count, loff_t *ppos) in sta_tx_latency_stat_write() argument 188 loff_t *ppos, char *fmt, ...) in mac80211_format_buffer() argument 198 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in mac80211_format_buffer() 203 size_t count, loff_t *ppos) \ 207 return mac80211_format_buffer(userbuf, count, ppos, \ 242 size_t count, loff_t *ppos) in reset_write() argument 262 size_t count, loff_t *ppos) in hwflags_read() argument 320 rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in hwflags_read() [all …]
|
D | rc80211_minstrel_debugfs.c | 111 minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) in minstrel_stats_read() argument 116 return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len); in minstrel_stats_read()
|
D | debugfs_netdev.c | 30 size_t count, loff_t *ppos, in ieee80211_if_read() argument 41 ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret); in ieee80211_if_read() 49 size_t count, loff_t *ppos, in ieee80211_if_write() argument 145 size_t count, loff_t *ppos) \ 148 userbuf, count, ppos, \ 155 size_t count, loff_t *ppos) \ 158 ppos, ieee80211_if_parse_##name); \
|
D | debugfs.h | 9 loff_t *ppos, char *fmt, ...);
|
D | rc80211_minstrel.h | 137 ssize_t minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos);
|
/net/sctp/ |
D | sysctl.c | 67 loff_t *ppos); 70 loff_t *ppos); 73 loff_t *ppos); 76 loff_t *ppos); 79 loff_t *ppos); 321 loff_t *ppos) in proc_sctp_do_hmac_alg() argument 340 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg() 367 loff_t *ppos) in proc_sctp_do_rto_min() argument 383 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_min() 396 loff_t *ppos) in proc_sctp_do_rto_max() argument [all …]
|
D | probe.c | 94 size_t len, loff_t *ppos) in sctpprobe_read() argument
|
/net/sunrpc/ |
D | sysctl.c | 62 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_xprt() argument 67 if ((*ppos && !write) || !*lenp) { in proc_do_xprt() 72 return simple_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); in proc_do_xprt() 77 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dodebug() argument 84 if ((*ppos && !write) || !*lenp) { in proc_dodebug() 133 *ppos += *lenp; in proc_dodebug()
|
D | cache.c | 756 loff_t *ppos, struct cache_detail *cd) in cache_read() argument 894 size_t count, loff_t *ppos, in cache_write() argument 1426 size_t count, loff_t *ppos, in read_flush() argument 1430 unsigned long p = *ppos; in read_flush() 1442 *ppos += len; in read_flush() 1447 size_t count, loff_t *ppos, in write_flush() argument 1453 if (*ppos || count > sizeof(tbuf)-1) in write_flush() 1467 *ppos += count; in write_flush() 1472 size_t count, loff_t *ppos) in cache_read_procfs() argument 1476 return cache_read(filp, buf, count, ppos, cd); in cache_read_procfs() [all …]
|
/net/decnet/ |
D | sysctl_net_decnet.c | 137 size_t *lenp, loff_t *ppos) in dn_node_address_handler() argument 143 if (!*lenp || (*ppos && !write)) { in dn_node_address_handler() 166 *ppos += len; in dn_node_address_handler() 181 *ppos += len; in dn_node_address_handler() 188 size_t *lenp, loff_t *ppos) in dn_def_dev_handler() argument 194 if (!*lenp || (*ppos && !write)) { in dn_def_dev_handler() 222 *ppos += *lenp; in dn_def_dev_handler() 244 *ppos += len; in dn_def_dev_handler()
|
/net/core/ |
D | sysctl_net_core.c | 34 void __user *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument 52 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl() 102 loff_t *ppos) in flow_limit_cpu_sysctl() argument 144 if (*ppos || !*lenp) { in flow_limit_cpu_sysctl() 171 *ppos += len; in flow_limit_cpu_sysctl() 181 loff_t *ppos) in flow_limit_table_len_sysctl() argument 190 ret = proc_dointvec(table, write, buffer, lenp, ppos); in flow_limit_table_len_sysctl() 203 void __user *buffer, size_t *lenp, loff_t *ppos) in set_default_qdisc() argument 214 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in set_default_qdisc()
|
D | neighbour.c | 2842 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_unres_qlen() argument 2852 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_unres_qlen() 2905 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_zero_intmax() argument 2913 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in neigh_proc_dointvec_zero_intmax() 2919 void __user *buffer, size_t *lenp, loff_t *ppos) in neigh_proc_dointvec() argument 2921 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec() 2930 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_jiffies() argument 2932 int ret = proc_dointvec_jiffies(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec_jiffies() 2941 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_userhz_jiffies() argument 2943 int ret = proc_dointvec_userhz_jiffies(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec_userhz_jiffies() [all …]
|
/net/ipv4/ |
D | sysctl_net_ipv4.c | 57 size_t *lenp, loff_t *ppos) in ipv4_local_port_range() argument 73 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_local_port_range() 115 size_t *lenp, loff_t *ppos) in ipv4_ping_group_range() argument 132 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_ping_group_range() 151 size_t *lenp, loff_t *ppos) in proc_tcp_default_init_rwnd() argument 154 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in proc_tcp_default_init_rwnd() 164 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_congestion_control() argument 175 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_tcp_congestion_control() 184 loff_t *ppos) in proc_tcp_available_congestion_control() argument 193 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_tcp_available_congestion_control() [all …]
|
D | devinet.c | 1989 size_t *lenp, loff_t *ppos) in devinet_conf_proc() argument 1992 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_conf_proc() 2029 size_t *lenp, loff_t *ppos) in devinet_sysctl_forward() argument 2033 loff_t pos = *ppos; in devinet_sysctl_forward() 2034 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_sysctl_forward() 2043 *ppos = pos; in devinet_sysctl_forward() 2072 size_t *lenp, loff_t *ppos) in ipv4_doint_and_flush() argument 2076 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in ipv4_doint_and_flush()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma.c | 89 loff_t *ppos) in read_reset_stat() argument 105 if (*ppos > len) { in read_reset_stat() 109 data = &str_buf[*ppos]; in read_reset_stat() 110 len -= *ppos; in read_reset_stat() 116 *ppos += len; in read_reset_stat()
|
/net/wireless/ |
D | debugfs.c | 18 size_t count, loff_t *ppos) \ 25 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ 67 size_t count, loff_t *ppos) in ht40allow_map_read() argument 92 r = simple_read_from_buffer(user_buf, count, ppos, buf, offset); in ht40allow_map_read()
|
/net/irda/ |
D | irsysctl.c | 77 void __user *buffer, size_t *lenp, loff_t *ppos) in do_devname() argument 81 ret = proc_dostring(table, write, buffer, lenp, ppos); in do_devname() 94 void __user *buffer, size_t *lenp, loff_t *ppos) in do_discovery() argument 98 ret = proc_dointvec(table, write, buffer, lenp, ppos); in do_discovery()
|
/net/phonet/ |
D | sysctl.c | 66 size_t *lenp, loff_t *ppos) in proc_local_port_range() argument 78 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_local_port_range()
|
/net/netfilter/ |
D | xt_quota2.c | 142 size_t size, loff_t *ppos) in quota_proc_read() argument 151 return simple_read_from_buffer(buf, size, ppos, tmp, tmp_size); in quota_proc_read() 155 size_t size, loff_t *ppos) in quota_proc_write() argument
|
D | x_tables.c | 1290 static void *xt_mttg_seq_next(struct seq_file *seq, void *v, loff_t *ppos, in xt_mttg_seq_next() argument 1325 if (ppos != NULL) in xt_mttg_seq_next() 1326 ++*ppos; in xt_mttg_seq_next() 1362 static void *xt_match_seq_next(struct seq_file *seq, void *v, loff_t *ppos) in xt_match_seq_next() argument 1364 return xt_mttg_seq_next(seq, v, ppos, false); in xt_match_seq_next() 1415 static void *xt_target_seq_next(struct seq_file *seq, void *v, loff_t *ppos) in xt_target_seq_next() argument 1417 return xt_mttg_seq_next(seq, v, ppos, true); in xt_target_seq_next()
|
D | nf_log.c | 362 void __user *buffer, size_t *lenp, loff_t *ppos) in nf_log_proc_dostring() argument 396 r = proc_dostring(table, write, buffer, lenp, ppos); in nf_log_proc_dostring()
|
/net/atm/ |
D | mpoa_proc.c | 51 size_t nbytes, loff_t *ppos); 207 size_t nbytes, loff_t *ppos) in proc_mpc_write() argument
|
/net/dccp/ |
D | probe.c | 119 size_t len, loff_t *ppos) in dccpprobe_read() argument
|