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

12

/arch/cris/kernel/
H A Dprofile.c35 size_t count, loff_t *ppos)
37 unsigned long p = *ppos;
40 ret = simple_read_from_buffer(buf, count, ppos, sample_buffer,
52 size_t count, loff_t *ppos)
34 read_cris_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
51 write_cris_profile(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
/arch/um/drivers/
H A Dmmapper_kern.c29 loff_t *ppos)
31 return simple_read_from_buffer(buf, count, ppos, v_buf, mmapper_size);
35 size_t count, loff_t *ppos)
37 if (*ppos > mmapper_size)
40 return simple_write_to_buffer(v_buf, mmapper_size, ppos, buf, count);
28 mmapper_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
34 mmapper_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
H A Dhostaudio_kern.c71 size_t count, loff_t *ppos)
98 size_t count, loff_t *ppos)
119 *ppos += err;
70 hostaudio_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) argument
97 hostaudio_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
H A Dharddog_kern.c118 loff_t *ppos)
117 harddog_write(struct file *file, const char __user *data, size_t len, loff_t *ppos) argument
/arch/frv/kernel/
H A Dsysctl.c51 loff_t *ppos)
88 if (*ppos > 0) {
114 *ppos = len;
126 loff_t *ppos)
155 if (*ppos > 0) {
168 *ppos = len;
49 procctl_frv_cachemode(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
124 procctl_frv_pin_cxnr(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/arch/mips/lasat/
H A Dsysctl.c43 void *buffer, size_t *lenp, loff_t *ppos)
47 r = proc_dostring(table, write, buffer, lenp, ppos);
58 void *buffer, size_t *lenp, loff_t *ppos)
62 r = proc_dointvec(table, write, buffer, lenp, ppos);
76 void *buffer, size_t *lenp, loff_t *ppos)
88 r = proc_dointvec(table, write, buffer, lenp, ppos);
101 void *buffer, size_t *lenp, loff_t *ppos)
109 (*ppos && !write)) {
129 *ppos += *lenp;
153 *ppos
42 proc_dolasatstring(ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
57 proc_dolasatint(ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
75 proc_dolasatrtc(ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
100 proc_lasat_ip(ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
160 proc_lasat_prid(ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
/arch/s390/hypfs/
H A Dhypfs_dbfs.c48 size_t size, loff_t *ppos)
54 if (*ppos != 0)
79 rc = simple_read_from_buffer(buf, size, ppos, data->buf, data->size);
47 dbfs_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) argument
/arch/x86/xen/
H A Ddebugfs.c75 loff_t *ppos)
81 if (*ppos == 0) {
94 return simple_read_from_buffer(buf, len, ppos, file->private_data, size);
74 u32_array_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument
/arch/powerpc/kernel/
H A Dproc_powerpc.c56 loff_t *ppos)
59 return simple_read_from_buffer(buf, nbytes, ppos, dp->data, dp->size);
55 page_map_read( struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
H A Dnvram_64.c81 size_t count, loff_t *ppos)
93 if (*ppos >= size || size < 0)
96 count = min_t(size_t, count, size - *ppos);
104 ret = ppc_md.nvram_read(tmp, count, ppos);
118 size_t count, loff_t *ppos)
130 if (*ppos >= size || size < 0)
133 count = min_t(size_t, count, size - *ppos);
145 ret = ppc_md.nvram_write(tmp, count, ppos);
80 dev_nvram_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
117 dev_nvram_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
H A Drtas-proc.c142 const char __user *buf, size_t count, loff_t *ppos);
145 const char __user *buf, size_t count, loff_t *ppos);
148 const char __user *buf, size_t count, loff_t *ppos);
151 const char __user *buf, size_t count, loff_t *ppos);
154 const char __user *buf, size_t count, loff_t *ppos);
308 const char __user *buf, size_t count, loff_t *ppos)
342 const char __user *buf, size_t count, loff_t *ppos)
374 const char __user *buf, size_t count, loff_t *ppos)
733 const char __user *buf, size_t count, loff_t *ppos)
758 const char __user *buf, size_t count, loff_t *ppos)
307 ppc_rtas_poweron_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
341 ppc_rtas_progress_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
373 ppc_rtas_clock_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
732 ppc_rtas_tone_freq_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
757 ppc_rtas_tone_volume_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
H A Drtas_flash.c255 size_t count, loff_t *ppos)
269 return simple_read_from_buffer(buf, count, ppos, msg, strlen(msg));
376 size_t count, loff_t *ppos)
389 return simple_read_from_buffer(buf, count, ppos, msg, msglen);
464 size_t count, loff_t *ppos)
475 return simple_read_from_buffer(buf, count, ppos, msg, msglen);
254 rtas_flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
375 manage_flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
463 validate_flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
/arch/x86/kernel/
H A Dkdebugfs.c31 size_t count, loff_t *ppos)
35 loff_t pos = *ppos;
66 *ppos = pos + count;
30 setup_data_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
H A Dmsr.c69 size_t count, loff_t *ppos)
73 u32 reg = *ppos;
97 size_t count, loff_t *ppos)
101 u32 reg = *ppos;
68 msr_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
96 msr_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
H A Dcpuid.c84 size_t count, loff_t *ppos)
89 u64 pos = *ppos;
108 *ppos = ++pos;
83 cpuid_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
/arch/s390/appldata/
H A Dappldata_base.c54 void __user *buffer, size_t *lenp, loff_t *ppos);
57 size_t *lenp, loff_t *ppos);
248 void __user *buffer, size_t *lenp, loff_t *ppos)
253 if (!*lenp || *ppos) {
278 *ppos += len;
290 void __user *buffer, size_t *lenp, loff_t *ppos)
295 if (!*lenp || *ppos) {
324 *ppos += len;
336 void __user *buffer, size_t *lenp, loff_t *ppos)
362 if (!*lenp || *ppos) {
247 appldata_timer_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
289 appldata_interval_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
335 appldata_generic_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
/arch/s390/mm/
H A Dcmm.c257 size_t *lenp, loff_t *ppos)
263 if (!*lenp || (*ppos && !write)) {
292 *ppos += len;
297 size_t *lenp, loff_t *ppos)
303 if (!*lenp || (*ppos && !write)) {
328 *ppos += len;
256 cmm_pages_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
296 cmm_timeout_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/arch/powerpc/platforms/pseries/
H A Dscanlog.c47 size_t count, loff_t *ppos)
119 size_t count, loff_t *ppos)
46 scanlog_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
118 scanlog_write(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
/arch/blackfin/kernel/
H A Dkgdb_test.c61 size_t count, loff_t *ppos)
60 kgdb_test_proc_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
/arch/x86/platform/olpc/
H A Dolpc.c284 size_t size, loff_t *ppos)
294 size = simple_write_to_buffer(cmdbuf, sizeof(cmdbuf), ppos, buf, size);
335 size_t size, loff_t *ppos)
350 return simple_read_from_buffer(buf, size, ppos, respbuf, r);
283 ec_debugfs_cmd_write(struct file *file, const char __user *buf, size_t size, loff_t *ppos) argument
334 ec_debugfs_cmd_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) argument
/arch/parisc/kernel/
H A Dperf.c197 static ssize_t perf_read(struct file *file, char __user *buf, size_t cnt, loff_t *ppos);
199 loff_t *ppos);
289 static ssize_t perf_read(struct file *file, char __user *buf, size_t cnt, loff_t *ppos) argument
302 loff_t *ppos)
301 perf_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
/arch/sparc/kernel/
H A Dled.c65 size_t count, loff_t *ppos)
64 led_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
/arch/arm/mach-msm/
H A Dsmd_debug.c199 size_t count, loff_t *ppos)
203 return simple_read_from_buffer(buf, count, ppos, debug_buffer, bsize);
198 debug_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
/arch/ia64/kernel/
H A Dsalinfo.c302 salinfo_event_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) argument
464 salinfo_log_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) argument
482 return simple_read_from_buffer(buffer, count, ppos, buf, bufsize);
525 salinfo_log_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
/arch/s390/crypto/
H A Dprng.c88 loff_t *ppos)
87 prng_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *ppos) argument

Completed in 551 milliseconds

12