/openbmc/qemu/system/ |
H A D | device_tree.c | 432 const char *property, int *lenp, Error **errp) in qemu_fdt_getprop() argument 437 if (!lenp) { in qemu_fdt_getprop() 438 lenp = &len; in qemu_fdt_getprop() 440 r = fdt_getprop(fdt, findnode_nofail(fdt, node_path), property, lenp); in qemu_fdt_getprop() 443 node_path, property, fdt_strerror(*lenp)); in qemu_fdt_getprop() 449 const char *property, int *lenp, Error **errp) in qemu_fdt_getprop_cell() argument 454 if (!lenp) { in qemu_fdt_getprop_cell() 455 lenp = &len; in qemu_fdt_getprop_cell() 457 p = qemu_fdt_getprop(fdt, node_path, property, lenp, errp); in qemu_fdt_getprop_cell() 460 } else if (*lenp != 4) { in qemu_fdt_getprop_cell() [all …]
|
/openbmc/linux/tools/virtio/ringtest/ |
H A D | noring.c | 23 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument 64 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument
|
H A D | virtio_ring_0_9.c | 152 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument 181 *lenp = ring.desc[index].len; in get_buf() 183 *lenp = ring.used->ring[head].len; in get_buf() 270 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument 301 *lenp = desc->len; in use_buf()
|
H A D | ring.c | 143 void *get_buf(unsigned *lenp, void **bufp) in get_buf() argument 153 *lenp = ring[head].len; in get_buf() 226 bool use_buf(unsigned *lenp, void **bufp) in use_buf() argument
|
/openbmc/linux/fs/fat/ |
H A D | nfs.c | 100 fat_encode_fh_nostale(struct inode *inode, __u32 *fh, int *lenp, in fat_encode_fh_nostale() argument 103 int len = *lenp; in fat_encode_fh_nostale() 111 *lenp = FAT_FID_SIZE_WITH_PARENT; in fat_encode_fh_nostale() 116 *lenp = FAT_FID_SIZE_WITHOUT_PARENT; in fat_encode_fh_nostale() 122 *lenp = FAT_FID_SIZE_WITHOUT_PARENT; in fat_encode_fh_nostale() 132 *lenp = FAT_FID_SIZE_WITH_PARENT; in fat_encode_fh_nostale()
|
/openbmc/linux/security/ |
H A D | min_addr.c | 33 void *buffer, size_t *lenp, loff_t *ppos) in mmap_min_addr_handler() argument 40 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in mmap_min_addr_handler()
|
/openbmc/linux/ipc/ |
H A D | ipc_sysctl.c | 21 void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec_minmax_orphans() argument 27 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_ipc_dointvec_minmax_orphans() 37 void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_auto_msgmni() argument 48 return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_auto_msgmni() 52 void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_sem_dointvec() argument 59 ret = proc_dointvec(table, write, buffer, lenp, ppos); in proc_ipc_sem_dointvec()
|
/openbmc/linux/scripts/dtc/libfdt/ |
H A D | fdt.c | 164 const fdt32_t *tagp, *lenp; in fdt_next_tag() local 188 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag() 189 if (!can_assume(VALID_DTB) && !lenp) in fdt_next_tag() 192 len = fdt32_to_cpu(*lenp); in fdt_next_tag()
|
/openbmc/linux/kernel/ |
H A D | pid_sysctl.h | 9 int write, void *buf, size_t *lenp, loff_t *ppos) in pid_mfd_noexec_dointvec_minmax() argument 28 err = proc_dointvec_minmax(&table_copy, write, buf, lenp, ppos); in pid_mfd_noexec_dointvec_minmax()
|
H A D | stackleak.c | 25 void __user *buffer, size_t *lenp, loff_t *ppos) in stack_erasing_sysctl() argument 33 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in stack_erasing_sysctl()
|
H A D | utsname_sysctl.c | 34 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_uts_string() argument 52 r = proc_dostring(&uts_table, write, buffer, lenp, ppos); in proc_do_uts_string()
|
/openbmc/linux/kernel/printk/ |
H A D | sysctl.c | 15 void *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_sysadmin() argument 20 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_sysadmin()
|
/openbmc/u-boot/drivers/misc/ |
H A D | swap_case.c | 261 phys_addr_t addr, unsigned long *lenp, void **ptrp) in sandbox_swap_case_map_physmem() argument 275 *lenp = 0; in sandbox_swap_case_map_physmem() 277 *lenp = min(*lenp, (ulong)avail); in sandbox_swap_case_map_physmem()
|
/openbmc/linux/net/phonet/ |
H A D | sysctl.c | 52 void *buffer, size_t *lenp, loff_t *ppos) in proc_local_port_range() argument 64 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_local_port_range()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | itmt.c | 42 void *buffer, size_t *lenp, loff_t *ppos) in sched_itmt_update_handler() argument 55 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in sched_itmt_update_handler()
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | spu_manage.c | 430 int lenp, i; in neighbour_spu() local 436 vic_handles = of_get_property(spu_dn, "vicinity", &lenp); in neighbour_spu() 437 for (i=0; i < (lenp / sizeof(phandle)); i++) { in neighbour_spu() 451 int lenp, i, added; in init_affinity_node() local 458 vic_handles = of_get_property(last_spu_dn, "vicinity", &lenp); in init_affinity_node() 464 for (i = 0; i < (lenp / sizeof(phandle)); i++) { in init_affinity_node()
|
/openbmc/linux/net/ceph/ |
H A D | auth.c | 124 void *p = monhdr + 1, *end = buf + len, *lenp; in ceph_auth_build_hello() local 136 lenp = p; in ceph_auth_build_hello() 153 ceph_encode_32(&lenp, p - lenp - sizeof(u32)); in ceph_auth_build_hello() 431 void *lenp; in ceph_auth_get_request() local 454 lenp = p; in ceph_auth_get_request() 463 ceph_encode_32(&lenp, p - lenp - 4); in ceph_auth_get_request()
|
/openbmc/linux/fs/nilfs2/ |
H A D | namei.c | 508 static int nilfs_encode_fh(struct inode *inode, __u32 *fh, int *lenp, in nilfs_encode_fh() argument 515 if (parent && *lenp < NILFS_FID_SIZE_CONNECTABLE) { in nilfs_encode_fh() 516 *lenp = NILFS_FID_SIZE_CONNECTABLE; in nilfs_encode_fh() 519 if (*lenp < NILFS_FID_SIZE_NON_CONNECTABLE) { in nilfs_encode_fh() 520 *lenp = NILFS_FID_SIZE_NON_CONNECTABLE; in nilfs_encode_fh() 532 *lenp = NILFS_FID_SIZE_CONNECTABLE; in nilfs_encode_fh() 535 *lenp = NILFS_FID_SIZE_NON_CONNECTABLE; in nilfs_encode_fh()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_hooks_lwtunnel.c | 32 void *buffer, size_t *lenp, loff_t *ppos) in nf_hooks_lwtunnel_sysctl_handler() argument 48 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in nf_hooks_lwtunnel_sysctl_handler()
|
/openbmc/qemu/include/sysemu/ |
H A D | device_tree.h | 104 const char *property, int *lenp, 118 const char *property, int *lenp,
|
/openbmc/u-boot/drivers/core/ |
H A D | of_access.c | 123 const char *name, int *lenp) in of_find_property() argument 132 if (lenp) in of_find_property() 133 *lenp = pp->length; in of_find_property() 137 if (!pp && lenp) in of_find_property() 138 *lenp = -FDT_ERR_NOTFOUND; in of_find_property() 166 int *lenp) in of_get_property() argument 168 struct property *pp = of_find_property(np, name, lenp); in of_get_property()
|
/openbmc/linux/mm/ |
H A D | util.c | 821 size_t *lenp, loff_t *ppos) in overcommit_ratio_handler() argument 825 ret = proc_dointvec(table, write, buffer, lenp, ppos); in overcommit_ratio_handler() 837 size_t *lenp, loff_t *ppos) in overcommit_policy_handler() argument 857 ret = proc_dointvec_minmax(&t, write, buffer, lenp, ppos); in overcommit_policy_handler() 866 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in overcommit_policy_handler() 873 size_t *lenp, loff_t *ppos) in overcommit_kbytes_handler() argument 877 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in overcommit_kbytes_handler()
|
/openbmc/linux/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-insn-decoder.c | 212 u8 *inbuf, int inlen, int *lenp) in dump_insn() argument 223 if (lenp) in dump_insn() 224 *lenp = insn.length; in dump_insn()
|
/openbmc/u-boot/arch/sandbox/lib/ |
H A D | pci_io.c | 16 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp, in pci_map_physmem() argument 30 ret = (ops->map_physmem)(dev, paddr, lenp, ptrp); in pci_map_physmem()
|
/openbmc/u-boot/include/dm/ |
H A D | of_access.h | 91 const char *name, int *lenp); 104 int *lenp);
|