| /freebsd-13.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | alloc_ttype.c | 527 short *oldptr = 0; in copy_termtype() local 547 TYPE_MALLOC(short, NUM_NUMBERS(dst), oldptr); in copy_termtype() 548 ((TERMTYPE *) dst)->Numbers = oldptr; in copy_termtype() 554 if ((mode == srcINT) && (oldptr != 0)) { in copy_termtype() 558 oldptr[i] = MAX_OF_TYPE(short); in copy_termtype() 560 oldptr[i] = (short) src->Numbers[i]; in copy_termtype()
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_sysctl.c | 1798 if (req->oldptr != NULL) { in sysctl_handle_string() 1977 if (req->oldptr) { in sysctl_old_kernel() 1988 if (req->oldptr && i != l) in sysctl_old_kernel() 2023 req.oldptr= old; in kernel_sysctl() 2038 vsunlock(req.oldptr, req.validlen); in kernel_sysctl() 2085 if (req->oldptr == NULL) in sysctl_old_user() 2143 if (req->lock != REQ_WIRED && req->oldptr && in sysctl_wire_old_buffer() 2146 ret = vslock(req->oldptr, wiredlen); in sysctl_wire_old_buffer() 2437 req.oldptr = old; in userland_sysctl() 2471 vsunlock(req.oldptr, req.validlen); in userland_sysctl() [all …]
|
| H A D | kern_clock.c | 112 if (!req->oldptr) in sysctl_kern_cp_time() 120 if (!req->oldptr) in sysctl_kern_cp_time() 144 if (!req->oldptr) { in sysctl_kern_cp_times()
|
| H A D | kern_mib.c | 270 if (len > req->oldlen && req->oldptr != NULL) in sysctl_hw_pagesizes() 277 if (len > req->oldlen && req->oldptr != NULL) in sysctl_hw_pagesizes()
|
| H A D | imgact_binmisc.c | 503 if (!req->oldptr) { in sysctl_kern_binmisc()
|
| H A D | kern_proc.c | 1559 if (req->oldptr == NULL) in sysctl_out_proc() 1746 if (req->oldptr == NULL) { in sysctl_kern_proc() 2932 if (req->oldptr != NULL) { in sysctl_kern_proc_rlimit()
|
| H A D | kern_intr.c | 1628 if (!req->oldptr) in sysctl_intrcnt()
|
| H A D | kern_descrip.c | 4312 if (req->oldptr == NULL) { in sysctl_kern_file() 4686 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_filedesc() 4922 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_cwd()
|
| H A D | vfs_cache.c | 984 if (req->oldptr == NULL) in sysctl_nchstats() 1049 if (req->oldptr == NULL) in sysctl_debug_hashstat_rawnchash() 1082 if (!req->oldptr) in sysctl_debug_hashstat_nchash()
|
| /freebsd-13.1/sys/dev/iicbus/ |
| H A D | htu21.c | 195 if (req->oldptr != NULL) { in htu21_temp_sysctl() 230 if (req->oldptr != NULL) { in htu21_rh_sysctl() 311 if (req->oldptr != NULL) { in htu21_heater_sysctl() 338 if (req->oldptr != NULL) { in htu21_power_sysctl()
|
| H A D | max44009.c | 117 if (req->oldptr != NULL) { in max44009_lux_sysctl()
|
| H A D | pcf8591.c | 151 if (req->oldptr != NULL) { in pcf8591_channel_sysctl()
|
| H A D | ads111x.c | 315 if (req->oldptr != NULL) { in ads111x_sysctl_voltage()
|
| /freebsd-13.1/sys/dev/hwpmc/ |
| H A D | hwpmc_logging.c | 553 uintptr_t newptr, oldptr __diagused; in pmclog_reserve() 579 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve() 580 newptr = oldptr + length; in pmclog_reserve() 582 KASSERT(oldptr != (uintptr_t) NULL, in pmclog_reserve() 616 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve() 619 return ((uint32_t *) oldptr); in pmclog_reserve()
|
| /freebsd-13.1/sys/geom/ |
| H A D | geom_kern.c | 166 if (req->oldptr == NULL) { in sysctl_kern_geom_confany()
|
| /freebsd-13.1/sys/security/mac_bsdextended/ |
| H A D | mac_bsdextended.c | 163 if (req->oldptr) { in sysctl_rule() 201 if (req->oldptr && error == 0) in sysctl_rule()
|
| /freebsd-13.1/sys/netinet/ |
| H A D | tcp_subr.c | 903 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info() 918 if (req->oldptr == NULL) { in sysctl_net_inet_list_func_info() 927 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info() 949 if (req->oldptr == NULL) in sysctl_net_inet_list_func_info() 2633 if (req->oldptr == NULL) { in tcp_pcblist() 3601 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_drop() 3717 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_switch_tls()
|
| H A D | tcp_fastopen.c | 761 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_net_inet_tcp_fastopen_setkey() 784 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_net_inet_tcp_fastopen_setpsk()
|
| H A D | ip_divert.c | 720 if (req->oldptr == 0) { in div_pcblist()
|
| H A D | tcp_hostcache.c | 657 if (req->oldptr == NULL) { in sysctl_tcp_hc_list()
|
| H A D | raw_ip.c | 1131 if (req->oldptr == 0) { in rip_pcblist()
|
| H A D | sctp_sysctl.c | 366 if (req->oldptr == NULL) { in sctp_sysctl_handle_assoclist()
|
| /freebsd-13.1/sys/vm/ |
| H A D | vm_meter.c | 175 if (req->oldptr == NULL) { in vmtotal()
|
| /freebsd-13.1/sys/fs/nfsclient/ |
| H A D | nfs_clvfsops.c | 1956 if (req->oldptr != NULL) { in nfs_sysctl() 1985 if (req->oldptr != NULL) { in nfs_sysctl()
|
| /freebsd-13.1/sys/sys/ |
| H A D | sysctl.h | 170 void *oldptr; member
|