Home
last modified time | relevance | path

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

12

/freebsd/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/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.c266 if (len > req->oldlen && req->oldptr != NULL) in sysctl_hw_pagesizes()
273 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.c1587 if (req->oldptr == NULL) in sysctl_out_proc()
1774 if (req->oldptr == NULL) { in sysctl_kern_proc()
2959 if (req->oldptr != NULL) { in sysctl_kern_proc_rlimit()
H A Dkern_intr.c1662 if (!req->oldptr) in sysctl_intrcnt()
H A Dkern_descrip.c4377 if (req->oldptr == NULL) { in sysctl_kern_file()
4756 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_filedesc()
4992 maxlen = req->oldptr != NULL ? req->oldlen : -1; in sysctl_kern_proc_cwd()
H A Dvfs_cache.c1057 if (req->oldptr == NULL) in sysctl_nchstats()
1122 if (req->oldptr == NULL) in sysctl_debug_hashstat_rawnchash()
1155 if (!req->oldptr) in sysctl_debug_hashstat_nchash()
/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.c542 uintptr_t newptr, oldptr __diagused; in pmclog_reserve()
568 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve()
569 newptr = oldptr + length; in pmclog_reserve()
571 KASSERT(oldptr != (uintptr_t) NULL, in pmclog_reserve()
605 oldptr = (uintptr_t) plb->plb_ptr; in pmclog_reserve()
608 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.c1001 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info()
1016 if (req->oldptr == NULL) { in sysctl_net_inet_list_func_info()
1025 if (req->oldptr != NULL) { in sysctl_net_inet_list_func_info()
1047 if (req->oldptr == NULL) in sysctl_net_inet_list_func_info()
2618 if (req->oldptr == NULL) { in tcp_pcblist()
3585 if (req->oldptr != NULL || req->oldlen != 0) in sysctl_drop()
3703 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.c170 if (req->oldptr == NULL) { in vmtotal()
/freebsd/sys/dev/ice/
H A Dice_lib.c4038 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_ets_min_rate()
4149 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_up2tc_map()
4289 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_config()
4356 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_pfc_mode()
6603 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_fw_debug_dump_do_dump()
6635 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_fw_debug_dump_do_dump()
10087 if (req->oldptr == NULL) { in ice_sysctl_read_i2c_diag_data()
10929 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_dscp2tc_map()
11256 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_create_mirror_interface()
11286 if (req->oldptr == NULL && req->newptr == NULL) { in ice_sysctl_create_mirror_interface()
[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