Home
last modified time | relevance | path

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

12

/src/sys/kern/
H A Dkern_sysctl.c1931 tmparg = req->oldptr != NULL ? arg1 : NULL; in sysctl_handle_string()
1936 if (req->oldptr != NULL) { in sysctl_handle_string()
2100 if (req->oldptr) { in sysctl_old_kernel()
2108 bcopy(p, (char *)req->oldptr + req->oldidx, i); in sysctl_old_kernel()
2111 if (req->oldptr && i != l) in sysctl_old_kernel()
2146 req.oldptr= old; in kernel_sysctl()
2161 vsunlock(req.oldptr, req.validlen); in kernel_sysctl()
2167 if (req.oldptr && req.oldidx > req.validlen) in kernel_sysctl()
2208 if (req->oldptr == NULL) in sysctl_old_user()
2226 error = copyout_nofault(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_jailmeta.c573 if (req->oldptr != NULL) { in jm_sysctl_env()
585 if (req->oldptr == NULL) in jm_sysctl_env()
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.c1591 if (req->oldptr == NULL) in sysctl_out_proc()
1778 if (req->oldptr == NULL) { in sysctl_kern_proc()
2991 if (req->oldptr != NULL) { in sysctl_kern_proc_rlimit()
H A Dkern_intr.c1644 if (!req->oldptr) in sysctl_intrcnt()
H A Dkern_descrip.c4640 if (req->oldptr == NULL) { in sysctl_kern_file()
5019 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_filedesc()
5255 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_cwd()
/src/contrib/ncurses/ncurses/tinfo/
H A Dalloc_ttype.c540 short *oldptr = NULL; in copy_termtype() local
595 TYPE_MALLOC(short, NUM_NUMBERS(dst), oldptr); in copy_termtype()
596 ((TERMTYPE *) dst)->Numbers = oldptr; in copy_termtype()
602 if ((mode == srcINT) && (oldptr != NULL)) { in copy_termtype()
606 oldptr[i] = MAX_OF_TYPE(short); in copy_termtype()
608 oldptr[i] = (short) src->Numbers[i]; in copy_termtype()
/src/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()
/src/sys/dev/hwpmc/
H A Dhwpmc_logging.c547 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()
/src/sys/geom/
H A Dgeom_kern.c163 if (req->oldptr == NULL) { in sysctl_kern_geom_confany()
/src/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c159 if (req->oldptr) { in sysctl_rule()
197 if (req->oldptr && error == 0) in sysctl_rule()
/src/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()
/src/sys/netinet/
H A Dtcp_fastopen.c759 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_net_inet_tcp_fastopen_setkey()
782 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_net_inet_tcp_fastopen_setpsk()
H A Dtcp_subr.c962 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info()
977 if (req->oldptr == NULL) { in sysctl_net_inet_list_func_info()
986 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info()
1008 if (req->oldptr == NULL) in sysctl_net_inet_list_func_info()
2631 if (req->oldptr == NULL) { in tcp_pcblist()
2800 if (req->oldptr == NULL) { in tcp_ktlslist_locked()
3891 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_drop()
4009 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_switch_tls()
H A Dip_divert.c651 if (req->oldptr == 0) { in div_pcblist()
H A Dtcp_hostcache.c642 if (req->oldptr == NULL) { in sysctl_tcp_hc_list()
H A Draw_ip.c1034 if (req->oldptr == 0) { in rip_pcblist()
H A Dsctp_sysctl.c398 if (req->oldptr == NULL) { in sctp_sysctl_handle_assoclist()
/src/sys/vm/
H A Dvm_meter.c171 if (req->oldptr == NULL) { in vmtotal()
/src/sys/dev/ice/
H A Dice_lib.c4142 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_ets_min_rate()
4253 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_up2tc_map()
4394 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_config()
4461 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_mode()
6779 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_fw_debug_dump_do_dump()
6811 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_fw_debug_dump_do_dump()
10273 if (req->oldptr == NULL) { in ice_sysctl_read_i2c_diag_data()
11639 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_dscp2tc_map()
11967 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_create_mirror_interface()
11997 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_create_mirror_interface()
[all …]
/src/sys/fs/nfsclient/
H A Dnfs_clvfsops.c2076 if (req->oldptr != NULL) { in nfs_sysctl()
2105 if (req->oldptr != NULL) { in nfs_sysctl()

12