| /src/sys/kern/ |
| H A D | kern_sysctl.c | 1931 tmparg = req->oldptr != NULL ? arg1 : NULL; in sysctl_handle_string() 1936 if (req->oldptr != NULL) { in sysctl_handle_string() 2100 if (req->oldptr) { in sysctl_old_kernel() 2108 bcopy(p, (char *)req->oldptr + req->oldidx, i); in sysctl_old_kernel() 2111 if (req->oldptr && i != l) in sysctl_old_kernel() 2146 req.oldptr= old; in kernel_sysctl() 2161 vsunlock(req.oldptr, req.validlen); in kernel_sysctl() 2167 if (req.oldptr && req.oldidx > req.validlen) in kernel_sysctl() 2208 if (req->oldptr == NULL) in sysctl_old_user() 2226 error = copyout_nofault(p, (char *)req->oldptr + in sysctl_old_user() [all …]
|
| H A D | kern_clock.c | 104 if (!req->oldptr) in sysctl_kern_cp_time() 112 if (!req->oldptr) in sysctl_kern_cp_time() 136 if (!req->oldptr) { in sysctl_kern_cp_times()
|
| H A D | kern_jailmeta.c | 573 if (req->oldptr != NULL) { in jm_sysctl_env() 585 if (req->oldptr == NULL) in jm_sysctl_env()
|
| H A D | kern_mib.c | 276 if (len > req->oldlen && req->oldptr != NULL) in sysctl_hw_pagesizes() 283 if (len > req->oldlen && req->oldptr != NULL) in sysctl_hw_pagesizes()
|
| H A D | imgact_binmisc.c | 535 if (!req->oldptr) { in sysctl_kern_binmisc()
|
| H A D | kern_proc.c | 1591 if (req->oldptr == NULL) in sysctl_out_proc() 1778 if (req->oldptr == NULL) { in sysctl_kern_proc() 2991 if (req->oldptr != NULL) { in sysctl_kern_proc_rlimit()
|
| H A D | kern_intr.c | 1644 if (!req->oldptr) in sysctl_intrcnt()
|
| H A D | kern_descrip.c | 4640 if (req->oldptr == NULL) { in sysctl_kern_file() 5019 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_filedesc() 5255 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_cwd()
|
| /src/contrib/ncurses/ncurses/tinfo/ |
| H A D | alloc_ttype.c | 540 short *oldptr = NULL; in copy_termtype() local 595 TYPE_MALLOC(short, NUM_NUMBERS(dst), oldptr); in copy_termtype() 596 ((TERMTYPE *) dst)->Numbers = oldptr; in copy_termtype() 602 if ((mode == srcINT) && (oldptr != NULL)) { in copy_termtype() 606 oldptr[i] = MAX_OF_TYPE(short); in copy_termtype() 608 oldptr[i] = (short) src->Numbers[i]; in copy_termtype()
|
| /src/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()
|
| /src/sys/dev/hwpmc/ |
| H A D | hwpmc_logging.c | 547 uintptr_t newptr, oldptr __diagused; in pmclog_reserve() 573 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve() 574 newptr = oldptr + length; in pmclog_reserve() 576 KASSERT(oldptr != (uintptr_t) NULL, in pmclog_reserve() 610 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve() 613 return ((uint32_t *) oldptr); in pmclog_reserve()
|
| /src/sys/geom/ |
| H A D | geom_kern.c | 163 if (req->oldptr == NULL) { in sysctl_kern_geom_confany()
|
| /src/sys/security/mac_bsdextended/ |
| H A D | mac_bsdextended.c | 159 if (req->oldptr) { in sysctl_rule() 197 if (req->oldptr && error == 0) in sysctl_rule()
|
| /src/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()
|
| /src/sys/netinet/ |
| H A D | tcp_fastopen.c | 759 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_net_inet_tcp_fastopen_setkey() 782 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_net_inet_tcp_fastopen_setpsk()
|
| H A D | tcp_subr.c | 962 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info() 977 if (req->oldptr == NULL) { in sysctl_net_inet_list_func_info() 986 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info() 1008 if (req->oldptr == NULL) in sysctl_net_inet_list_func_info() 2631 if (req->oldptr == NULL) { in tcp_pcblist() 2800 if (req->oldptr == NULL) { in tcp_ktlslist_locked() 3891 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_drop() 4009 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_switch_tls()
|
| H A D | ip_divert.c | 651 if (req->oldptr == 0) { in div_pcblist()
|
| H A D | tcp_hostcache.c | 642 if (req->oldptr == NULL) { in sysctl_tcp_hc_list()
|
| H A D | raw_ip.c | 1034 if (req->oldptr == 0) { in rip_pcblist()
|
| H A D | sctp_sysctl.c | 398 if (req->oldptr == NULL) { in sctp_sysctl_handle_assoclist()
|
| /src/sys/vm/ |
| H A D | vm_meter.c | 171 if (req->oldptr == NULL) { in vmtotal()
|
| /src/sys/dev/ice/ |
| H A D | ice_lib.c | 4142 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_ets_min_rate() 4253 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_up2tc_map() 4394 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_config() 4461 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_mode() 6779 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_fw_debug_dump_do_dump() 6811 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_fw_debug_dump_do_dump() 10273 if (req->oldptr == NULL) { in ice_sysctl_read_i2c_diag_data() 11639 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_dscp2tc_map() 11967 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_create_mirror_interface() 11997 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_create_mirror_interface() [all …]
|
| /src/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 2076 if (req->oldptr != NULL) { in nfs_sysctl() 2105 if (req->oldptr != NULL) { in nfs_sysctl()
|