Searched refs:lenp (Results 1 - 25 of 135) sorted by path

123456

/linux-master/arch/sparc/include/asm/
H A Dmdesc.h40 u64 node, const char *name, int *lenp);
/linux-master/tools/perf/util/
H A Ddump-insn.c10 int inlen __maybe_unused, int *lenp)
12 if (lenp)
13 *lenp = 0;
8 dump_insn(struct perf_insn *x __maybe_unused, u64 ip __maybe_unused, u8 *inbuf __maybe_unused, int inlen __maybe_unused, int *lenp) argument
H A Ddump-insn.h22 u8 *inbuf, int inlen, int *lenp);
H A Dsrccode.h18 char *find_sourceline(char *fn, unsigned line, int *lenp);
/linux-master/tools/virtio/ringtest/
H A Dnoring.c23 void *get_buf(unsigned *lenp, void **bufp) argument
64 bool use_buf(unsigned *lenp, void **bufp) argument
H A Dptr_ring.c147 void *get_buf(unsigned *lenp, void **bufp) argument
197 bool use_buf(unsigned *lenp, void **bufp) argument
H A Dring.c143 void *get_buf(unsigned *lenp, void **bufp) argument
153 *lenp = ring[head].len;
226 bool use_buf(unsigned *lenp, void **bufp) argument
H A Dvirtio_ring_0_9.c152 void *get_buf(unsigned *lenp, void **bufp) argument
181 *lenp = ring.desc[index].len;
183 *lenp = ring.used->ring[head].len;
270 bool use_buf(unsigned *lenp, void **bufp) argument
301 *lenp = desc->len;
/linux-master/arch/arm64/kernel/
H A Darmv8_deprecated.c508 void *buffer, size_t *lenp,
516 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
507 emulation_proc_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
H A Dfpsimd.c539 void *buffer, size_t *lenp, loff_t *ppos)
550 ret = proc_dointvec(&tmp_table, write, buffer, lenp, ppos);
538 vec_proc_do_default_vl(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
/linux-master/arch/powerpc/platforms/cell/
H A Dspu_manage.c430 int lenp, i; local
436 vic_handles = of_get_property(spu_dn, "vicinity", &lenp);
437 for (i=0; i < (lenp / sizeof(phandle)); i++) {
451 int lenp, i, added; local
458 vic_handles = of_get_property(last_spu_dn, "vicinity", &lenp);
464 for (i = 0; i < (lenp / sizeof(phandle)); i++) {
/linux-master/arch/s390/appldata/
H A Dappldata_base.c50 void *buffer, size_t *lenp, loff_t *ppos);
52 void *buffer, size_t *lenp, loff_t *ppos);
203 void *buffer, size_t *lenp, loff_t *ppos)
215 rc = proc_douintvec_minmax(&ctl_entry, write, buffer, lenp, ppos);
236 void *buffer, size_t *lenp, loff_t *ppos)
247 rc = proc_dointvec_minmax(&ctl_entry, write, buffer, lenp, ppos);
266 void *buffer, size_t *lenp, loff_t *ppos)
299 rc = proc_douintvec_minmax(&ctl_entry, write, buffer, lenp, ppos);
202 appldata_timer_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
235 appldata_interval_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
265 appldata_generic_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
/linux-master/arch/s390/kernel/
H A Ddebug.c958 void *buffer, size_t *lenp, loff_t *ppos)
961 return proc_dointvec(table, write, buffer, lenp, ppos);
957 s390dbf_procactive(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
H A Dtopology.c604 void *buffer, size_t *lenp, loff_t *ppos)
617 rc = proc_douintvec_minmax(&ctl_entry, write, buffer, lenp, ppos);
603 topology_ctl_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
/linux-master/arch/s390/mm/
H A Dcmm.c247 void *buffer, size_t *lenp, loff_t *ppos)
257 rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos);
266 void *buffer, size_t *lenp,
277 rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos);
286 void *buffer, size_t *lenp, loff_t *ppos)
292 if (!*lenp || (*ppos && !write)) {
293 *lenp = 0;
298 len = min(*lenp, sizeof(buf));
306 *ppos += *lenp;
310 if (len > *lenp)
246 cmm_pages_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
265 cmm_timed_pages_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
285 cmm_timeout_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
/linux-master/arch/sparc/kernel/
H A Dmdesc.c659 const char *name, int *lenp)
694 if (lenp)
695 *lenp = len;
658 mdesc_get_property(struct mdesc_handle *hp, u64 node, const char *name, int *lenp) argument
/linux-master/arch/x86/kernel/
H A Ditmt.c42 void *buffer, size_t *lenp, loff_t *ppos)
55 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
41 sched_itmt_update_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
/linux-master/arch/xtensa/boot/lib/
H A Dzmem.c7 void gunzip(void *dst, int dstlen, unsigned char *src, int *lenp);
36 void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp) argument
58 if (i >= *lenp) {
70 s.avail_in = *lenp - i;
78 *lenp = s.next_out - (unsigned char *) dst;
/linux-master/drivers/block/
H A Drbd.c6232 * the lenp argument is a non-null pointer, the length of the token
6233 * (not including the '\0') is returned in *lenp.
6240 static inline char *dup_token(const char **buf, size_t *lenp) argument
6252 if (lenp)
6253 *lenp = len;
/linux-master/drivers/cdrom/
H A Dcdrom.c3477 void *buffer, size_t *lenp, loff_t *ppos)
3483 if (!*lenp || (*ppos && !write)) {
3484 *lenp = 0;
3553 return proc_dostring(ctl, write, buffer, lenp, ppos);
3590 void *buffer, size_t *lenp, loff_t *ppos)
3594 ret = proc_dointvec(ctl, write, buffer, lenp, ppos);
3476 cdrom_sysctl_info(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
3589 cdrom_sysctl_handler(struct ctl_table *ctl, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
/linux-master/drivers/char/
H A Drandom.c1608 size_t *lenp, loff_t *ppos)
1634 return proc_dostring(&fake_table, 0, buf, lenp, ppos);
1639 size_t *lenp, loff_t *ppos)
1641 return write ? 0 : proc_dointvec(table, 0, buf, lenp, ppos);
1607 proc_do_uuid(struct ctl_table *table, int write, void *buf, size_t *lenp, loff_t *ppos) argument
1638 proc_do_rointvec(struct ctl_table *table, int write, void *buf, size_t *lenp, loff_t *ppos) argument
/linux-master/drivers/cpufreq/
H A Dpmac32-cpufreq.c480 int lenp, rc; local
483 freqs = of_get_property(cpunode, "bus-frequencies", &lenp);
484 lenp /= sizeof(u32);
485 if (freqs == NULL || lenp != 2) {
/linux-master/drivers/crypto/nx/
H A Dnx.c363 unsigned int bytes_so_far, i, lenp; local
366 lenp = p->length;
374 while ((bytes_so_far + sizeof(struct max_sync_cop)) <= lenp) {
380 ((bytes_so_far + sizeof(struct msc_triplet)) <= lenp) &&
/linux-master/drivers/infiniband/hw/hfi1/
H A Dchip.c5238 static int append_str(char *buf, char **curp, int *lenp, const char *s) argument
5241 int len = *lenp;
5268 *lenp = len;
/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

Completed in 460 milliseconds

123456