Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 25 of 47) 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, \
78 loff_t *ppos) in aqm_read() argument
112 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read()
119 loff_t *ppos) in aqm_write() argument
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
[all …]
Ddebugfs_key.c20 size_t count, loff_t *ppos) \
23 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, \
87 size_t count, loff_t *ppos) in sta_flags_read() argument
102 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); in sta_flags_read()
108 size_t count, loff_t *ppos) in sta_num_ps_buf_frames_read() argument
118 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read()
123 size_t count, loff_t *ppos) in sta_last_seq_ctrl_read() argument
132 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_last_seq_ctrl_read()
139 size_t count, loff_t *ppos) in sta_aqm_read() argument
192 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aqm_read()
[all …]
Ddebugfs_netdev.c28 size_t count, loff_t *ppos, in ieee80211_if_read() argument
39 ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret); in ieee80211_if_read()
47 size_t count, loff_t *ppos, in ieee80211_if_write() argument
132 size_t count, loff_t *ppos) \
138 userbuf, count, ppos, fn); \
144 size_t count, loff_t *ppos) \
150 ppos, fn); \
Ddebugfs.h10 loff_t *ppos, char *fmt, ...);
/net/core/
Dsysctl_net_core.c51 static void dump_cpumask(void *buffer, size_t *lenp, loff_t *ppos, in dump_cpumask() argument
57 if (*ppos || !*lenp) { in dump_cpumask()
73 *ppos += len; in dump_cpumask()
96 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() argument
117 dump_cpumask(buffer, lenp, ppos, in rps_default_mask_sysctl()
127 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument
145 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl()
196 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() argument
244 dump_cpumask(buffer, lenp, ppos, mask); in flow_limit_cpu_sysctl()
253 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_table_len_sysctl() argument
[all …]
Dneighbour.c3542 void *buffer, size_t *lenp, loff_t *ppos) in proc_unres_qlen() argument
3552 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_unres_qlen()
3595 loff_t *ppos) in neigh_proc_dointvec_zero_intmax() argument
3603 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in neigh_proc_dointvec_zero_intmax()
3609 void *buffer, size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_ms_jiffies_positive() argument
3619 ret = proc_dointvec_ms_jiffies_minmax(&tmp, write, buffer, lenp, ppos); in neigh_proc_dointvec_ms_jiffies_positive()
3625 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec() argument
3627 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec()
3635 size_t *lenp, loff_t *ppos) in neigh_proc_dointvec_jiffies() argument
3637 int ret = proc_dointvec_jiffies(ctl, write, buffer, lenp, ppos); in neigh_proc_dointvec_jiffies()
[all …]
/net/sctp/
Dsysctl.c47 void *buffer, size_t *lenp, loff_t *ppos);
49 void *buffer, size_t *lenp, loff_t *ppos);
51 size_t *lenp, loff_t *ppos);
53 size_t *lenp, loff_t *ppos);
55 void *buffer, size_t *lenp, loff_t *ppos);
57 void *buffer, size_t *lenp, loff_t *ppos);
59 void *buffer, size_t *lenp, loff_t *ppos);
392 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_hmac_alg() argument
411 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg()
437 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_rto_min() argument
[all …]
/net/sunrpc/
Dsysctl.c44 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_xprt() argument
49 if (write || *ppos) { in proc_do_xprt()
54 len = memory_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); in proc_do_xprt()
66 loff_t *ppos) in proc_dodebug() argument
73 if ((*ppos && !write) || !*lenp) { in proc_dodebug()
122 *ppos += *lenp; in proc_dodebug()
Dcache.c827 loff_t *ppos, struct cache_detail *cd) in cache_read() argument
947 size_t count, loff_t *ppos, in cache_write() argument
1498 size_t count, loff_t *ppos, in read_flush() argument
1506 return simple_read_from_buffer(buf, count, ppos, tbuf, len); in read_flush()
1510 size_t count, loff_t *ppos, in write_flush() argument
1517 if (*ppos || count > sizeof(tbuf)-1) in write_flush()
1548 *ppos += count; in write_flush()
1553 size_t count, loff_t *ppos) in cache_read_procfs() argument
1557 return cache_read(filp, buf, count, ppos, cd); in cache_read_procfs()
1561 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/ipv4/
Dsysctl_net_ipv4.c69 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_local_port_range() argument
85 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_local_port_range()
104 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_privileged_ports() argument
121 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_privileged_ports()
165 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_ping_group_range() argument
182 ret = proc_doulongvec_minmax(&tmp, write, buffer, lenp, ppos); in ipv4_ping_group_range()
200 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_fwd_update_priority() argument
207 ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos); in ipv4_fwd_update_priority()
216 void *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_congestion_control() argument
229 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_tcp_congestion_control()
[all …]
/net/bluetooth/
Dhci_debugfs.c37 size_t count, loff_t *ppos) \
45 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \
50 size_t count, loff_t *ppos) \
278 size_t count, loff_t *ppos) in use_debug_keys_read() argument
286 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in use_debug_keys_read()
296 size_t count, loff_t *ppos) in sc_only_mode_read() argument
304 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_only_mode_read()
432 size_t count, loff_t *ppos) in ssp_debug_mode_read() argument
440 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in ssp_debug_mode_read()
505 size_t count, loff_t *ppos) in force_bredr_smp_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/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
86 r = simple_read_from_buffer(user_buf, count, ppos, buf, offset); in ht40allow_map_read()
/net/sunrpc/xprtrdma/
Dsvc_rdma.c78 void *buffer, size_t *lenp, loff_t *ppos) in svcrdma_counter_handler() argument
94 if (*ppos > len) { in svcrdma_counter_handler()
98 len -= *ppos; in svcrdma_counter_handler()
104 *ppos += len; in svcrdma_counter_handler()
/net/phonet/
Dsysctl.c52 void *buffer, size_t *lenp, loff_t *ppos) in proc_local_port_range() argument
64 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_local_port_range()
/net/ipv6/
Dsysctl_net_ipv6.c34 void *buffer, size_t *lenp, loff_t *ppos) in proc_rt6_multipath_hash_policy() argument
41 ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos); in proc_rt6_multipath_hash_policy()
50 size_t *lenp, loff_t *ppos) in proc_rt6_multipath_hash_fields() argument
57 ret = proc_douintvec_minmax(table, write, buffer, lenp, ppos); in proc_rt6_multipath_hash_fields()
Daddrconf.c6286 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_forward() argument
6290 loff_t pos = *ppos; in addrconf_sysctl_forward()
6301 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_forward()
6306 *ppos = pos; in addrconf_sysctl_forward()
6311 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_mtu() argument
6321 return proc_dointvec_minmax(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_mtu()
6383 void *buffer, size_t *lenp, loff_t *ppos) in addrconf_sysctl_disable() argument
6387 loff_t pos = *ppos; in addrconf_sysctl_disable()
6398 ret = proc_dointvec(&lctl, write, buffer, lenp, ppos); in addrconf_sysctl_disable()
6403 *ppos = pos; in addrconf_sysctl_disable()
[all …]
/net/netfilter/
Dnf_hooks_lwtunnel.c32 void *buffer, size_t *lenp, loff_t *ppos) in nf_hooks_lwtunnel_sysctl_handler() argument
48 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in nf_hooks_lwtunnel_sysctl_handler()
Dxt_quota2.c135 size_t size, loff_t *ppos) in quota_proc_read() argument
144 return simple_read_from_buffer(buf, size, ppos, tmp, tmp_size); in quota_proc_read()
148 size_t size, loff_t *ppos) in quota_proc_write() argument
Dnf_log.c408 void *buffer, size_t *lenp, loff_t *ppos) in nf_log_proc_dostring() argument
424 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring()
451 r = proc_dostring(&tmp, write, buffer, lenp, ppos); in nf_log_proc_dostring()
Dx_tables.c1580 static void *xt_mttg_seq_next(struct seq_file *seq, void *v, loff_t *ppos, in xt_mttg_seq_next() argument
1590 if (ppos != NULL) in xt_mttg_seq_next()
1591 ++(*ppos); in xt_mttg_seq_next()
1654 static void *xt_match_seq_next(struct seq_file *seq, void *v, loff_t *ppos) in xt_match_seq_next() argument
1656 return xt_mttg_seq_next(seq, v, ppos, false); in xt_match_seq_next()
1688 static void *xt_target_seq_next(struct seq_file *seq, void *v, loff_t *ppos) in xt_target_seq_next() argument
1690 return xt_mttg_seq_next(seq, v, ppos, true); in xt_target_seq_next()
/net/mptcp/
Dctrl.c108 void *buffer, size_t *lenp, loff_t *ppos) in proc_scheduler() argument
120 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_scheduler()
/net/atm/
Dmpoa_proc.c52 size_t nbytes, loff_t *ppos);
207 size_t nbytes, loff_t *ppos) in proc_mpc_write() argument

12