/freebsd/sys/kern/ |
H A D | kern_sysctl.c | 1907 tmparg = req->oldptr != NULL ? arg1 : NULL; in sysctl_handle_string() 1912 if (req->oldptr != NULL) { in sysctl_handle_string() 2076 if (req->oldptr) { in sysctl_old_kernel() 2084 bcopy(p, (char *)req->oldptr + req->oldidx, i); in sysctl_old_kernel() 2087 if (req->oldptr && i != l) in sysctl_old_kernel() 2122 req.oldptr= old; in kernel_sysctl() 2137 vsunlock(req.oldptr, req.validlen); in kernel_sysctl() 2143 if (req.oldptr && req.oldidx > req.validlen) in kernel_sysctl() 2184 if (req->oldptr == NULL) in sysctl_old_user() 2202 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_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 | 1586 if (req->oldptr == NULL) in sysctl_out_proc() 1773 if (req->oldptr == NULL) { in sysctl_kern_proc() 2983 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 | 4439 if (req->oldptr == NULL) { in sysctl_kern_file() 4818 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_filedesc() 5054 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_cwd()
|
/freebsd/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/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/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()
|
/freebsd/sys/geom/ |
H A D | geom_kern.c | 163 if (req->oldptr == NULL) { in sysctl_kern_geom_confany()
|
/freebsd/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()
|
/freebsd/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/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 | 950 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info() 965 if (req->oldptr == NULL) { in sysctl_net_inet_list_func_info() 974 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info() 996 if (req->oldptr == NULL) in sysctl_net_inet_list_func_info() 2626 if (req->oldptr == NULL) { in tcp_pcblist() 3620 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_drop() 3738 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_switch_tls()
|
H A D | ip_divert.c | 648 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 | 1038 if (req->oldptr == 0) { in rip_pcblist()
|
H A D | sctp_sysctl.c | 394 if (req->oldptr == NULL) { in sctp_sysctl_handle_assoclist()
|
/freebsd/sys/vm/ |
H A D | vm_meter.c | 171 if (req->oldptr == NULL) { in vmtotal()
|
/freebsd/sys/dev/ice/ |
H A D | ice_lib.c | 4115 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_up2tc_map() 4226 if (req->oldptr == NULL && req->newptr == NULL) { in ice_config_pfc() 4367 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_mode() 4434 if (req->oldptr == NULL && req->newptr == NULL) { 6752 if (req->oldptr == NULL && req->newptr == NULL) { in ice_add_debug_sysctls() 6784 if (req->oldptr == NULL && req->newptr == NULL) { in ice_add_debug_sysctls() 10271 if (req->oldptr == NULL) { 11636 if (req->oldptr == NULL && req->newptr == NULL) { 11964 if (req->oldptr == NULL && req->newptr == NULL) { 11994 if (req->oldptr [all...] |
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clvfsops.c | 2066 if (req->oldptr != NULL) { in nfs_sysctl() 2095 if (req->oldptr != NULL) { in nfs_sysctl()
|
/freebsd/sys/sys/ |
H A D | sysctl.h | 162 void *oldptr; member
|