Home
last modified time | relevance | path

Searched refs:newptr (Results 1 – 25 of 179) sorted by relevance

12345678

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-fpa.h257 cvmx_addr_t newptr; in cvmx_fpa_free_nosync() local
258 newptr.u64 = cvmx_ptr_to_phys(ptr); in cvmx_fpa_free_nosync()
259 newptr.sfilldidspace.didspace = CVMX_ADDR_DIDSPACE(CVMX_FULL_DID(CVMX_OCT_DID_FPA,pool)); in cvmx_fpa_free_nosync()
262 cvmx_write_io(newptr.u64, num_cache_lines); in cvmx_fpa_free_nosync()
276 cvmx_addr_t newptr; in cvmx_fpa_free() local
277 newptr.u64 = cvmx_ptr_to_phys(ptr); in cvmx_fpa_free()
278 newptr.sfilldidspace.didspace = CVMX_ADDR_DIDSPACE(CVMX_FULL_DID(CVMX_OCT_DID_FPA,pool)); in cvmx_fpa_free()
284 cvmx_write_io(newptr.u64, num_cache_lines); in cvmx_fpa_free()
/f-stack/app/redis-5.0.5/src/
H A Dzmalloc.c149 void *newptr; in zrealloc() local
154 newptr = realloc(ptr,size); in zrealloc()
155 if (!newptr) zmalloc_oom_handler(size); in zrealloc()
158 update_zmalloc_stat_alloc(zmalloc_size(newptr)); in zrealloc()
159 return newptr; in zrealloc()
163 newptr = realloc(realptr,size+PREFIX_SIZE); in zrealloc()
164 if (!newptr) zmalloc_oom_handler(size); in zrealloc()
166 *((size_t*)newptr) = size; in zrealloc()
169 return (char*)newptr+PREFIX_SIZE; in zrealloc()
H A Ddefrag.c60 void *newptr; in activeDefragAlloc() local
76 newptr = zmalloc_no_tcache(size); in activeDefragAlloc()
77 memcpy(newptr, ptr, size); in activeDefragAlloc()
79 return newptr; in activeDefragAlloc()
89 void* newptr = activeDefragAlloc(ptr); in activeDefragSds() local
90 if (newptr) { in activeDefragSds()
92 sdsptr = (char*)newptr + offset; in activeDefragSds()
290 void *newptr, *ptr = dictGetVal(de); in activeDefragSdsDict() local
292 de->v.val = newptr, defragged++; in activeDefragSdsDict()
326 void *newptr, *ptr = ln->value; in activeDefragList() local
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dsysctl_os.c236 if (err != 0 || req->newptr == NULL) in sysctl_vfs_zfs_arc_no_grow_shift()
257 if (err != 0 || req->newptr == NULL) in param_set_arc_long()
271 if (err != 0 || req->newptr == NULL) in param_set_arc_int()
441 if (err != 0 || req->newptr == NULL) in sysctl_vfs_zfs_debug_flags()
469 if (err != 0 || req->newptr == NULL) in param_set_deadman_synctime()
486 if (err != 0 || req->newptr == NULL) in param_set_deadman_ziotime()
501 if (req->newptr == NULL) in param_set_deadman_failmode()
505 if (rc || req->newptr == NULL) in param_set_deadman_failmode()
535 if (err != 0 || req->newptr == NULL) in param_set_min_auto_ashift()
554 if (err != 0 || req->newptr == NULL) in param_set_max_auto_ashift()
[all …]
/f-stack/freebsd/netgraph/bluetooth/common/
H A Dng_bluetooth.c80 if (error == 0 && req->newptr != NULL) { in bluetooth_set_hci_command_timeout_value()
104 if (error == 0 && req->newptr != NULL) { in bluetooth_set_hci_connect_timeout_value()
139 if (error == 0 && req->newptr != NULL) { in bluetooth_set_l2cap_rtx_timeout_value()
164 if (error == 0 && req->newptr != NULL) { in bluetooth_set_l2cap_ertx_timeout_value()
242 if (error == 0 && req->newptr != NULL) { in bluetooth_set_sco_rtx_timeout_value()
/f-stack/freebsd/kern/
H A Dkern_osd.c98 void *newptr; in osd_register() local
130 newptr = malloc(sizeof(osd_destructor_t) * in osd_register()
133 bcopy(osdm[type].osd_destructors, newptr, in osd_register()
136 osdm[type].osd_destructors = newptr; in osd_register()
229 void **newptr; in osd_set_reserved() local
250 newptr = rsv; in osd_set_reserved()
252 memcpy(newptr, osd->osd_slots, in osd_set_reserved()
257 newptr = realloc(osd->osd_slots, sizeof(void *) * slot, in osd_set_reserved()
259 if (newptr == NULL) { in osd_set_reserved()
276 osd->osd_slots = newptr; in osd_set_reserved()
H A Dkern_sysctl.c247 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
254 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
261 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
268 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
275 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
282 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
289 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
296 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
303 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
310 req.newptr = data; in sysctl_load_tunable_by_oid_locked()
[all …]
H A Dsubr_kdb.c174 if (error != 0 || req->newptr == NULL) in kdb_sysctl_current()
191 if (error != 0 || req->newptr == NULL) in kdb_sysctl_enter()
209 if (error != 0 || req->newptr == NULL) in kdb_sysctl_panic()
223 if (error != 0 || req->newptr == NULL) in kdb_sysctl_panic_str()
240 if (error != 0 || req->newptr == NULL) in kdb_sysctl_trap()
256 if (error != 0 || req->newptr == NULL) in kdb_sysctl_trap_code()
284 if (error != 0 || req->newptr == NULL) in kdb_sysctl_stack_overflow()
H A Dkern_ktr.c124 if (error != 0 || req->newptr == NULL) in sysctl_debug_ktr_cpumask()
144 if (error || !req->newptr) in sysctl_debug_ktr_clear()
171 if (error || !req->newptr) in sysctl_debug_ktr_mask()
220 if (error || !req->newptr) in sysctl_debug_ktr_entries()
289 if (error || !req->newptr) in sysctl_debug_ktr_alq_enable()
H A Dsubr_counter.c84 if (error || !req->newptr) in sysctl_handle_counter_u64()
108 if (error || !req->newptr) in sysctl_handle_counter_u64_array()
H A Dkern_poll.c120 if (error || !req->newptr ) in poll_burst_max_sysctl()
146 if (error || !req->newptr ) in poll_each_burst_sysctl()
177 if (error || !req->newptr ) in user_frac_sysctl()
201 if (error || !req->newptr ) in reg_frac_sysctl()
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2835_pwm.c209 if (error != 0 || req->newptr == NULL) in bcm_pwm_mode_proc()
227 if (error != 0 || req->newptr == NULL) in bcm_pwm_freq_proc()
243 if (error != 0 || req->newptr == NULL) in bcm_pwm_period_proc()
258 if (error != 0 || req->newptr == NULL) in bcm_pwm_ratio_proc()
293 if (error != 0 || req->newptr == NULL) in bcm_pwm_mode2_proc()
309 if (error != 0 || req->newptr == NULL) in bcm_pwm_period2_proc()
324 if (error != 0 || req->newptr == NULL) in bcm_pwm_ratio2_proc()
344 if (error != 0 || req->newptr == NULL) in bcm_pwm_reg_proc()
H A Dbcm2835_cpufreq.c660 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_arm_freq()
693 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_core_freq()
727 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_sdram_freq()
759 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_turbo()
795 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_voltage_core()
832 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_voltage_sdram_c()
870 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_voltage_sdram_i()
907 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_voltage_sdram_p()
936 if (!req->newptr) in sysctl_bcm2835_cpufreq_voltage_sdram()
991 if (err || !req->newptr) /* error || read request */ in sysctl_bcm2835_cpufreq_temperature()
[all …]
/f-stack/freebsd/netinet/cc/
H A Dcc_hd.c188 if (error == 0 && req->newptr != NULL) { in hd_pmax_handler()
206 if (error == 0 && req->newptr != NULL) { in hd_qmin_handler()
224 if (error == 0 && req->newptr != NULL) { in hd_qthresh_handler()
H A Dcc_chd.c421 if (error == 0 && req->newptr != NULL) { in chd_loss_fair_handler()
439 if (error == 0 && req->newptr != NULL) { in chd_pmax_handler()
457 if (error == 0 && req->newptr != NULL) { in chd_qthresh_handler()
H A Dcc_dctcp.c404 if (error == 0 && req->newptr != NULL) { in dctcp_alpha_handler()
422 if (error == 0 && req->newptr != NULL) { in dctcp_shift_g_handler()
440 if (error == 0 && req->newptr != NULL) { in dctcp_slowstart_handler()
H A Dcc_vegas.c260 if (error == 0 && req->newptr != NULL) { in vegas_alpha_handler()
278 if (error == 0 && req->newptr != NULL) { in vegas_beta_handler()
/f-stack/freebsd/net/
H A Dif_mib.c123 if (error || !req->newptr) in sysctl_ifdata()
140 if (error == 0 && req->newptr != NULL) in sysctl_ifdata()
/f-stack/freebsd/netinet/
H A Dip_id.c162 if (error || req->newptr == NULL) in sysctl_ip_randomid()
182 if (error == 0 && req->newptr) { in sysctl_ip_id_change()
H A Dtcp_fastopen.c671 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_fastopen_autokey()
699 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_fastopen_psk_enable()
726 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_fastopen_server_enable()
765 if (req->newptr == NULL) in sysctl_net_inet_tcp_fastopen_setkey()
788 if (req->newptr == NULL) in sysctl_net_inet_tcp_fastopen_setpsk()
813 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_fastopen_ccache_bucket_limit()
839 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_fastopen_client_enable()
H A Dsctp_sysctl.c390 if (req->newptr != NULL) { in sctp_sysctl_handle_assoclist()
576 (req->newptr != NULL)) {
608 (req->newptr != NULL)) {
634 (req->newptr != NULL)) {
662 if ((req->newptr != NULL) &&
668 if (req->newptr != NULL) {
801 if (req->newptr != NULL) {
811 if (req->newptr != NULL) {
847 if ((error == 0) && (req->newptr != NULL)) { \
/f-stack/freebsd/i386/i386/
H A Dlongrun.c207 if (error || !req->newptr) { in tmx86_longrun_sysctl()
247 if ((error != 0) || (req->newptr == NULL)) in tmx86_longrun_profile_sysctl()
H A Dmp_clock.c76 if (error == 0 && req->newptr != NULL) { in sysctl_machdep_piix_freq()
/f-stack/freebsd/x86/x86/
H A Dcpu_machdep.c749 if (error != 0 || req->newptr == NULL) in cpu_idle_sysctl()
889 if (error != 0 || req->newptr == NULL) in hw_ibrs_disable_handler()
960 if (error != 0 || req->newptr == NULL) in hw_ssb_disable_handler()
1175 if (error != 0 || req->newptr == NULL) in sysctl_mds_disable_handler()
1320 if (error != 0 || req->newptr == NULL) in sysctl_taa_handler()
1396 if (error != 0 || req->newptr == NULL) in sysctl_rngds_mitg_enable_handler()
/f-stack/freebsd/arm/ti/am335x/
H A Dam335x_ehrpwm.c337 if (error != 0 || req->newptr == NULL) in am335x_ehrpwm_sysctl_freq()
386 if (error != 0 || req->newptr == NULL) in am335x_ehrpwm_sysctl_clkdiv()
419 if (error != 0 || req->newptr == NULL) in am335x_ehrpwm_sysctl_duty()
451 if (error != 0 || req->newptr == NULL) in am335x_ehrpwm_sysctl_period()

12345678