/freebsd/sys/kern/ |
H A D | kern_sysctl.c | 1905 if (req->oldptr != NULL) { in sysctl_handle_string() 2078 if (req->oldptr) { in sysctl_old_kernel() 2086 bcopy(p, (char *)req->oldptr + req->oldidx, i); in sysctl_old_kernel() 2089 if (req->oldptr && i != l) in sysctl_old_kernel() 2124 req.oldptr= old; in kernel_sysctl() 2139 vsunlock(req.oldptr, req.validlen); in kernel_sysctl() 2145 if (req.oldptr && req.oldidx > req.validlen) in kernel_sysctl() 2186 if (req->oldptr == NULL) in sysctl_old_user() 2204 error = copyout_nofault(p, (char *)req->oldptr + in sysctl_old_user() 2207 error = copyout(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 | 1585 if (req->oldptr == NULL) in sysctl_out_proc() 1772 if (req->oldptr == NULL) { in sysctl_kern_proc() 2995 if (req->oldptr != NULL) { in sysctl_kern_proc_rlimit()
|
H A D | kern_intr.c | 1636 if (!req->oldptr)
|
H A D | kern_descrip.c | 4399 if (req->oldptr == NULL) { in sysctl_kern_file() 4778 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_filedesc() 5014 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_cwd()
|
H A D | vfs_cache.c | 1057 if (req->oldptr == NULL) in sysctl_nchstats() 1142 if (req->oldptr == NULL) 1175 if (!req->oldptr) in sysctl_debug_hashstat_nchash()
|
/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 | 546 uintptr_t newptr, oldptr __diagused; in pmclog_reserve() 572 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve() 573 newptr = oldptr + length; in pmclog_reserve() 575 KASSERT(oldptr != (uintptr_t) NULL, in pmclog_reserve() 609 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve() 612 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 | 161 if (req->oldptr) { in sysctl_rule() 199 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() 3616 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_drop() 3734 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 | 1022 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 | 2061 if (req->oldptr != NULL) { in nfs_sysctl() 2090 if (req->oldptr != NULL) { in nfs_sysctl()
|