Searched refs:ppos (Results 176 - 200 of 730) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c615 size_t count, loff_t *ppos)
620 loff_t aligned_pos, pos = *ppos;
672 *ppos = pos + count;
694 size_t len, loff_t *ppos)
736 size_t count, loff_t *ppos)
778 size_t len, loff_t *ppos)
789 rc = simple_write_to_buffer(kbuf, len, ppos, buf, len);
851 size_t count, loff_t *ppos)
860 return simple_read_from_buffer(user_buf, count, ppos, text,
875 size_t len, loff_t *ppos)
614 wil_read_file_ioblob(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
693 wil_write_file_rxon(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
734 wil_write_file_rbufcap(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
777 wil_write_back(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
850 wil_read_back(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
874 wil_write_pmccfg(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
924 wil_read_pmccfg(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
966 wil_write_file_txmgmt(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
1004 wil_write_file_wmi(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
1487 wil_read_file_recovery(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1505 wil_write_file_recovery(struct file *file, const char __user *buf_, size_t count, loff_t *ppos) argument
1769 wil_tx_latency_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
1933 wil_link_stats_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
2012 wil_link_stats_global_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
2044 wil_read_file_led_cfg(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2060 wil_write_file_led_cfg(struct file *file, const char __user *buf_, size_t count, loff_t *ppos) argument
2094 wil_write_led_blink_time(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
2128 wil_read_led_blink_time(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2183 wil_write_suspend_stats(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
2194 wil_read_suspend_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2243 wil_compressed_rx_status_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
[all...]
/linux-master/drivers/pci/
H A Dproc.c29 size_t nbytes, loff_t *ppos)
32 unsigned int pos = *ppos;
107 *ppos = pos;
112 size_t nbytes, loff_t *ppos)
116 int pos = *ppos;
182 *ppos = pos;
28 proc_bus_pci_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
111 proc_bus_pci_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
/linux-master/arch/x86/kernel/
H A Dtboot.c359 static ssize_t tboot_log_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
376 if (*ppos >= max_size) {
381 if (*ppos + count > max_size)
382 count = max_size - *ppos;
390 memcpy_fromio(kbuf, log_base + LOG_BUF_OFF + *ppos, count);
394 *ppos += count;
/linux-master/arch/m68k/kernel/
H A Dsetup_mm.c546 static ssize_t m68k_nvram_read(char *buf, size_t count, loff_t *ppos) argument
549 return atari_nvram_read(buf, count, ppos);
551 return nvram_read_bytes(buf, count, ppos);
555 static ssize_t m68k_nvram_write(char *buf, size_t count, loff_t *ppos) argument
558 return atari_nvram_write(buf, count, ppos);
560 return nvram_write_bytes(buf, count, ppos);
/linux-master/fs/
H A Dsplice.c304 * @ppos: Pointer to the file position to read from
314 * Return: On success, the number of bytes read will be returned and *@ppos
321 ssize_t copy_splice_read(struct file *in, loff_t *ppos, argument
364 kiocb.ki_pos = *ppos;
369 *ppos = kiocb.ki_pos;
623 * @ppos: position in @out
634 loff_t *ppos, size_t len, unsigned int flags,
641 .pos = *ppos,
656 * @ppos: position in @out
668 loff_t *ppos, size_
633 splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags, splice_actor *actor) argument
667 iter_file_splice_write(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags) argument
799 splice_to_socket(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags) argument
936 do_splice_from(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags) argument
959 do_splice_read(struct file *in, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) argument
1003 vfs_splice_read(struct file *in, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) argument
1185 do_splice_direct_actor(struct file *in, loff_t *ppos, struct file *out, loff_t *opos, size_t len, unsigned int flags, splice_direct_actor *actor) argument
1230 do_splice_direct(struct file *in, loff_t *ppos, struct file *out, loff_t *opos, size_t len, unsigned int flags) argument
1253 splice_file_range(struct file *in, loff_t *ppos, struct file *out, loff_t *opos, size_t len) argument
[all...]
/linux-master/drivers/mtd/
H A Dmtdchar.c128 loff_t *ppos)
141 if (*ppos + count > mtd->size) {
142 if (*ppos < mtd->size)
143 count = mtd->size - *ppos;
160 ret = mtd_read_fact_prot_reg(mtd, *ppos, len,
164 ret = mtd_read_user_prot_reg(mtd, *ppos, len,
176 ret = mtd_read_oob(mtd, *ppos, &ops);
181 ret = mtd_read(mtd, *ppos, len, &retlen, kbuf);
193 *ppos += retlen;
218 loff_t *ppos)
127 mtdchar_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
217 mtdchar_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/net/sunrpc/
H A Dcache.c827 loff_t *ppos, struct cache_detail *cd)
947 size_t count, loff_t *ppos,
1498 size_t count, loff_t *ppos,
1506 return simple_read_from_buffer(buf, count, ppos, tbuf, len);
1510 size_t count, loff_t *ppos,
1517 if (*ppos || count > sizeof(tbuf)-1)
1548 *ppos += count;
1553 size_t count, loff_t *ppos)
1557 return cache_read(filp, buf, count, ppos, cd);
1561 size_t count, loff_t *ppos)
826 cache_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
946 cache_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
1497 read_flush(struct file *file, char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
1509 write_flush(struct file *file, const char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
1552 cache_read_procfs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1560 cache_write_procfs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
1643 read_flush_procfs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1651 write_flush_procfs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
1770 cache_read_pipefs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1778 cache_write_pipefs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
1862 read_flush_pipefs(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1870 write_flush_pipefs(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/net/wireless/ti/wl1251/
H A Ddebugfs.c24 size_t count, loff_t *ppos) \
31 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
53 size_t count, loff_t *ppos) \
63 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
198 size_t count, loff_t *ppos)
208 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
218 size_t count, loff_t *ppos)
230 return simple_read_from_buffer(userbuf, count, ppos, buf, len);
197 tx_queue_len_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
217 tx_queue_status_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
/linux-master/kernel/events/
H A Dcallchain.c233 void *buffer, size_t *lenp, loff_t *ppos)
240 ret = proc_dointvec_minmax(&new_table, write, buffer, lenp, ppos);
232 perf_event_max_stack_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
/linux-master/drivers/misc/mei/
H A Ddebugfs.c138 size_t count, loff_t *ppos)
146 ret = debugfs_write_file_bool(file, user_buf, count, ppos);
136 mei_dbgfs_write_allow_fa(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/s390/cio/
H A Dvfio_ccw_private.h39 size_t count, loff_t *ppos);
41 const char __user *buf, size_t count, loff_t *ppos);
/linux-master/arch/powerpc/kernel/
H A Drtas_flash.c273 size_t count, loff_t *ppos)
286 return simple_read_from_buffer(buf, count, ppos, msg, len);
290 size_t count, loff_t *ppos)
302 return simple_read_from_buffer(buf, count, ppos, msg, strlen(msg));
387 size_t count, loff_t *ppos)
398 return simple_read_from_buffer(buf, count, ppos, msg, msglen);
483 size_t count, loff_t *ppos)
494 return simple_read_from_buffer(buf, count, ppos, msg, msglen);
272 rtas_flash_read_msg(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
289 rtas_flash_read_num(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
386 manage_flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
482 validate_flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/macintosh/
H A Dmac_hid.c186 void *buffer, size_t *lenp, loff_t *ppos)
196 rc = proc_dointvec(table, write, buffer, lenp, ppos);
185 mac_hid_toggle_emumouse(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
/linux-master/security/integrity/ima/
H A Dima_fs.c42 loff_t *ppos, atomic_long_t *val)
48 return simple_read_from_buffer(buf, count, ppos, tmpbuf, len);
53 size_t count, loff_t *ppos)
55 return ima_show_htable_value(buf, count, ppos, &ima_htable.violations);
65 size_t count, loff_t *ppos)
67 return ima_show_htable_value(buf, count, ppos, &ima_htable.len);
353 size_t datalen, loff_t *ppos)
363 if (*ppos != 0)
41 ima_show_htable_value(char __user *buf, size_t count, loff_t *ppos, atomic_long_t *val) argument
51 ima_show_htable_violations(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
63 ima_show_measurements_count(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
352 ima_write_policy(struct file *file, const char __user *buf, size_t datalen, loff_t *ppos) argument
/linux-master/include/media/
H A Dvideobuf2-v4l2.h346 size_t count, loff_t *ppos);
348 size_t count, loff_t *ppos);
/linux-master/sound/soc/intel/skylake/
H A Dskl-debug.c68 size_t count, loff_t *ppos)
152 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
174 size_t count, loff_t *ppos)
206 ret = simple_read_from_buffer(user_buf, count, ppos, tmp, ret);
67 module_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
173 fw_softreg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/scsi/snic/
H A Dsnic_debugfs.c61 * @ppos: The position in the file to start reading frm.
65 * and stores into local @buf. It will start reading file @ppos and
75 loff_t *ppos)
83 return simple_read_from_buffer(ubuf, cnt, ppos, buf, len);
91 * @ppos: The position in the file to start writing to.
104 loff_t *ppos)
146 (*ppos)++;
72 snic_reset_stats_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
101 snic_reset_stats_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
/linux-master/fs/pstore/
H A Dpmsg.c15 size_t count, loff_t *ppos)
14 write_pmsg(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debugfs.c44 const char __user *user_buf, size_t size, loff_t *ppos)
43 kfd_debugfs_hang_hws_write(struct file *file, const char __user *user_buf, size_t size, loff_t *ppos) argument
/linux-master/kernel/printk/
H A Dinternal.h12 void *buffer, size_t *lenp, loff_t *ppos);
/linux-master/arch/xtensa/platforms/iss/
H A Dsimdisk.c209 size_t size, loff_t *ppos)
221 len = simple_read_from_buffer(buf, size, ppos,
227 return simple_read_from_buffer(buf, size, ppos, "\n", 1);
231 size_t count, loff_t *ppos)
208 proc_read_simdisk(struct file *file, char __user *buf, size_t size, loff_t *ppos) argument
230 proc_write_simdisk(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
/linux-master/fs/ubifs/
H A Dlprops.c61 int ppos = (hpos - 1) / 2; local
63 val2 = get_heap_comp_val(heap->arr[ppos], cat);
67 heap->arr[ppos]->hpos = hpos;
68 heap->arr[hpos] = heap->arr[ppos];
69 heap->arr[ppos] = lprops;
70 lprops->hpos = ppos;
71 hpos = ppos;
95 int ppos = (hpos - 1) / 2; local
97 val2 = get_heap_comp_val(heap->arr[ppos], cat);
101 heap->arr[ppos]
[all...]
/linux-master/kernel/
H A Dprofile.c354 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
356 unsigned long p = *ppos;
377 *ppos += read;
394 size_t count, loff_t *ppos)
393 write_profile(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
/linux-master/net/ipv6/
H A Dsysctl_net_ipv6.c34 void *buffer, size_t *lenp, loff_t *ppos)
41 ret = proc_dou8vec_minmax(table, write, buffer, lenp, ppos);
50 size_t *lenp, loff_t *ppos)
57 ret = proc_douintvec_minmax(table, write, buffer, lenp, ppos);
33 proc_rt6_multipath_hash_policy(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
49 proc_rt6_multipath_hash_fields(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
/linux-master/drivers/net/wireless/ath/ath12k/
H A Ddebugfs.c12 size_t count, loff_t *ppos)
10 ath12k_write_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument

Completed in 431 milliseconds

1234567891011>>