Home
last modified time | relevance | path

Searched refs:oldptr (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dalloc_ttype.c527 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 Dkern_sysctl.c1798 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 Dkern_clock.c112 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 Dkern_mib.c270 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 Dimgact_binmisc.c503 if (!req->oldptr) { in sysctl_kern_binmisc()
H A Dkern_proc.c1559 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 Dkern_intr.c1628 if (!req->oldptr) in sysctl_intrcnt()
H A Dkern_descrip.c4312 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 Dvfs_cache.c984 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 Dhtu21.c195 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 Dmax44009.c117 if (req->oldptr != NULL) { in max44009_lux_sysctl()
H A Dpcf8591.c151 if (req->oldptr != NULL) { in pcf8591_channel_sysctl()
H A Dads111x.c315 if (req->oldptr != NULL) { in ads111x_sysctl_voltage()
/freebsd-13.1/sys/dev/hwpmc/
H A Dhwpmc_logging.c553 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 Dgeom_kern.c166 if (req->oldptr == NULL) { in sysctl_kern_geom_confany()
/freebsd-13.1/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c163 if (req->oldptr) { in sysctl_rule()
201 if (req->oldptr && error == 0) in sysctl_rule()
/freebsd-13.1/sys/netinet/
H A Dtcp_subr.c903 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 Dtcp_fastopen.c761 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 Dip_divert.c720 if (req->oldptr == 0) { in div_pcblist()
H A Dtcp_hostcache.c657 if (req->oldptr == NULL) { in sysctl_tcp_hc_list()
H A Draw_ip.c1131 if (req->oldptr == 0) { in rip_pcblist()
H A Dsctp_sysctl.c366 if (req->oldptr == NULL) { in sctp_sysctl_handle_assoclist()
/freebsd-13.1/sys/vm/
H A Dvm_meter.c175 if (req->oldptr == NULL) { in vmtotal()
/freebsd-13.1/sys/fs/nfsclient/
H A Dnfs_clvfsops.c1956 if (req->oldptr != NULL) { in nfs_sysctl()
1985 if (req->oldptr != NULL) { in nfs_sysctl()
/freebsd-13.1/sys/sys/
H A Dsysctl.h170 void *oldptr; member

12