Searched refs:ppos (Results 201 - 225 of 730) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dseq_file.h305 loff_t *ppos);
309 extern struct list_head *seq_list_next_rcu(void *v, struct list_head *head, loff_t *ppos);
320 loff_t *ppos);
328 loff_t *ppos);
H A Dfb.h256 size_t count, loff_t *ppos);
258 size_t count, loff_t *ppos);
544 size_t count, loff_t *ppos);
546 size_t count, loff_t *ppos);
574 size_t count, loff_t *ppos);
576 size_t count, loff_t *ppos);
655 size_t count, loff_t *ppos) \
657 return fb_ ## __mode ## _read(info, buf, count, ppos); \
660 size_t count, loff_t *ppos) \
662 unsigned long offset = *ppos; \
[all...]
/linux-master/fs/
H A Dbacking-file.c273 ssize_t backing_file_splice_read(struct file *in, loff_t *ppos, argument
285 ret = vfs_splice_read(in, ppos, pipe, len, flags);
296 struct file *out, loff_t *ppos, size_t len,
312 ret = iter_file_splice_write(pipe, out, ppos, len, flags);
295 backing_file_splice_write(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags, struct backing_file_ctx *ctx) argument
H A Dseq_file.c147 * @ppos: the current position in the file
151 ssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) argument
161 kiocb.ki_pos = *ppos;
163 *ppos = kiocb.ki_pos;
917 struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos) argument
922 ++*ppos;
949 loff_t *ppos)
954 ++*ppos;
998 * @ppos: the current position
1003 loff_t *ppos)
948 seq_list_next_rcu(void *v, struct list_head *head, loff_t *ppos) argument
1002 seq_hlist_next(void *v, struct hlist_head *head, loff_t *ppos) argument
1072 seq_hlist_next_rcu(void *v, struct hlist_head *head, loff_t *ppos) argument
[all...]
H A Dlibfs.c223 ssize_t generic_read_dir(struct file *filp, char __user *buf, size_t siz, loff_t *ppos) argument
1090 * @ppos: the current position in the buffer
1095 * buffer @from at offset @ppos into the user space address starting at @to.
1097 * On success, the number of bytes read is returned and the offset @ppos is
1100 ssize_t simple_read_from_buffer(void __user *to, size_t count, loff_t *ppos, argument
1103 loff_t pos = *ppos;
1116 *ppos = pos + count;
1125 * @ppos: the current position in the buffer
1130 * space address starting at @from into the buffer @to at offset @ppos.
1132 * On success, the number of bytes written is returned and the offset @ppos i
1135 simple_write_to_buffer(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count) argument
1170 memory_read_from_buffer(void *to, size_t count, loff_t *ppos, const void *from, size_t available) argument
1303 simple_attr_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument
1341 simple_attr_write_xsigned(struct file *file, const char __user *buf, size_t len, loff_t *ppos, bool is_signed) argument
1377 simple_attr_write(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
1384 simple_attr_write_signed(struct file *file, const char __user *buf, size_t len, loff_t *ppos) argument
[all...]
/linux-master/arch/um/drivers/
H A Dhostaudio_kern.c71 size_t count, loff_t *ppos)
98 size_t count, loff_t *ppos)
115 *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
/linux-master/drivers/sbus/char/
H A Dflash.c103 size_t count, loff_t *ppos)
105 loff_t p = *ppos;
118 *ppos += count;
102 flash_read(struct file * file, char __user * buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/mailbox/
H A Dmailbox-test.c51 size_t count, loff_t *ppos)
98 size_t count, loff_t *ppos)
172 size_t count, loff_t *ppos)
188 ret = simple_read_from_buffer(userbuf, count, ppos,
234 ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN);
49 mbox_test_signal_write(struct file *filp, const char __user *userbuf, size_t count, loff_t *ppos) argument
96 mbox_test_message_write(struct file *filp, const char __user *userbuf, size_t count, loff_t *ppos) argument
171 mbox_test_message_read(struct file *filp, char __user *userbuf, size_t count, loff_t *ppos) argument
/linux-master/drivers/vfio/pci/
H A Dvfio_pci_config.c1863 size_t count, loff_t *ppos, bool iswrite)
1872 if (*ppos < 0 || *ppos >= pdev->cfg_size ||
1873 *ppos + count > pdev->cfg_size)
1880 count = min(count, vfio_pci_cap_remaining_dword(vdev, *ppos));
1881 if (count >= 4 && !(*ppos % 4))
1883 else if (count >= 2 && !(*ppos % 2))
1890 cap_id = vdev->pci_config_map[*ppos];
1894 cap_start = *ppos;
1897 cap_start = *ppos;
1862 vfio_config_do_rw(struct vfio_pci_core_device *vdev, char __user *buf, size_t count, loff_t *ppos, bool iswrite) argument
1945 vfio_pci_config_rw(struct vfio_pci_core_device *vdev, char __user *buf, size_t count, loff_t *ppos, bool iswrite) argument
[all...]
/linux-master/kernel/trace/
H A Dtrace.c1730 size_t cnt, loff_t *ppos)
1736 if (!*ppos)
1764 *ppos += read;
1799 *ppos += read;
2772 loff_t *ppos)
2780 ret = proc_dointvec(table, write, buffer, lenp, ppos);
5026 size_t count, loff_t *ppos)
5062 size_t count, loff_t *ppos)
5080 count = simple_read_from_buffer(ubuf, count, ppos, mask_str, len);
5130 size_t count, loff_t *ppos)
1729 trace_get_user(struct trace_parser *parser, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
2770 tracepoint_printk_sysctl(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
5025 tracing_write_stub(struct file *filp, const char __user *ubuf, size_t count, loff_t *ppos) argument
5061 tracing_cpumask_read(struct file *filp, char __user *ubuf, size_t count, loff_t *ppos) argument
5129 tracing_cpumask_write(struct file *filp, const char __user *ubuf, size_t count, loff_t *ppos) argument
5353 tracing_trace_options_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
5695 tracing_readme_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
5886 tracing_set_trace_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
6217 tracing_set_trace_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
6248 tracing_nsecs_read(unsigned long *ptr, char __user *ubuf, size_t cnt, loff_t *ppos) argument
6262 tracing_nsecs_write(unsigned long *ptr, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
6278 tracing_thresh_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
6285 tracing_thresh_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
6312 tracing_max_lat_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
6321 tracing_max_lat_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
6514 tracing_read_pipe(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
6672 tracing_splice_read_pipe(struct file *filp, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) argument
6759 tracing_entries_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
6807 tracing_entries_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
6835 tracing_total_entries_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
6859 tracing_free_buffer_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
7253 tracing_snapshot_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
7506 trace_min_max_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
7552 trace_min_max_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
7827 tracing_err_log_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
7903 tracing_buffers_read(struct file *filp, char __user *ubuf, size_t count, loff_t *ppos) argument
8081 tracing_buffers_splice_read(struct file *file, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) argument
8323 tracing_stats_read(struct file *filp, char __user *ubuf, size_t count, loff_t *ppos) argument
8396 tracing_read_dyn_info(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
8681 trace_options_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
8696 trace_options_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
8787 trace_options_core_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
8806 trace_options_core_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
8996 rb_simple_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
9010 rb_simple_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
9054 buffer_percent_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
9068 buffer_percent_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
9098 buffer_subbuf_size_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
9115 buffer_subbuf_size_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
10187 trace_parse_run_command(struct file *file, const char __user *buffer, size_t count, loff_t *ppos, int (*createfn)(const char *)) argument
[all...]
/linux-master/drivers/usb/misc/sisusbvga/
H A Dsisusbvga.c2297 size_t count, loff_t *ppos)
2318 if ((*ppos) >= SISUSB_PCI_PSEUDO_IOPORTBASE &&
2319 (*ppos) < SISUSB_PCI_PSEUDO_IOPORTBASE + 128) {
2321 address = (*ppos) - SISUSB_PCI_PSEUDO_IOPORTBASE +
2368 } else if ((*ppos) >= SISUSB_PCI_PSEUDO_MEMBASE && (*ppos) <
2371 address = (*ppos) - SISUSB_PCI_PSEUDO_MEMBASE +
2383 } else if ((*ppos) >= SISUSB_PCI_PSEUDO_MMIOBASE &&
2384 (*ppos) < SISUSB_PCI_PSEUDO_MMIOBASE +
2387 address = (*ppos)
2296 sisusb_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) argument
2432 sisusb_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dibm-cffps.c79 size_t count, loff_t *ppos)
98 if (!*ppos) {
119 return simple_read_from_buffer(buf, count, ppos,
131 size_t count, loff_t *ppos)
208 return simple_read_from_buffer(buf, count, ppos, data, rc);
213 loff_t *ppos)
223 rc = simple_write_to_buffer(&data, 1, ppos, buf, count);
78 ibm_cffps_debugfs_read_input_history(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
130 ibm_cffps_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
211 ibm_cffps_debugfs_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/mtd/ubi/
H A Ddebug.c329 size_t count, loff_t *ppos)
357 count = simple_read_from_buffer(user_buf, count, ppos,
362 count = simple_read_from_buffer(user_buf, count, ppos,
367 count = simple_read_from_buffer(user_buf, count, ppos,
372 count = simple_read_from_buffer(user_buf, count, ppos,
387 count = simple_read_from_buffer(user_buf, count, ppos, buf, 2);
396 size_t count, loff_t *ppos)
328 dfs_file_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
395 dfs_file_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/mm/
H A Dutil.c839 size_t *lenp, loff_t *ppos)
843 ret = proc_dointvec(table, write, buffer, lenp, ppos);
855 size_t *lenp, loff_t *ppos)
875 ret = proc_dointvec_minmax(&t, write, buffer, lenp, ppos);
884 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
891 size_t *lenp, loff_t *ppos)
895 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos);
838 overcommit_ratio_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
854 overcommit_policy_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
890 overcommit_kbytes_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
H A Dpage_owner.c648 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
660 if (*ppos == 0)
663 pfn = *ppos;
732 *ppos = pfn + 1;
856 static void *stack_start(struct seq_file *m, loff_t *ppos) argument
860 if (*ppos == -1UL)
863 if (!*ppos) {
878 static void *stack_next(struct seq_file *m, void *v, loff_t *ppos) argument
883 *ppos = stack ? *ppos
[all...]
/linux-master/net/mac80211/
H A Ddebugfs_netdev.c44 size_t count, loff_t *ppos,
56 userbuf, count, ppos,
80 size_t count, loff_t *ppos,
116 size_t count, loff_t *ppos,
128 userbuf, count, ppos,
152 size_t count, loff_t *ppos,
234 size_t count, loff_t *ppos) \
237 userbuf, count, ppos, \
244 size_t count, loff_t *ppos) \
247 count, ppos, \
41 ieee80211_if_read_sdata( struct file *file, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*format)(const struct ieee80211_sub_if_data *sdata, char *, int)) argument
77 ieee80211_if_write_sdata( struct file *file, const char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*write)(struct ieee80211_sub_if_data *sdata, const char *, int)) argument
113 ieee80211_if_read_link( struct file *file, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*format)(const struct ieee80211_link_data *link, char *, int)) argument
149 ieee80211_if_write_link( struct file *file, const char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*write)(struct ieee80211_link_data *link, const char *, int)) argument
[all...]
/linux-master/samples/vfio-mdev/
H A Dmbochs.c610 size_t count, loff_t *ppos)
620 if (count >= 4 && !(*ppos % 4)) {
624 *ppos, false);
632 } else if (count >= 2 && !(*ppos % 2)) {
636 *ppos, false);
648 *ppos, false);
660 *ppos += filled;
671 size_t count, loff_t *ppos)
681 if (count >= 4 && !(*ppos % 4)) {
688 *ppos, tru
609 mbochs_read(struct vfio_device *vdev, char __user *buf, size_t count, loff_t *ppos) argument
670 mbochs_write(struct vfio_device *vdev, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/fs/proc/
H A Dbase.c258 size_t count, loff_t *ppos)
287 /* We're not going to care if "*ppos" has high bits set */
288 pos = *ppos;
839 size_t count, loff_t *ppos, int write)
842 unsigned long addr = *ppos;
885 *ppos = addr;
894 size_t count, loff_t *ppos)
896 return mem_rw(file, buf, count, ppos, 0);
900 size_t count, loff_t *ppos)
902 return mem_rw(file, (char __user*)buf, count, ppos,
257 get_mm_cmdline(struct mm_struct *mm, char __user *buf, size_t count, loff_t *ppos) argument
838 mem_rw(struct file *file, char __user *buf, size_t count, loff_t *ppos, int write) argument
893 mem_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
899 mem_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
942 environ_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
1017 auxv_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
1039 oom_adj_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
1154 oom_adj_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
1197 oom_score_adj_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
1213 oom_score_adj_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
1249 proc_loginuid_read(struct file * file, char __user * buf, size_t count, loff_t *ppos) argument
1266 proc_loginuid_write(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
1315 proc_sessionid_read(struct file * file, char __user * buf, size_t count, loff_t *ppos) argument
1338 proc_fault_inject_read(struct file * file, char __user * buf, size_t count, loff_t *ppos) argument
1356 proc_fault_inject_write(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
1392 proc_fail_nth_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
1412 proc_fail_nth_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
1575 timens_offsets_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
2717 proc_pid_attr_read(struct file * file, char __user * buf, size_t count, loff_t *ppos) argument
2738 proc_pid_attr_write(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
2895 proc_coredump_filter_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
2922 proc_coredump_filter_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/io_uring/
H A Drw.c626 loff_t *ppos; local
639 ppos = io_kiocb_ppos(kiocb);
658 nr = file->f_op->read(file, addr, len, ppos);
660 nr = file->f_op->write(file, addr, len, ppos);
828 loff_t *ppos; local
851 ppos = io_kiocb_update_pos(req);
853 ret = rw_verify_area(READ, req->file, ppos, req->cqe.res);
1014 loff_t *ppos; local
1038 ppos = io_kiocb_update_pos(req);
1040 ret = rw_verify_area(WRITE, req->file, ppos, re
[all...]
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c2150 size_t nbytes, loff_t *ppos)
2376 size_t nbytes, loff_t *ppos)
2413 return simple_read_from_buffer(buf, nbytes, ppos, &cbuf, cnt);
2418 size_t nbytes, loff_t *ppos)
2543 * @ppos: The position in the file to start reading from.
2547 * field of @file. It will start reading at @ppos and copy up to @nbytes of
2556 size_t nbytes, loff_t *ppos)
2560 return simple_read_from_buffer(buf, nbytes, ppos, debug->buffer,
2592 * @ppos: The position in the file to start reading from.
2604 size_t nbytes, loff_t *ppos)
2149 lpfc_debugfs_lockstat_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
2375 lpfc_debugfs_dif_err_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
2417 lpfc_debugfs_dif_err_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
2555 lpfc_debugfs_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
2603 lpfc_debugfs_multixripools_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
2683 lpfc_debugfs_nvmestat_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
2771 lpfc_debugfs_scsistat_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
2825 lpfc_debugfs_ioktime_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
2952 lpfc_debugfs_nvmeio_trc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
3057 lpfc_debugfs_hdwqstat_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
3293 lpfc_idiag_pcicfg_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
3414 lpfc_idiag_pcicfg_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
3588 lpfc_idiag_baracc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
3739 lpfc_idiag_baracc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
4044 lpfc_idiag_queinfo_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
4253 lpfc_idiag_queacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
4330 lpfc_idiag_queacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
4627 lpfc_idiag_drbacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
4683 lpfc_idiag_drbacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
4845 lpfc_idiag_ctlacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
4898 lpfc_idiag_ctlacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
5039 lpfc_idiag_mbxacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
5084 lpfc_idiag_mbxacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
5358 lpfc_idiag_extacc_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
5404 lpfc_idiag_extacc_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
5462 lpfc_cgn_buffer_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
5554 lpfc_rx_monitor_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
[all...]
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A D3945-debug.c35 size_t count, loff_t *ppos)
293 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
300 size_t count, loff_t *ppos)
383 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
390 size_t count, loff_t *ppos)
484 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
34 il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
299 il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
389 il3945_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/vfio/platform/
H A Dvfio_platform_common.c441 char __user *buf, size_t count, loff_t *ppos)
445 unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos);
446 loff_t off = *ppos & VFIO_PLATFORM_OFFSET_MASK;
519 size_t count, loff_t *ppos)
523 unsigned int index = VFIO_PLATFORM_OFFSET_TO_INDEX(*ppos);
524 loff_t off = *ppos & VFIO_PLATFORM_OFFSET_MASK;
440 vfio_platform_read(struct vfio_device *core_vdev, char __user *buf, size_t count, loff_t *ppos) argument
518 vfio_platform_write(struct vfio_device *core_vdev, const char __user *buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc.c241 size_t count, loff_t *ppos)
245 unsigned int index = VFIO_FSL_MC_OFFSET_TO_INDEX(*ppos);
246 loff_t off = *ppos & VFIO_FSL_MC_OFFSET_MASK;
320 loff_t *ppos)
324 unsigned int index = VFIO_FSL_MC_OFFSET_TO_INDEX(*ppos);
325 loff_t off = *ppos & VFIO_FSL_MC_OFFSET_MASK;
240 vfio_fsl_mc_read(struct vfio_device *core_vdev, char __user *buf, size_t count, loff_t *ppos) argument
318 vfio_fsl_mc_write(struct vfio_device *core_vdev, const char __user *buf, size_t count, loff_t *ppos) argument
/linux-master/arch/x86/kernel/cpu/mce/
H A Dinject.c353 size_t cnt, loff_t *ppos)
360 return simple_read_from_buffer(ubuf, cnt, ppos, buf, n);
364 size_t cnt, loff_t *ppos)
386 *ppos += cnt;
684 size_t cnt, loff_t *ppos)
686 return simple_read_from_buffer(ubuf, cnt, ppos,
352 flags_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
363 flags_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
683 inj_readme_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) argument
/linux-master/drivers/hwmon/
H A Dpt5161l.c497 size_t count, loff_t *ppos)
512 return simple_read_from_buffer(buf, count, ppos, ver, ret);
522 loff_t *ppos)
538 return simple_read_from_buffer(buf, count, ppos, health, ret);
547 size_t count, loff_t *ppos)
563 return simple_read_from_buffer(buf, count, ppos, health, ret);
496 pt5161l_debugfs_read_fw_ver(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
520 pt5161l_debugfs_read_fw_load_sts(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
546 pt5161l_debugfs_read_hb_sts(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument

Completed in 497 milliseconds

1234567891011>>