| /linux-6.15/kernel/ |
| H A D | sysctl.c | 131 *lenp = 0; in _proc_do_string() 165 *lenp = 0; in _proc_do_string() 173 len = *lenp; in _proc_do_string() 180 *lenp = len; in _proc_do_string() 461 *lenp = 0; in __do_proc_dointvec() 467 left = *lenp; in __do_proc_dointvec() 547 left = *lenp; in do_proc_douintvec_w() 631 *lenp = 0; in __do_proc_douintvec() 643 *lenp = 0; in __do_proc_douintvec() 1009 *lenp = 0; in __do_proc_doulongvec_minmax() [all …]
|
| H A D | watchdog.c | 969 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_common() argument 997 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog() argument 1001 table, write, buffer, lenp, ppos); in proc_watchdog() 1008 void *buffer, size_t *lenp, loff_t *ppos) in proc_nmi_watchdog() argument 1013 table, write, buffer, lenp, ppos); in proc_nmi_watchdog() 1021 void *buffer, size_t *lenp, loff_t *ppos) in proc_soft_watchdog() argument 1024 table, write, buffer, lenp, ppos); in proc_soft_watchdog() 1032 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_thresh() argument 1039 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_thresh() 1055 void *buffer, size_t *lenp, loff_t *ppos) in proc_watchdog_cpumask() argument [all …]
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | xtlv.c | 48 put_unaligned_le16(len, lenp); in brcmf_xtlv_pack_header() 49 data_buf = lenp + sizeof(u16); in brcmf_xtlv_pack_header() 52 u8 *lenp = idp + 1; in brcmf_xtlv_pack_header() local 55 *lenp = (u8)len; in brcmf_xtlv_pack_header() 56 data_buf = lenp + sizeof(u8); in brcmf_xtlv_pack_header() 59 u8 *lenp = idp + 1; in brcmf_xtlv_pack_header() local 62 put_unaligned_le16(len, lenp); in brcmf_xtlv_pack_header() 63 data_buf = lenp + sizeof(u16); in brcmf_xtlv_pack_header() 66 u8 *lenp = idp + sizeof(u16); in brcmf_xtlv_pack_header() local 69 *lenp = (u8)len; in brcmf_xtlv_pack_header() [all …]
|
| /linux-6.15/scripts/dtc/libfdt/ |
| H A D | fdt_ro.c | 45 if (lenp) in fdt_get_string() 90 if (lenp) in fdt_get_string() 95 if (lenp) in fdt_get_string() 96 *lenp = err; in fdt_get_string() 368 if (lenp) in fdt_get_property_by_offset_() 375 if (lenp) in fdt_get_property_by_offset_() 389 if (lenp) in fdt_get_property_by_offset() 422 if (lenp) in fdt_get_property_namelen_() 436 if (lenp) in fdt_get_property_namelen() 816 if (lenp) in fdt_stringlist_get() [all …]
|
| H A D | libfdt.h | 687 int *lenp); 690 int *lenp) in fdt_get_property_by_offset_w() argument 714 int namelen, int *lenp); 746 const char *name, int *lenp); 749 int *lenp) in fdt_get_property_w() argument 788 const char **namep, int *lenp); 809 int *lenp) in fdt_getprop_namelen_w() argument 812 namelen, lenp); in fdt_getprop_namelen_w() 845 const char *name, int *lenp); 847 const char *name, int *lenp) in fdt_getprop_w() argument [all …]
|
| 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()
|
| /linux-6.15/drivers/parport/ |
| H A D | procfs.c | 48 *lenp = 0; in do_active_device() 63 len = *lenp; in do_active_device() 65 *lenp = len; in do_active_device() 85 *lenp = 0; in do_autoprobe() 105 len = *lenp; in do_autoprobe() 107 *lenp = len; in do_autoprobe() 124 *lenp = 0; in do_hardware_base_addr() 134 len = *lenp; in do_hardware_base_addr() 151 *lenp = 0; in do_hardware_irq() 178 *lenp = 0; in do_hardware_dma() [all …]
|
| /linux-6.15/net/sunrpc/ |
| H A D | sysctl.c | 44 void *buffer, size_t *lenp, loff_t *ppos) in proc_do_xprt() argument 50 *lenp = 0; in proc_do_xprt() 54 len = memory_read_from_buffer(buffer, *lenp, ppos, tmpbuf, len); in proc_do_xprt() 57 *lenp = 0; in proc_do_xprt() 60 *lenp = len; in proc_do_xprt() 65 proc_dodebug(const struct ctl_table *table, int write, void *buffer, size_t *lenp, in proc_dodebug() argument 73 if ((*ppos && !write) || !*lenp) { in proc_dodebug() 74 *lenp = 0; in proc_dodebug() 78 left = *lenp; in proc_dodebug() 121 *lenp -= left; in proc_dodebug() [all …]
|
| /linux-6.15/net/core/ |
| H A D | sysctl_net_core.c | 61 if (*ppos || !*lenp) { in dump_cpumask() 62 *lenp = 0; in dump_cpumask() 73 *lenp = 0; in dump_cpumask() 79 *lenp = 0; in dump_cpumask() 88 *lenp = len; in dump_cpumask() 116 void *buffer, size_t *lenp, loff_t *ppos) in rps_default_mask_sysctl() argument 137 err = dump_cpumask(buffer, lenp, ppos, in rps_default_mask_sysctl() 147 void *buffer, size_t *lenp, loff_t *ppos) in rps_sock_flow_sysctl() argument 219 void *buffer, size_t *lenp, loff_t *ppos) in flow_limit_cpu_sysctl() argument 267 ret = dump_cpumask(buffer, lenp, ppos, mask); in flow_limit_cpu_sysctl() [all …]
|
| /linux-6.15/net/sctp/ |
| H A D | sysctl.c | 47 void *buffer, size_t *lenp, loff_t *ppos); 49 void *buffer, size_t *lenp, loff_t *ppos); 51 size_t *lenp, loff_t *ppos); 53 size_t *lenp, loff_t *ppos); 55 void *buffer, size_t *lenp, loff_t *ppos); 57 void *buffer, size_t *lenp, loff_t *ppos); 388 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_hmac_alg() argument 434 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_rto_min() argument 462 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_rto_max() argument 490 void *buffer, size_t *lenp, loff_t *ppos) in proc_sctp_do_alpha_beta() argument [all …]
|
| /linux-6.15/arch/s390/mm/ |
| H A D | cmm.c | 263 void *buffer, size_t *lenp, loff_t *ppos) in cmm_pages_handler() argument 273 rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos); in cmm_pages_handler() 282 void *buffer, size_t *lenp, in cmm_timed_pages_handler() argument 302 void *buffer, size_t *lenp, loff_t *ppos) in cmm_timeout_handler() argument 308 if (!*lenp || (*ppos && !write)) { in cmm_timeout_handler() 309 *lenp = 0; in cmm_timeout_handler() 314 len = min(*lenp, sizeof(buf)); in cmm_timeout_handler() 322 *ppos += *lenp; in cmm_timeout_handler() 326 if (len > *lenp) in cmm_timeout_handler() 327 len = *lenp; in cmm_timeout_handler() [all …]
|
| /linux-6.15/arch/xtensa/boot/lib/ |
| H A D | zmem.c | 7 void gunzip(void *dst, int dstlen, unsigned char *src, int *lenp); 36 void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp) in gunzip() argument 58 if (i >= *lenp) { in gunzip() 70 s.avail_in = *lenp - i; in gunzip() 78 *lenp = s.next_out - (unsigned char *) dst; in gunzip()
|
| /linux-6.15/include/linux/ |
| H A D | sysctl.h | 65 size_t *lenp, loff_t *ppos); 69 size_t *lenp, loff_t *ppos); 74 size_t *lenp, loff_t *ppos); 76 size_t *lenp, loff_t *ppos); 79 void *buffer, size_t *lenp, loff_t *ppos); 89 size_t *lenp, loff_t *ppos); 239 void *buffer, size_t *lenp, loff_t *ppos, 289 size_t *lenp, loff_t *ppos);
|
| /linux-6.15/tools/perf/util/ |
| H A D | dump-insn.c | 10 int inlen __maybe_unused, int *lenp) in dump_insn() argument 12 if (lenp) in dump_insn() 13 *lenp = 0; in dump_insn()
|
| /linux-6.15/net/mptcp/ |
| H A D | ctrl.c | 131 void *buffer, size_t *lenp, loff_t *ppos) in proc_scheduler() argument 143 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_scheduler() 152 size_t *lenp, loff_t *ppos) in proc_available_schedulers() argument 162 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_available_schedulers() 169 int write, void *buffer, size_t *lenp, in proc_blackhole_detect_timeout() argument 201 void *buffer, size_t *lenp, loff_t *ppos) in proc_path_manager() argument 216 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_path_manager() 234 void *buffer, size_t *lenp, loff_t *ppos) in proc_pm_type() argument 241 ret = proc_dou8vec_minmax(ctl, write, buffer, lenp, ppos); in proc_pm_type() 258 size_t *lenp, loff_t *ppos) in proc_available_path_managers() argument [all …]
|
| /linux-6.15/arch/s390/appldata/ |
| H A D | appldata_base.c | 50 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) in appldata_timer_handler() argument 215 rc = proc_douintvec_minmax(&ctl_entry, write, buffer, lenp, ppos); in appldata_timer_handler() 236 void *buffer, size_t *lenp, loff_t *ppos) in appldata_interval_handler() argument 247 rc = proc_dointvec_minmax(&ctl_entry, write, buffer, lenp, ppos); in appldata_interval_handler() 266 void *buffer, size_t *lenp, loff_t *ppos) in appldata_generic_handler() argument 299 rc = proc_douintvec_minmax(&ctl_entry, write, buffer, lenp, ppos); in appldata_generic_handler()
|
| /linux-6.15/net/ipv4/ |
| H A D | sysctl_net_ipv4.c | 68 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_local_port_range() argument 102 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_privileged_ports() argument 165 void *buffer, size_t *lenp, loff_t *ppos) in ipv4_ping_group_range() argument 237 size_t *lenp, loff_t *ppos) in proc_tcp_available_congestion_control() argument 253 size_t *lenp, loff_t *ppos) in proc_allowed_congestion_control() argument 289 void *buffer, size_t *lenp, loff_t *ppos) in proc_tcp_fastopen_key() argument 361 size_t *lenp, loff_t *ppos) in proc_tfo_blackhole_detect_timeout() argument 375 int write, void *buffer, size_t *lenp, in proc_tcp_available_ulp() argument 440 void *buffer, size_t *lenp, in proc_fib_multipath_hash_policy() argument 455 void *buffer, size_t *lenp, in proc_fib_multipath_hash_fields() argument [all …]
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_sysctl.c | 17 size_t *lenp, in xfs_stats_clear_proc_handler() argument 22 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_stats_clear_proc_handler() 37 size_t *lenp, in xfs_panic_mask_proc_handler() argument 42 ret = proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_panic_mask_proc_handler() 58 size_t *lenp, in xfs_deprecated_dointvec_minmax() argument 66 return proc_dointvec_minmax(ctl, write, buffer, lenp, ppos); in xfs_deprecated_dointvec_minmax()
|
| /linux-6.15/scripts/dtc/ |
| H A D | util.c | 97 int lenp = strlen(path); in join_path() local 103 len = lenp + lenn + 2; in join_path() 104 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path() 110 memcpy(str, path, lenp); in join_path() 112 str[lenp] = '/'; in join_path() 113 lenp++; in join_path() 115 memcpy(str+lenp, name, lenn+1); in join_path()
|
| /linux-6.15/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma.c | 78 void *buffer, size_t *lenp, loff_t *ppos) in svcrdma_counter_handler() argument 95 *lenp = 0; in svcrdma_counter_handler() 99 if (len > *lenp) in svcrdma_counter_handler() 100 len = *lenp; in svcrdma_counter_handler() 103 *lenp = len; in svcrdma_counter_handler()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|