Home
last modified time | relevance | path

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

12

/freebsd/sys/kern/
H A Dkern_sysctl.c1905 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 Dkern_clock.c104 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 Dkern_mib.c276 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 Dimgact_binmisc.c535 if (!req->oldptr) { in sysctl_kern_binmisc()
H A Dkern_proc.c1585 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 Dkern_intr.c1636 if (!req->oldptr)
H A Dkern_descrip.c4399 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 Dvfs_cache.c1057 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 Dalloc_ttype.c535 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 Dhtu21.c193 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 Dmax44009.c115 if (req->oldptr != NULL) { in max44009_lux_sysctl()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_logging.c546 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 Dgeom_kern.c163 if (req->oldptr == NULL) { in sysctl_kern_geom_confany()
/freebsd/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c161 if (req->oldptr) { in sysctl_rule()
199 if (req->oldptr && error == 0) in sysctl_rule()
/freebsd/sys/dev/iicbus/adc/
H A Dpcf8591.c149 if (req->oldptr != NULL) { in pcf8591_channel_sysctl()
H A Dads111x.c313 if (req->oldptr != NULL) { in ads111x_sysctl_voltage()
/freebsd/sys/netinet/
H A Dtcp_fastopen.c760 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 Dtcp_subr.c950 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 Dip_divert.c648 if (req->oldptr == 0) { in div_pcblist()
H A Dtcp_hostcache.c643 if (req->oldptr == NULL) { in sysctl_tcp_hc_list()
H A Draw_ip.c1022 if (req->oldptr == 0) { in rip_pcblist()
H A Dsctp_sysctl.c394 if (req->oldptr == NULL) { in sctp_sysctl_handle_assoclist()
/freebsd/sys/vm/
H A Dvm_meter.c171 if (req->oldptr == NULL) { in vmtotal()
/freebsd/sys/dev/ice/
H A Dice_lib.c4115 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 Dnfs_clvfsops.c2061 if (req->oldptr != NULL) { in nfs_sysctl()
2090 if (req->oldptr != NULL) { in nfs_sysctl()

12