Searched refs:ppos (Results 1 - 25 of 43) sorted by relevance

12

/net/mac80211/
H A Ddebugfs.h7 loff_t *ppos, char *fmt, ...);
H A Ddebugfs_key.c21 size_t count, loff_t *ppos) \
24 return mac80211_format_buffer(userbuf, count, ppos, \
66 size_t count, loff_t *ppos)
74 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
79 size_t count, loff_t *ppos)
111 return simple_read_from_buffer(userbuf, count, ppos, buf, len);
116 size_t count, loff_t *ppos)
157 return simple_read_from_buffer(userbuf, count, ppos, buf, len);
162 size_t count, loff_t *ppos)
179 return simple_read_from_buffer(userbuf, count, ppos, bu
64 key_algorithm_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
78 key_tx_spec_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
115 key_rx_spec_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
161 key_replays_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
183 key_icverrors_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
202 key_mic_failures_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
218 key_key_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebugfs_sta.c24 size_t count, loff_t *ppos) \
27 return mac80211_format_buffer(userbuf, count, ppos, \
60 size_t count, loff_t *ppos)
81 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
87 size_t count, loff_t *ppos)
97 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
102 size_t count, loff_t *ppos)
105 return mac80211_format_buffer(userbuf, count, ppos, "%d\n",
112 size_t count, loff_t *ppos)
129 return simple_read_from_buffer(userbuf, count, ppos, bu
59 sta_flags_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
85 sta_num_ps_buf_frames_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
101 sta_inactive_ms_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
111 sta_connected_time_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
135 sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
149 sta_agg_status_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
188 sta_agg_status_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
247 sta_ht_capa_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
329 sta_vht_capa_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
359 sta_current_tx_rate_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
374 sta_last_rx_rate_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebugfs.c21 loff_t *ppos, char *fmt, ...)
31 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
36 size_t count, loff_t *ppos) \
40 return mac80211_format_buffer(userbuf, count, ppos, \
75 size_t count, loff_t *ppos)
95 size_t count, loff_t *ppos)
155 rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
161 size_t count, loff_t *ppos)
175 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
185 size_t count, loff_t *ppos,
20 mac80211_format_buffer(char __user *userbuf, size_t count, loff_t *ppos, char *fmt, ...) argument
74 reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
94 hwflags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
160 queues_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
183 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) argument
[all...]
H A Drc80211_minstrel_debugfs.c108 minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument
113 return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len);
H A Drc80211_minstrel.h132 ssize_t minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos);
H A Ddebugfs_netdev.c30 size_t count, loff_t *ppos,
42 ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret);
50 size_t count, loff_t *ppos,
139 size_t count, loff_t *ppos) \
142 userbuf, count, ppos, \
155 size_t count, loff_t *ppos) \
158 ppos, ieee80211_if_parse_##name); \
27 ieee80211_if_read( struct ieee80211_sub_if_data *sdata, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*format)(const struct ieee80211_sub_if_data *, char *, int)) argument
47 ieee80211_if_write( struct ieee80211_sub_if_data *sdata, const char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*write)(struct ieee80211_sub_if_data *, const char *, int)) argument
/net/sunrpc/
H A Dsysctl.c62 void __user *buffer, size_t *lenp, loff_t *ppos)
67 if ((*ppos && !write) || !*lenp) {
72 return simple_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len);
77 void __user *buffer, size_t *lenp, loff_t *ppos)
84 if ((*ppos && !write) || !*lenp) {
133 *ppos += *lenp;
61 proc_do_xprt(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
76 proc_dodebug(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
H A Dcache.c766 loff_t *ppos, struct cache_detail *cd)
904 size_t count, loff_t *ppos,
1417 size_t count, loff_t *ppos,
1421 unsigned long p = *ppos;
1433 *ppos += len;
1438 size_t count, loff_t *ppos,
1444 if (*ppos || count > sizeof(tbuf)-1)
1458 *ppos += count;
1463 size_t count, loff_t *ppos)
1467 return cache_read(filp, buf, count, ppos, c
765 cache_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
903 cache_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
1416 read_flush(struct file *file, char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
1437 write_flush(struct file *file, const char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
1462 cache_read_procfs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1470 cache_write_procfs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
1554 read_flush_procfs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1562 write_flush_procfs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
1694 cache_read_pipefs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1702 cache_write_pipefs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
1786 read_flush_pipefs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1794 write_flush_pipefs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/net/wireless/
H A Ddebugfs.c18 size_t count, loff_t *ppos) \
25 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
65 size_t count, loff_t *ppos)
90 r = simple_read_from_buffer(user_buf, count, ppos, buf, offset);
63 ht40allow_map_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
/net/decnet/
H A Dsysctl_net_decnet.c137 size_t *lenp, loff_t *ppos)
143 if (!*lenp || (*ppos && !write)) {
166 *ppos += len;
181 *ppos += len;
188 size_t *lenp, loff_t *ppos)
194 if (!*lenp || (*ppos && !write)) {
222 *ppos += *lenp;
244 *ppos += len;
135 dn_node_address_handler(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
186 dn_def_dev_handler(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/net/phonet/
H A Dsysctl.c66 size_t *lenp, loff_t *ppos)
78 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos);
64 proc_local_port_range(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/net/sunrpc/xprtrdma/
H A Dsvc_rdma.c89 loff_t *ppos)
105 if (*ppos > len) {
109 data = &str_buf[*ppos];
110 len -= *ppos;
116 *ppos += len;
87 read_reset_stat(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/net/irda/
H A Dirsysctl.c77 void __user *buffer, size_t *lenp, loff_t *ppos)
81 ret = proc_dostring(table, write, buffer, lenp, ppos);
94 void __user *buffer, size_t *lenp, loff_t *ppos)
98 ret = proc_dointvec(table, write, buffer, lenp, ppos);
76 do_devname(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
93 do_discovery(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/net/ipv4/
H A Dsysctl_net_ipv4.c54 size_t *lenp, loff_t *ppos)
67 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos);
105 size_t *lenp, loff_t *ppos)
122 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos);
141 size_t *lenp, loff_t *ppos)
144 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos);
154 void __user *buffer, size_t *lenp, loff_t *ppos)
165 ret = proc_dostring(&tbl, write, buffer, lenp, ppos);
174 loff_t *ppos)
183 ret = proc_dostring(&tbl, write, buffer, lenp, ppos);
52 ipv4_local_port_range(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
103 ipv4_ping_group_range(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
139 proc_tcp_default_init_rwnd(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
153 proc_tcp_congestion_control(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
171 proc_tcp_available_congestion_control(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
188 proc_allowed_congestion_control(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
208 ipv4_tcp_mem(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
251 proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
H A Dtcp_probe.c170 size_t len, loff_t *ppos)
169 tcpprobe_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument
H A Ddevinet.c1952 size_t *lenp, loff_t *ppos)
1955 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos);
1995 size_t *lenp, loff_t *ppos)
1999 loff_t pos = *ppos;
2000 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos);
2009 *ppos = pos;
2038 size_t *lenp, loff_t *ppos)
2042 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos);
1950 devinet_conf_proc(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
1993 devinet_sysctl_forward(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2036 ipv4_doint_and_flush(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/net/sctp/
H A Dsysctl.c69 loff_t *ppos);
306 loff_t *ppos)
324 ret = proc_dostring(&tbl, write, buffer, lenp, ppos);
303 proc_sctp_do_hmac_alg(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
H A Dprobe.c89 size_t len, loff_t *ppos)
88 sctpprobe_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument
/net/netfilter/
H A Dxt_quota2.c126 size_t size, loff_t *ppos)
135 return simple_read_from_buffer(buf, size, ppos, tmp, tmp_size);
139 size_t size, loff_t *ppos)
125 quota_proc_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) argument
138 quota_proc_write(struct file *file, const char __user *input, size_t size, loff_t *ppos) argument
H A Dx_tables.c1032 static void *xt_mttg_seq_next(struct seq_file *seq, void *v, loff_t *ppos, argument
1067 if (ppos != NULL)
1068 ++*ppos;
1104 static void *xt_match_seq_next(struct seq_file *seq, void *v, loff_t *ppos) argument
1106 return xt_mttg_seq_next(seq, v, ppos, false);
1168 static void *xt_target_seq_next(struct seq_file *seq, void *v, loff_t *ppos) argument
1170 return xt_mttg_seq_next(seq, v, ppos, true);
H A Dnf_log.c249 void __user *buffer, size_t *lenp, loff_t *ppos)
284 r = proc_dostring(table, write, buffer, lenp, ppos);
248 nf_log_proc_dostring(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/net/atm/
H A Dmpoa_proc.c51 size_t nbytes, loff_t *ppos);
207 size_t nbytes, loff_t *ppos)
206 proc_mpc_write(struct file *file, const char __user *buff, size_t nbytes, loff_t *ppos) argument
/net/core/
H A Dsysctl_net_core.c27 void __user *buffer, size_t *lenp, loff_t *ppos)
45 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos);
26 rps_sock_flow_sysctl(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/net/dccp/
H A Dprobe.c119 size_t len, loff_t *ppos)
118 dccpprobe_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument

Completed in 714 milliseconds

12