Searched refs:ppos (Results 26 - 50 of 367) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/debugfs/
H A Dfile.c23 size_t count, loff_t *ppos)
29 size_t count, loff_t *ppos)
225 size_t count, loff_t *ppos)
236 return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
240 size_t count, loff_t *ppos)
304 size_t count, loff_t *ppos)
307 return simple_read_from_buffer(user_buf, count, ppos, blob->data,
22 default_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
28 default_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
224 read_file_bool(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
239 write_file_bool(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
303 read_file_blob(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dproc_ppc64.c33 loff_t *ppos);
106 loff_t *ppos)
109 return simple_read_from_buffer(buf, nbytes, ppos, dp->data, dp->size);
105 page_map_read( struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
H A Drtas_flash.c256 size_t count, loff_t *ppos)
274 if (ppos && *ppos != 0)
283 if (ppos)
284 *ppos = msglen;
392 size_t count, loff_t *ppos)
407 if (ppos && *ppos != 0)
416 if (ppos)
417 *ppos
255 rtas_flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
391 manage_flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
492 validate_flash_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/
H A Ddebugfs.c39 size_t count, loff_t *ppos)
50 return simple_read_from_buffer(userbuf, count, ppos, buf, p-buf);
60 size_t count, loff_t *ppos) \
67 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
135 size_t count, loff_t *ppos,
154 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
165 size_t count, loff_t *ppos) \
170 ppos, \
249 size_t count, loff_t *ppos)
259 return simple_read_from_buffer(userbuf, count, ppos, bu
38 modes_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
133 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
247 stats_wme_rx_queue_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
267 stats_wme_tx_queue_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/
H A Dsysctl.c53 void __user *buffer, size_t *lenp, loff_t *ppos)
60 if ((*ppos && !write) || !*lenp) {
110 *ppos += *lenp;
52 proc_dodebug(ctl_table *table, int write, struct file *file, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/
H A Dselinuxfs.c113 size_t count, loff_t *ppos)
119 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
124 size_t count, loff_t *ppos)
133 if (*ppos != 0) {
177 size_t count, loff_t *ppos)
187 if (*ppos != 0) {
225 size_t count, loff_t *ppos)
231 return simple_read_from_buffer(buf, count, ppos, tmpbuf, length);
242 size_t count, loff_t *ppos)
248 return simple_read_from_buffer(buf, count, ppos, tmpbu
112 sel_read_enforce(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
123 sel_write_enforce(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
176 sel_write_disable(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
224 sel_read_policyvers(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
241 sel_read_mls(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
255 sel_write_load(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
339 sel_read_checkreqprot(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
349 sel_write_checkreqprot(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
388 sel_read_compat_net(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
398 sel_write_compat_net(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
786 sel_read_bool(struct file *filep, char __user *buf, size_t count, loff_t *ppos) argument
829 sel_write_bool(struct file *filep, const char __user *buf, size_t count, loff_t *ppos) argument
887 sel_commit_bools_write(struct file *filep, const char __user *buf, size_t count, loff_t *ppos) argument
1060 sel_read_avc_cache_threshold(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1070 sel_write_avc_cache_threshold(struct file * file, const char __user * buf, size_t count, loff_t *ppos) argument
1119 sel_read_avc_hash_stats(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1248 sel_read_initcon(struct file * file, char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/
H A Dmsr.c67 size_t count, loff_t * ppos)
71 u32 reg = *ppos;
91 size_t count, loff_t *ppos)
95 u32 reg = *ppos;
66 msr_read(struct file *file, char __user * buf, size_t count, loff_t * ppos) argument
90 msr_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/coda/
H A Dsysctl.c57 size_t * lenp, loff_t * ppos )
62 *ppos += *lenp;
73 size_t * lenp, loff_t * ppos )
78 *ppos += *lenp;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dmtdchar.c150 static ssize_t mtd_read(struct file *file, char __user *buf, size_t count,loff_t *ppos) argument
162 if (*ppos + count > mtd->size)
163 count = mtd->size - *ppos;
186 ret = mtd->read_fact_prot_reg(mtd, *ppos, len, &retlen, kbuf);
189 ret = mtd->read_user_prot_reg(mtd, *ppos, len, &retlen, kbuf);
200 ret = mtd->read_oob(mtd, *ppos, &ops);
205 ret = mtd->read(mtd, *ppos, len, &retlen, kbuf);
217 *ppos += retlen;
241 static ssize_t mtd_write(struct file *file, const char __user *buf, size_t count,loff_t *ppos) argument
253 if (*ppos
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/proc/
H A Dkmsg2.c33 size_t count, loff_t *ppos)
32 kmsg_read(struct file * file, char * buf, size_t count, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/ipc/
H A Dipc_sysctl.c32 void __user *buffer, size_t *lenp, loff_t *ppos)
38 return proc_dointvec(&ipc_table, write, filp, buffer, lenp, ppos);
42 struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos)
49 lenp, ppos);
31 proc_ipc_dointvec(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
41 proc_ipc_doulongvec_minmax(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/acpi/
H A Devent.c43 loff_t * ppos)
79 *ppos += count;
42 acpi_system_read_event(struct file *file, char __user * buffer, size_t count, loff_t * ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/
H A Dsysctl_net_decnet.c170 size_t *lenp, loff_t *ppos)
176 if (!*lenp || (*ppos && !write)) {
199 *ppos += len;
214 *ppos += len;
281 size_t *lenp, loff_t *ppos)
287 if (!*lenp || (*ppos && !write)) {
315 *ppos += *lenp;
337 *ppos += len;
167 dn_node_address_handler(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
278 dn_def_dev_handler(ctl_table *table, int write, struct file * filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ncpfs/
H A Dfile.c102 ncp_file_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
119 pos = *ppos;
171 *ppos = pos;
183 ncp_file_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
199 pos = *ppos;
267 *ppos = pos;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/bcm43xx/
H A Dbcm43xx_debugfs.c50 size_t count, loff_t *ppos)
64 size_t count, loff_t *ppos)
127 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
133 size_t count, loff_t *ppos)
147 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
153 size_t count, loff_t *ppos)
177 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
183 size_t count, loff_t *ppos)
209 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
215 size_t count, loff_t *ppos)
49 write_file_dummy(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
63 devinfo_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
132 drvinfo_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
152 spromdump_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
182 tsf_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
214 tsf_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
254 txstat_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
319 restart_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/blackfin/mach-bf561/
H A Dcoreb.c60 loff_t * ppos);
62 loff_t * ppos);
77 loff_t * ppos)
79 unsigned long p = *ppos;
117 *ppos = p;
122 loff_t * ppos)
124 unsigned long p = *ppos;
76 coreb_write(struct file *file, const char *buf, size_t count, loff_t * ppos) argument
121 coreb_read(struct file *file, char *buf, size_t count, loff_t * ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dbad_inode.c25 size_t size, loff_t *ppos)
31 size_t siz, loff_t *ppos)
117 static ssize_t bad_file_sendfile(struct file *in_file, loff_t *ppos, argument
152 struct file *out, loff_t *ppos, size_t len,
158 static ssize_t bad_file_splice_read(struct file *in, loff_t *ppos, argument
24 bad_file_read(struct file *filp, char __user *buf, size_t size, loff_t *ppos) argument
30 bad_file_write(struct file *filp, const char __user *buf, size_t siz, loff_t *ppos) argument
151 bad_file_splice_write(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags) argument
H A Dread_write.c196 int rw_verify_area(int read_write, struct file *file, loff_t *ppos, size_t count) argument
204 pos = *ppos;
231 ssize_t do_sync_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos) argument
238 kiocb.ki_pos = *ppos;
250 *ppos = kiocb.ki_pos;
289 ssize_t do_sync_write(struct file *filp, const char __user *buf, size_t len, loff_t *ppos) argument
296 kiocb.ki_pos = *ppos;
308 *ppos = kiocb.ki_pos;
466 unsigned long nr_segs, size_t len, loff_t *ppos, iov_fn_t fn)
472 kiocb.ki_pos = *ppos;
465 do_sync_readv_writev(struct file *filp, const struct iovec *iov, unsigned long nr_segs, size_t len, loff_t *ppos, iov_fn_t fn) argument
490 do_loop_readv_writev(struct file *filp, struct iovec *iov, unsigned long nr_segs, loff_t *ppos, io_fn_t fn) argument
716 do_sendfile(int out_fd, int in_fd, loff_t *ppos, size_t count, loff_t max) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/configfs/
H A Dfile.c85 * @ppos: starting offset in file.
100 configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
110 pr_debug("%s: count = %zd, ppos = %lld, buf = %s\n",
111 __FUNCTION__, count, *ppos, buffer->page);
112 retval = simple_read_from_buffer(buf, count, ppos, buffer->page,
178 * @ppos: starting offset
191 configfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
201 *ppos += len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dans-lcd.c55 size_t count, loff_t *ppos )
66 for ( i = *ppos; count > 0; ++i, ++p, --count )
72 *ppos = i;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/zorro/
H A Dproc.c48 proc_bus_zorro_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
54 loff_t pos = *ppos;
73 *ppos += nbytes;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pnp/isapnp/
H A Dproc.c57 static ssize_t isapnp_proc_bus_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
62 int pos = *ppos;
84 *ppos = pos;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/ttpci/
H A Dav7110_ca.c150 const char __user *buf, size_t count, loff_t *ppos)
189 char __user *buf, size_t count, loff_t *ppos)
329 size_t count, loff_t *ppos)
335 return ci_ll_write(&av7110->ci_wbuffer, file, buf, count, ppos);
339 size_t count, loff_t *ppos)
345 return ci_ll_read(&av7110->ci_rbuffer, file, buf, count, ppos);
149 ci_ll_write(struct dvb_ringbuffer *cibuf, struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
188 ci_ll_read(struct dvb_ringbuffer *cibuf, struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
328 dvb_ca_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
338 dvb_ca_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/mm/
H A Dcmm.c264 void __user *buffer, size_t *lenp, loff_t *ppos)
270 if (!*lenp || (*ppos && !write)) {
299 *ppos += len;
305 void __user *buffer, size_t *lenp, loff_t *ppos)
311 if (!*lenp || (*ppos && !write)) {
336 *ppos += len;
263 cmm_pages_handler(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
304 cmm_timeout_handler(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dnwflash.c9 * - use *ppos as the file position, not file->f_pos.
123 loff_t *ppos)
125 unsigned long p = *ppos;
149 *ppos += count;
158 size_t size, loff_t * ppos)
160 unsigned long p = *ppos;
269 *ppos += rc;
122 flash_read(struct file *file, char __user *buf, size_t size, loff_t *ppos) argument
157 flash_write(struct file *file, const char __user *buf, size_t size, loff_t * ppos) argument

Completed in 356 milliseconds

1234567891011>>