Searched refs:lenp (Results 1 - 25 of 74) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/kernel/
H A Dsysctl.c51 void __user *buffer, size_t *lenp, loff_t *ppos)
57 len = *lenp;
89 *lenp = 0;
107 if (len > *lenp)
108 len = *lenp;
113 *lenp = len;
125 void __user *buffer, size_t *lenp, loff_t *ppos)
131 len = *lenp;
155 *lenp = 0;
160 if (len > *lenp)
50 procctl_frv_cachemode(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
124 procctl_frv_pin_cxnr(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
H A Dpm.c155 void __user *buffer, size_t *lenp, loff_t *fpos)
159 if (*lenp <= 0)
162 mode = user_atoi(buffer, *lenp);
211 void __user *buffer, size_t *lenp, loff_t *fpos)
216 return proc_dointvec(ctl, write, filp, buffer, lenp, fpos);
218 new_cmode = user_atoi(buffer, *lenp);
220 return try_set_cmode(new_cmode)?:*lenp;
312 void __user *buffer, size_t *lenp, loff_t *fpos)
317 return proc_dointvec(ctl, write, filp, buffer, lenp, fpos);
319 new_p0 = user_atoi(buffer, *lenp);
154 sysctl_pm_do_suspend(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *fpos) argument
210 cmode_procctl(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *fpos) argument
311 p0_procctl(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *fpos) argument
355 cm_procctl(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *fpos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dmdesc.h33 int *lenp);
36 int *lenp);
H A Dprom.h99 int *lenp);
104 int *lenp);
105 #define get_property(node,name,lenp) of_get_property(node,name,lenp)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parport/
H A Dprocfs.c35 void __user *result, size_t *lenp, loff_t *ppos)
46 *lenp = 0;
60 if (len > *lenp)
61 len = *lenp;
63 *lenp = len;
72 void __user *result, size_t *lenp, loff_t *ppos)
83 *lenp = 0;
102 if (len > *lenp)
103 len = *lenp;
105 *lenp
34 do_active_device(ctl_table *table, int write, struct file *filp, void __user *result, size_t *lenp, loff_t *ppos) argument
71 do_autoprobe(ctl_table *table, int write, struct file *filp, void __user *result, size_t *lenp, loff_t *ppos) argument
113 do_hardware_base_addr(ctl_table *table, int write, struct file *filp, void __user *result, size_t *lenp, loff_t *ppos) argument
141 do_hardware_irq(ctl_table *table, int write, struct file *filp, void __user *result, size_t *lenp, loff_t *ppos) argument
169 do_hardware_dma(ctl_table *table, int write, struct file *filp, void __user *result, size_t *lenp, loff_t *ppos) argument
197 do_hardware_modes(ctl_table *table, int write, struct file *filp, void __user *result, size_t *lenp, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/xtensa/boot/lib/
H A Dzmem.c34 void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp) argument
56 if (i >= *lenp) {
68 s.avail_in = *lenp - i;
76 *lenp = s.next_out - (unsigned char *) dst;
/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)) {
177 *lenp = 0;
182 int len = (*lenp < DN_ASCBUF_LEN) ? *lenp : (DN_ASCBUF_LEN-1);
208 if (len > *lenp) len = *lenp;
213 *lenp = len;
281 size_t *lenp, loff_t *ppos)
287 if (!*lenp || (*ppo
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
[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) {
61 *lenp = 0;
65 left = *lenp;
109 *lenp -= left;
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/arch/mips/lasat/
H A Dsysctl.c63 void *buffer, size_t *lenp, loff_t *ppos)
67 r = proc_dostring(table, write, filp, buffer, lenp, ppos);
79 void *buffer, size_t *lenp, loff_t *ppos)
83 r = proc_dointvec(table, write, filp, buffer, lenp, ppos);
98 void *buffer, size_t *lenp, loff_t *ppos)
108 r = proc_dointvec(table, write, filp, buffer, lenp, ppos);
183 void *buffer, size_t *lenp, loff_t *ppos)
189 if (!table->data || !table->maxlen || !*lenp ||
191 *lenp = 0;
199 while (len < *lenp) {
62 proc_dolasatstring(ctl_table *table, int write, struct file *filp, void *buffer, size_t *lenp, loff_t *ppos) argument
78 proc_dolasatint(ctl_table *table, int write, struct file *filp, void *buffer, size_t *lenp, loff_t *ppos) argument
97 proc_dolasatrtc(ctl_table *table, int write, struct file *filp, void *buffer, size_t *lenp, loff_t *ppos) argument
182 proc_lasat_ip(ctl_table *table, int write, struct file *filp, void *buffer, size_t *lenp, loff_t *ppos) argument
278 proc_lasat_eeprom_value(ctl_table *table, int write, struct file *filp, void *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
/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)) {
271 *lenp = 0;
276 len = *lenp;
293 if (len > *lenp)
294 len = *lenp;
298 *lenp = len;
305 void __user *buffer, size_t *lenp, loff_t *ppos)
311 if (!*lenp || (*ppos && !write)) {
312 *lenp
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
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/rep/
H A Drep_auto.c17 __rep_bulk_marshal(env, argp, bp, max, lenp)
21 size_t *lenp, max;
39 *lenp = (size_t)(bp - start);
85 __rep_control_marshal(env, argp, bp, max, lenp)
89 size_t *lenp, max;
107 *lenp = (size_t)(bp - start);
150 __rep_egen_marshal(env, argp, bp, max, lenp)
154 size_t *lenp, max;
164 *lenp = (size_t)(bp - start);
199 __rep_fileinfo_marshal(env, version, argp, bp, max, lenp)
[all...]
/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;
64 *lenp = 0;
73 size_t * lenp, loff_t * ppos )
78 *ppos += *lenp;
80 *lenp = 0;
55 do_reset_coda_vfs_stats( ctl_table * table, int write, struct file * filp, void __user * buffer, size_t * lenp, loff_t * ppos ) argument
70 do_reset_coda_cache_inv_stats( 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/include/asm-sparc/
H A Dprom.h90 int *lenp);
95 int *lenp);
96 #define get_property(node,name,lenp) of_get_property(node,name,lenp)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/appldata/
H A Dappldata_base.c47 void __user *buffer, size_t *lenp, loff_t *ppos);
51 size_t *lenp, loff_t *ppos);
252 void __user *buffer, size_t *lenp, loff_t *ppos)
257 if (!*lenp || *ppos) {
258 *lenp = 0;
263 if (len > *lenp)
264 len = *lenp;
269 len = *lenp;
279 *lenp = len;
292 void __user *buffer, size_t *lenp, loff_
251 appldata_timer_handler(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
291 appldata_interval_handler(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
340 appldata_generic_handler(ctl_table *ctl, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dsysctl.c53 void __user *buffer, size_t *lenp, loff_t *ppos);
137 void __user *buffer, size_t *lenp, loff_t *ppos);
139 void __user *buffer, size_t *lenp, loff_t *ppos);
1512 size_t *lenp, loff_t *ppos)
1518 if (!data || !maxlen || !*lenp) {
1519 *lenp = 0;
1526 while (len < *lenp) {
1538 *ppos += *lenp;
1545 *lenp = 0;
1552 if (len > *lenp)
1510 _proc_do_string(void* data, int maxlen, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
1586 proc_dostring(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
1613 __do_proc_dointvec(void *tbl_data, ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos, int (*conv)(int *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) argument
1723 do_proc_dointvec(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos, int (*conv)(int *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) argument
1747 proc_dointvec(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
1787 proc_dointvec_bset(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
1804 proc_dointvec_taint(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
1863 proc_dointvec_minmax(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
1874 __do_proc_doulongvec_minmax(void *data, ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) argument
1979 do_proc_doulongvec_minmax(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) argument
2007 proc_doulongvec_minmax(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2031 proc_doulongvec_ms_jiffies_minmax(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2124 proc_dointvec_jiffies(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2147 proc_dointvec_userhz_jiffies(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2171 proc_dointvec_ms_jiffies(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2178 proc_do_cad_pid(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2202 proc_dostring(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2208 proc_dointvec(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2214 proc_dointvec_bset(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2220 proc_dointvec_minmax(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2226 proc_dointvec_jiffies(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2232 proc_dointvec_userhz_jiffies(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2238 proc_dointvec_ms_jiffies(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2244 proc_doulongvec_minmax(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
2250 proc_doulongvec_ms_jiffies_minmax(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
H A Dutsname_sysctl.c46 void __user *buffer, size_t *lenp, loff_t *ppos)
52 r = proc_dostring(&uts_table,write,filp,buffer,lenp, ppos);
45 proc_do_uts_string(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/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/net/wireless/
H A Darlan-proc.c406 void __user *buffer, size_t * lenp, loff_t *ppos)
629 *lenp = pos;
632 retv = proc_dostring(ctl, write, filp, buffer, lenp, ppos);
635 *lenp = 0;
643 void __user *buffer, size_t * lenp, loff_t *ppos)
671 *lenp = pos;
672 retv = proc_dostring(ctl, write, filp, buffer, lenp, ppos);
677 void __user *buffer, size_t * lenp, loff_t *ppos)
700 *lenp = pos;
701 retv = proc_dostring(ctl, write, filp, buffer, lenp, ppo
405 arlan_sysctl_info(ctl_table * ctl, int write, struct file *filp, void __user *buffer, size_t * lenp, loff_t *ppos) argument
642 arlan_sysctl_info161719(ctl_table * ctl, int write, struct file *filp, void __user *buffer, size_t * lenp, loff_t *ppos) argument
676 arlan_sysctl_infotxRing(ctl_table * ctl, int write, struct file *filp, void __user *buffer, size_t * lenp, loff_t *ppos) argument
705 arlan_sysctl_inforxRing(ctl_table * ctl, int write, struct file *filp, void __user *buffer, size_t * lenp, loff_t *ppos) argument
733 arlan_sysctl_info18(ctl_table * ctl, int write, struct file *filp, void __user *buffer, size_t * lenp, loff_t *ppos) argument
769 arlan_configure(ctl_table * ctl, int write, struct file *filp, void __user *buffer, size_t * lenp, loff_t *ppos) argument
794 arlan_sysctl_reset(ctl_table * ctl, int write, struct file *filp, void __user *buffer, size_t * lenp, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/kernel/
H A Dppc_htab.c314 void __user *buffer_arg, size_t *lenp, loff_t *ppos)
339 *lenp = 0;
344 left = *lenp;
428 *lenp -= left;
429 *ppos += *lenp;
313 proc_dol2crvec(ctl_table *table, int write, struct file *filp, void __user *buffer_arg, size_t *lenp, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/cxx/
H A Dcxx_mpool.cpp93 DB_MPOOLFILE_METHOD(get_clear_len, (u_int32_t *lenp),
94 (mpf, lenp), DB_RETOK_STD)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dsysctl_net_ipv4.c38 void __user *buffer, size_t *lenp, loff_t *ppos)
43 ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos);
93 void __user *buffer, size_t *lenp, loff_t *ppos)
104 ret = proc_dostring(&tbl, write, filp, buffer, lenp, ppos);
131 void __user *buffer, size_t *lenp,
141 ret = proc_dostring(&tbl, write, filp, buffer, lenp, ppos);
148 void __user *buffer, size_t *lenp,
159 ret = proc_dostring(&tbl, write, filp, buffer, lenp, ppos);
37 ipv4_sysctl_forward(ctl_table *ctl, int write, struct file * filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
92 proc_tcp_congestion_control(ctl_table *ctl, int write, struct file * filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
129 proc_tcp_available_congestion_control(ctl_table *ctl, int write, struct file * filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
146 proc_allowed_congestion_control(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/net/irda/
H A Dirsysctl.c79 void __user *buffer, size_t *lenp, loff_t *ppos)
83 ret = proc_dostring(table, write, filp, buffer, lenp, ppos);
78 do_devname(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/arch/ppc/boot/common/
H A Dmisc-common.c225 void gunzip(void *dst, int dstlen, unsigned char *src, int *lenp) argument
247 if (i >= *lenp) {
260 s.avail_in = *lenp - i;
268 *lenp = s.next_out - (unsigned char *) dst;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dndisc.h125 size_t *lenp,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dfile_table.c70 void __user *buffer, size_t *lenp, loff_t *ppos)
73 return proc_dointvec(table, write, filp, buffer, lenp, ppos);
77 void __user *buffer, size_t *lenp, loff_t *ppos)
69 proc_nr_files(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument
76 proc_nr_files(ctl_table *table, int write, struct file *filp, void __user *buffer, size_t *lenp, loff_t *ppos) argument

Completed in 284 milliseconds

123