/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/kernel/ |
H A D | sysctl.c | 50 void __user *buffer, size_t *lenp, 57 len = *lenp; 89 *lenp = 0; 107 if (len > *lenp) 108 len = *lenp; 113 *lenp = len; 125 void __user *buffer, size_t *lenp, 132 len = *lenp; 156 *lenp = 0; 161 if (len > *lenp) 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 [all...] |
H A D | pm.c | 154 void __user *buffer, size_t *lenp, loff_t *fpos) 158 if (*lenp <= 0) 161 mode = user_atoi(buffer, *lenp); 202 void __user *buffer, size_t *lenp, loff_t *fpos) 207 return proc_dointvec(ctl, write, buffer, lenp, fpos); 209 new_cmode = user_atoi(buffer, *lenp); 211 return try_set_cmode(new_cmode)?:*lenp; 272 void __user *buffer, size_t *lenp, loff_t *fpos) 277 return proc_dointvec(ctl, write, buffer, lenp, fpos); 279 new_p0 = user_atoi(buffer, *lenp); 153 sysctl_pm_do_suspend(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *fpos) argument 201 cmode_procctl(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *fpos) argument 271 p0_procctl(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *fpos) argument 284 cm_procctl(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *fpos) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/decnet/ |
H A D | sysctl_net_decnet.c | 136 size_t *lenp, loff_t *ppos) 142 if (!*lenp || (*ppos && !write)) { 143 *lenp = 0; 148 len = (*lenp < DN_ASCBUF_LEN) ? *lenp : (DN_ASCBUF_LEN-1); 174 if (len > *lenp) len = *lenp; 179 *lenp = len; 187 size_t *lenp, loff_t *ppos) 193 if (!*lenp || (*ppo 134 dn_node_address_handler(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 185 dn_def_dev_handler(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/ipc/ |
H A D | ipc_sysctl.c | 31 void __user *buffer, size_t *lenp, loff_t *ppos) 37 return proc_dointvec(&ipc_table, write, buffer, lenp, ppos); 41 void __user *buffer, size_t *lenp, loff_t *ppos) 44 size_t lenp_bef = *lenp; 50 rc = proc_dointvec(&ipc_table, write, buffer, lenp, ppos); 52 if (write && !rc && lenp_bef == *lenp) 64 void __user *buffer, size_t *lenp, loff_t *ppos) 71 lenp, ppos); 98 void __user *buffer, size_t *lenp, loff_t *ppos) 101 size_t lenp_bef = *lenp; 30 proc_ipc_dointvec(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 40 proc_ipc_callback_dointvec(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 63 proc_ipc_doulongvec_minmax(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 97 proc_ipcauto_dointvec_minmax(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument [all...] |
H A D | mq_sysctl.c | 35 void __user *buffer, size_t *lenp, loff_t *ppos) 41 return proc_dointvec(&mq_table, write, buffer, lenp, ppos); 45 void __user *buffer, size_t *lenp, loff_t *ppos) 52 lenp, ppos); 34 proc_mq_dointvec(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 44 proc_mq_dointvec_minmax(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/ |
H A D | min_addr.c | 32 void __user *buffer, size_t *lenp, loff_t *ppos) 39 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); 31 mmap_min_addr_handler(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/lasat/ |
H A D | sysctl.c | 43 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) 108 if (!table->data || !table->maxlen || !*lenp || 110 *lenp = 0; 117 while (len < *lenp) { 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...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/parport/ |
H A D | procfs.c | 35 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, void __user *result, size_t *lenp, loff_t *ppos) argument 71 do_autoprobe(ctl_table *table, int write, void __user *result, size_t *lenp, loff_t *ppos) argument 113 do_hardware_base_addr(ctl_table *table, int write, void __user *result, size_t *lenp, loff_t *ppos) argument 141 do_hardware_irq(ctl_table *table, int write, void __user *result, size_t *lenp, loff_t *ppos) argument 169 do_hardware_dma(ctl_table *table, int write, void __user *result, size_t *lenp, loff_t *ppos) argument 197 do_hardware_modes(ctl_table *table, int write, void __user *result, size_t *lenp, loff_t *ppos) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/xtensa/boot/lib/ |
H A D | zmem.c | 34 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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/ |
H A D | sysctl.c | 60 void __user *buffer, size_t *lenp, loff_t *ppos) 65 if ((*ppos && !write) || !*lenp) { 66 *lenp = 0; 70 return simple_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); 75 void __user *buffer, size_t *lenp, loff_t *ppos) 82 if ((*ppos && !write) || !*lenp) { 83 *lenp = 0; 87 left = *lenp; 130 *lenp -= left; 131 *ppos += *lenp; 59 proc_do_xprt(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 74 proc_dodebug(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/scripts/dtc/ |
H A D | dtc.c | 36 int lenp = strlen(path); local 42 len = lenp + lenn + 2; 43 if ((lenp > 0) && (path[lenp-1] == '/')) { 49 memcpy(str, path, lenp); 51 str[lenp] = '/'; 52 lenp++; 54 memcpy(str+lenp, name, lenn+1);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/scripts/dtc/libfdt/ |
H A D | fdt.c | 95 const uint32_t *tagp, *lenp; local 118 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); 119 if (! lenp) 122 offset += 2*FDT_TAGSIZE + fdt32_to_cpu(*lenp);
|
H A D | libfdt.h | 326 * @lenp: pointer to an integer variable (will be overwritten) or NULL 329 * device tree node at structure block offset nodeoffset. If lenp is 331 * pointed to by lenp. 335 * If lenp is non-NULL, *lenp contains the length of that name (>=0) 337 * if lenp is non-NULL *lenp contains an error code (<0): 343 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 350 * @lenp: pointer to an integer variable (will be overwritten) or NULL 354 * named 'name' of the node at offset nodeoffset. If lenp i 374 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 411 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument [all...] |
H A D | fdt_ro.c | 183 const char *name, int *lenp) 224 if (lenp) 225 *lenp = len; 239 if (lenp) 240 *lenp = err; 245 const char *name, int *lenp) 249 prop = fdt_get_property(fdt, nodeoffset, name, lenp); 181 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument 244 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/rep/ |
H A D | rep_auto.c | 17 __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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | writeback.h | 111 void __user *buffer, size_t *lenp, 114 void __user *buffer, size_t *lenp, 117 void __user *buffer, size_t *lenp, 120 void __user *buffer, size_t *lenp,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/appldata/ |
H A D | appldata_base.c | 54 void __user *buffer, size_t *lenp, loff_t *ppos); 57 size_t *lenp, loff_t *ppos); 250 void __user *buffer, size_t *lenp, loff_t *ppos) 255 if (!*lenp || *ppos) { 256 *lenp = 0; 261 if (len > *lenp) 262 len = *lenp; 267 len = *lenp; 279 *lenp = len; 292 void __user *buffer, size_t *lenp, loff_ 249 appldata_timer_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 291 appldata_interval_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 337 appldata_generic_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/ |
H A D | sysctl.c | 168 void __user *buffer, size_t *lenp, loff_t *ppos); 170 void __user *buffer, size_t *lenp, loff_t *ppos); 177 void __user *buffer, size_t *lenp, 182 error = proc_dointvec(table, write, buffer, lenp, ppos); 2019 size_t *lenp, loff_t *ppos) 2025 if (!data || !maxlen || !*lenp) { 2026 *lenp = 0; 2033 while (len < *lenp) { 2045 *ppos += *lenp; 2052 *lenp 176 sysrq_sysctl_handler(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2017 _proc_do_string(void* data, int maxlen, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2092 proc_dostring(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2245 __do_proc_dointvec(void *tbl_data, struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) argument 2331 do_proc_dointvec(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos, int (*conv)(bool *negp, unsigned long *lvalp, int *valp, int write, void *data), void *data) argument 2354 proc_dointvec(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2365 proc_taint(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2441 proc_dointvec_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2452 __do_proc_doulongvec_minmax(void *data, struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) argument 2532 do_proc_doulongvec_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) argument 2558 proc_doulongvec_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2581 proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2672 proc_dointvec_jiffies(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2694 proc_dointvec_userhz_jiffies(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2717 proc_dointvec_ms_jiffies(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2724 proc_do_cad_pid(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2763 proc_do_large_bitmap(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2899 proc_dostring(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2905 proc_dointvec(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2911 proc_dointvec_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2917 proc_dointvec_jiffies(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2923 proc_dointvec_userhz_jiffies(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2929 proc_dointvec_ms_jiffies(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2935 proc_doulongvec_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 2941 proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument [all...] |
H A D | utsname_sysctl.c | 46 void __user *buffer, size_t *lenp, loff_t *ppos) 52 r = proc_dostring(&uts_table,write,buffer,lenp, ppos); 45 proc_do_uts_string(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
|
H A D | hung_task.c | 175 size_t *lenp, loff_t *ppos) 179 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); 173 proc_dohung_task_timeout_secs(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/phonet/ |
H A D | sysctl.c | 61 size_t *lenp, loff_t *ppos) 73 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); 59 proc_local_port_range(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/mm/ |
H A D | cmm.c | 254 size_t *lenp, loff_t *ppos) 260 if (!*lenp || (*ppos && !write)) { 261 *lenp = 0; 266 len = *lenp; 283 if (len > *lenp) 284 len = *lenp; 288 *lenp = len; 294 size_t *lenp, loff_t *ppos) 300 if (!*lenp || (*ppos && !write)) { 301 *lenp 253 cmm_pages_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 293 cmm_timeout_handler(ctl_table *ctl, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/xprtrdma/ |
H A D | svc_rdma.c | 84 void __user *buffer, size_t *lenp, 102 *lenp = 0; 107 if (len > *lenp) 108 len = *lenp; 111 *lenp = len; 83 read_reset_stat(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/irda/ |
H A D | irsysctl.c | 77 void __user *buffer, size_t *lenp, loff_t *ppos) 81 ret = proc_dostring(table, write, buffer, lenp, ppos); 94 void __user *buffer, size_t *lenp, loff_t *ppos) 98 ret = proc_dointvec(table, write, buffer, lenp, ppos); 76 do_devname(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument 93 do_discovery(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ceph/ |
H A D | auth.c | 101 void *p = monhdr + 1, *end = buf + len, *lenp; local 112 lenp = p; 129 ceph_encode_32(&lenp, p - lenp - sizeof(u32));
|