| /freebsd-14.2/sys/kern/ |
| H A D | kern_sysctl.c | 1787 if (req->oldptr != NULL) { in sysctl_handle_string() 1960 if (req->oldptr) { in sysctl_old_kernel() 1971 if (req->oldptr && i != l) in sysctl_old_kernel() 2006 req.oldptr= old; in kernel_sysctl() 2021 vsunlock(req.oldptr, req.validlen); in kernel_sysctl() 2068 if (req->oldptr == NULL) in sysctl_old_user() 2126 if (req->lock != REQ_WIRED && req->oldptr && in sysctl_wire_old_buffer() 2129 ret = vslock(req->oldptr, wiredlen); in sysctl_wire_old_buffer() 2419 req.oldptr = old; in userland_sysctl() 2453 vsunlock(req.oldptr, req.validlen); in userland_sysctl() [all …]
|
| H A D | kern_clock.c | 106 if (!req->oldptr) in sysctl_kern_cp_time() 114 if (!req->oldptr) in sysctl_kern_cp_time() 138 if (!req->oldptr) { in sysctl_kern_cp_times()
|
| H A D | kern_mib.c | 272 if (len > req->oldlen && req->oldptr != NULL) in sysctl_hw_pagesizes() 279 if (len > req->oldlen && req->oldptr != NULL) in sysctl_hw_pagesizes()
|
| H A D | imgact_binmisc.c | 536 if (!req->oldptr) { in sysctl_kern_binmisc()
|
| H A D | kern_proc.c | 1592 if (req->oldptr == NULL) in sysctl_out_proc() 1779 if (req->oldptr == NULL) { in sysctl_kern_proc() 2998 if (req->oldptr != NULL) { in sysctl_kern_proc_rlimit()
|
| H A D | kern_intr.c | 1640 if (!req->oldptr) in sysctl_intrcnt()
|
| H A D | kern_descrip.c | 4401 if (req->oldptr == NULL) { in sysctl_kern_file() 4780 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_filedesc() 5016 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_cwd()
|
| /freebsd-14.2/contrib/ncurses/ncurses/tinfo/ |
| H A D | alloc_ttype.c | 535 short *oldptr = 0; in copy_termtype() local 590 TYPE_MALLOC(short, NUM_NUMBERS(dst), oldptr); in copy_termtype() 591 ((TERMTYPE *) dst)->Numbers = oldptr; in copy_termtype() 597 if ((mode == srcINT) && (oldptr != 0)) { in copy_termtype() 601 oldptr[i] = MAX_OF_TYPE(short); in copy_termtype() 603 oldptr[i] = (short) src->Numbers[i]; in copy_termtype()
|
| /freebsd-14.2/sys/dev/iicbus/sensor/ |
| H A D | htu21.c | 193 if (req->oldptr != NULL) { in htu21_temp_sysctl() 228 if (req->oldptr != NULL) { in htu21_rh_sysctl() 307 if (req->oldptr != NULL) { in htu21_heater_sysctl() 332 if (req->oldptr != NULL) { in htu21_power_sysctl()
|
| H A D | max44009.c | 115 if (req->oldptr != NULL) { in max44009_lux_sysctl()
|
| /freebsd-14.2/sys/dev/hwpmc/ |
| H A D | hwpmc_logging.c | 543 uintptr_t newptr, oldptr __diagused; in pmclog_reserve() 569 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve() 570 newptr = oldptr + length; in pmclog_reserve() 572 KASSERT(oldptr != (uintptr_t) NULL, in pmclog_reserve() 606 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve() 609 return ((uint32_t *) oldptr); in pmclog_reserve()
|
| /freebsd-14.2/sys/geom/ |
| H A D | geom_kern.c | 164 if (req->oldptr == NULL) { in sysctl_kern_geom_confany()
|
| /freebsd-14.2/sys/security/mac_bsdextended/ |
| H A D | mac_bsdextended.c | 161 if (req->oldptr) { in sysctl_rule() 199 if (req->oldptr && error == 0) in sysctl_rule()
|
| /freebsd-14.2/sys/dev/iicbus/adc/ |
| H A D | pcf8591.c | 149 if (req->oldptr != NULL) { in pcf8591_channel_sysctl()
|
| H A D | ads111x.c | 313 if (req->oldptr != NULL) { in ads111x_sysctl_voltage()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | tcp_fastopen.c | 760 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_net_inet_tcp_fastopen_setkey() 783 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_net_inet_tcp_fastopen_setpsk()
|
| H A D | tcp_subr.c | 994 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info() 1009 if (req->oldptr == NULL) { in sysctl_net_inet_list_func_info() 1018 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info() 1040 if (req->oldptr == NULL) in sysctl_net_inet_list_func_info() 2679 if (req->oldptr == NULL) { in tcp_pcblist() 3646 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_drop() 3764 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_switch_tls()
|
| H A D | ip_divert.c | 656 if (req->oldptr == 0) { in div_pcblist()
|
| H A D | tcp_hostcache.c | 643 if (req->oldptr == NULL) { in sysctl_tcp_hc_list()
|
| H A D | raw_ip.c | 1013 if (req->oldptr == 0) { in rip_pcblist()
|
| H A D | sctp_sysctl.c | 394 if (req->oldptr == NULL) { in sctp_sysctl_handle_assoclist()
|
| H A D | udp_usrreq.c | 764 if (req->oldptr == 0) { in udp_pcblist()
|
| /freebsd-14.2/sys/vm/ |
| H A D | vm_meter.c | 173 if (req->oldptr == NULL) { in vmtotal()
|
| /freebsd-14.2/sys/dev/ice/ |
| H A D | ice_lib.c | 4115 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_ets_min_rate() 4226 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_up2tc_map() 4367 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_config() 4434 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_mode() 6752 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_fw_debug_dump_do_dump() 6784 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_fw_debug_dump_do_dump() 10271 if (req->oldptr == NULL) { in ice_sysctl_read_i2c_diag_data() 11636 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_dscp2tc_map() 11964 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_create_mirror_interface() 11994 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_create_mirror_interface() [all …]
|
| /freebsd-14.2/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 2061 if (req->oldptr != NULL) { in nfs_sysctl() 2090 if (req->oldptr != NULL) { in nfs_sysctl()
|