Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 25 of 49) sorted by relevance

12

/net/mac80211/
Ddebugfs.c21 loff_t *ppos, char *fmt, ...) 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, \
76 loff_t *ppos) in aqm_read() argument
110 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read()
117 loff_t *ppos) in aqm_write() argument
154 loff_t *ppos) in force_tx_status_read() argument
162 return simple_read_from_buffer(user_buf, count, ppos, in force_tx_status_read()
169 loff_t *ppos) in force_tx_status_write() argument
[all …]
Ddebugfs_key.c19 size_t count, loff_t *ppos) \
22 return mac80211_format_buffer(userbuf, count, ppos, \
71 size_t count, loff_t *ppos) in key_algorithm_read() argument
79 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); in key_algorithm_read()
84 size_t count, loff_t *ppos) in key_tx_spec_write() argument
119 size_t count, loff_t *ppos) in key_tx_spec_read() argument
153 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in key_tx_spec_read()
158 size_t count, loff_t *ppos) in key_rx_spec_read() argument
221 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in key_rx_spec_read()
226 size_t count, loff_t *ppos) in key_replays_read() argument
[all …]
Ddebugfs_sta.c24 size_t count, loff_t *ppos) \
27 return mac80211_format_buffer(userbuf, count, ppos, \
85 size_t count, loff_t *ppos) in sta_flags_read() argument
100 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); in sta_flags_read()
106 size_t count, loff_t *ppos) in sta_num_ps_buf_frames_read() argument
116 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read()
121 size_t count, loff_t *ppos) in sta_last_seq_ctrl_read() argument
130 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_last_seq_ctrl_read()
137 size_t count, loff_t *ppos) in sta_aqm_read() argument
189 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aqm_read()
[all …]
Ddebugfs_netdev.c27 size_t count, loff_t *ppos, in ieee80211_if_read() argument
38 ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret); in ieee80211_if_read()
46 size_t count, loff_t *ppos, in ieee80211_if_write() argument
134 size_t count, loff_t *ppos) \
137 userbuf, count, ppos, \
144 size_t count, loff_t *ppos) \
147 ppos, ieee80211_if_parse_##name); \
Ddebugfs.h10 loff_t *ppos, char *fmt, ...);
Drc80211_minstrel_ht_debugfs.c16 minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) in minstrel_stats_read() argument
21 return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len); in minstrel_stats_read()
/net/core/
Dsysctl_net_core.c48 void __user *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument
66 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl()
119 loff_t *ppos) in flow_limit_cpu_sysctl() argument
161 if (*ppos || !*lenp) { in flow_limit_cpu_sysctl()
188 *ppos += len; in flow_limit_cpu_sysctl()
198 loff_t *ppos) in flow_limit_table_len_sysctl() argument
207 ret = proc_dointvec(table, write, buffer, lenp, ppos); in flow_limit_table_len_sysctl()
220 void __user *buffer, size_t *lenp, loff_t *ppos) in set_default_qdisc() argument
231 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in set_default_qdisc()
239 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_dev_weight() argument
[all …]
Dneighbour.c3379 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_unres_qlen() argument
3389 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_unres_qlen()
3444 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_zero_intmax() argument
3452 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in neigh_proc_dointvec_zero_intmax()
3458 void __user *buffer, size_t *lenp, loff_t *ppos) in neigh_proc_dointvec() argument
3460 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec()
3469 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_jiffies() argument
3471 int ret = proc_dointvec_jiffies(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec_jiffies()
3480 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_userhz_jiffies() argument
3482 int ret = proc_dointvec_userhz_jiffies(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec_userhz_jiffies()
[all …]
/net/sctp/
Dsysctl.c45 loff_t *ppos);
48 loff_t *ppos);
51 loff_t *ppos);
54 loff_t *ppos);
57 loff_t *ppos);
327 loff_t *ppos) in proc_sctp_do_hmac_alg() argument
346 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg()
373 loff_t *ppos) in proc_sctp_do_rto_min() argument
389 ret = proc_dointvec(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_rto_min()
402 loff_t *ppos) in proc_sctp_do_rto_max() argument
[all …]
/net/sunrpc/
Dsysctl.c63 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_xprt() argument
68 if ((*ppos && !write) || !*lenp) { in proc_do_xprt()
73 return simple_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); in proc_do_xprt()
78 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dodebug() argument
85 if ((*ppos && !write) || !*lenp) { in proc_dodebug()
135 *ppos += *lenp; in proc_dodebug()
Dcache.c797 loff_t *ppos, struct cache_detail *cd) in cache_read() argument
935 size_t count, loff_t *ppos, in cache_write() argument
1474 size_t count, loff_t *ppos, in read_flush() argument
1482 return simple_read_from_buffer(buf, count, ppos, tbuf, len); in read_flush()
1486 size_t count, loff_t *ppos, in write_flush() argument
1493 if (*ppos || count > sizeof(tbuf)-1) in write_flush()
1524 *ppos += count; in write_flush()
1529 size_t count, loff_t *ppos) in cache_read_procfs() argument
1533 return cache_read(filp, buf, count, ppos, cd); in cache_read_procfs()
1537 size_t count, loff_t *ppos) in cache_write_procfs() argument
[all …]
Ddebugfs.c42 tasks_start(struct seq_file *f, loff_t *ppos) in tasks_start() argument
46 loff_t pos = *ppos; in tasks_start()
/net/decnet/
Dsysctl_net_decnet.c138 size_t *lenp, loff_t *ppos) in dn_node_address_handler() argument
144 if (!*lenp || (*ppos && !write)) { in dn_node_address_handler()
167 *ppos += len; in dn_node_address_handler()
182 *ppos += len; in dn_node_address_handler()
189 size_t *lenp, loff_t *ppos) in dn_def_dev_handler() argument
195 if (!*lenp || (*ppos && !write)) { in dn_def_dev_handler()
223 *ppos += *lenp; in dn_def_dev_handler()
245 *ppos += len; in dn_def_dev_handler()
/net/ipv4/
Dsysctl_net_ipv4.c75 size_t *lenp, loff_t *ppos) in ipv4_local_port_range() argument
91 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_local_port_range()
110 void __user *buffer, size_t *lenp, loff_t *ppos) in ipv4_privileged_ports() argument
127 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_privileged_ports()
172 size_t *lenp, loff_t *ppos) in ipv4_ping_group_range() argument
189 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_ping_group_range()
208 size_t *lenp, loff_t *ppos) in ipv4_fwd_update_priority() argument
215 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in ipv4_fwd_update_priority()
224 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_congestion_control() argument
237 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_tcp_congestion_control()
[all …]
/net/wireless/
Ddebugfs.c15 size_t count, loff_t *ppos) \
22 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
64 size_t count, loff_t *ppos) in ht40allow_map_read() argument
89 r = simple_read_from_buffer(user_buf, count, ppos, buf, offset); in ht40allow_map_read()
/net/sunrpc/xprtrdma/
Dsvc_rdma.c84 loff_t *ppos) in read_reset_stat() argument
99 if (*ppos > len) { in read_reset_stat()
103 len -= *ppos; in read_reset_stat()
109 *ppos += len; in read_reset_stat()
/net/bluetooth/
Dhci_debugfs.c34 size_t count, loff_t *ppos) \
42 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \
47 size_t count, loff_t *ppos) \
256 size_t count, loff_t *ppos) in use_debug_keys_read() argument
264 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in use_debug_keys_read()
274 size_t count, loff_t *ppos) in sc_only_mode_read() argument
282 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_only_mode_read()
408 size_t count, loff_t *ppos) in ssp_debug_mode_read() argument
416 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in ssp_debug_mode_read()
672 size_t count, loff_t *ppos) in force_static_address_read() argument
[all …]
Dselftest.c187 size_t count, loff_t *ppos) in test_ecdh_read() argument
189 return simple_read_from_buffer(user_buf, count, ppos, test_ecdh_buffer, in test_ecdh_read()
/net/phonet/
Dsysctl.c53 size_t *lenp, loff_t *ppos) in proc_local_port_range() argument
65 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_local_port_range()
/net/netfilter/
Dxt_quota2.c142 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
Dnf_log.c417 void __user *buffer, size_t *lenp, loff_t *ppos) in nf_log_proc_dostring() argument
433 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring()
460 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring()
Dx_tables.c1544 static void *xt_mttg_seq_next(struct seq_file *seq, void *v, loff_t *ppos, in xt_mttg_seq_next() argument
1580 if (ppos != NULL) in xt_mttg_seq_next()
1581 ++*ppos; in xt_mttg_seq_next()
1618 static void *xt_match_seq_next(struct seq_file *seq, void *v, loff_t *ppos) in xt_match_seq_next() argument
1620 return xt_mttg_seq_next(seq, v, ppos, false); in xt_match_seq_next()
1652 static void *xt_target_seq_next(struct seq_file *seq, void *v, loff_t *ppos) in xt_target_seq_next() argument
1654 return xt_mttg_seq_next(seq, v, ppos, true); in xt_target_seq_next()
/net/atm/
Dmpoa_proc.c52 size_t nbytes, loff_t *ppos);
210 size_t nbytes, loff_t *ppos) in proc_mpc_write() argument
/net/ipv6/
Dsysctl_net_ipv6.c30 loff_t *ppos) in proc_rt6_multipath_hash_policy() argument
37 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_rt6_multipath_hash_policy()
Daddrconf.c6045 void __user *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_forward() argument
6049 loff_t pos = *ppos; in addrconf_sysctl_forward()
6060 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_forward()
6065 *ppos = pos; in addrconf_sysctl_forward()
6071 void __user *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_mtu() argument
6081 return proc_dointvec_minmax(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_mtu()
6143 void __user *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_disable() argument
6147 loff_t pos = *ppos; in addrconf_sysctl_disable()
6158 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_disable()
6163 *ppos = pos; in addrconf_sysctl_disable()
[all …]

12