Home
last modified time | relevance | path

Searched refs:old (Results 326 - 350 of 3948) sorted by relevance

1...<<11121314151617181920>>...158

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c327 struct dpu_core_perf_params *new, *old; in dpu_core_perf_crtc_update() local
352 old = &dpu_crtc->cur_perf; in dpu_core_perf_crtc_update()
363 if ((params_changed && ((new->bw_ctl > old->bw_ctl) || in dpu_core_perf_crtc_update()
364 (new->max_per_pipe_ib > old->max_per_pipe_ib))) || in dpu_core_perf_crtc_update()
365 (!params_changed && ((new->bw_ctl < old->bw_ctl) || in dpu_core_perf_crtc_update()
366 (new->max_per_pipe_ib < old->max_per_pipe_ib)))) { in dpu_core_perf_crtc_update()
369 new->bw_ctl, old->bw_ctl); in dpu_core_perf_crtc_update()
370 old->bw_ctl = new->bw_ctl; in dpu_core_perf_crtc_update()
371 old->max_per_pipe_ib = new->max_per_pipe_ib; in dpu_core_perf_crtc_update()
376 (new->core_clk_rate > old in dpu_core_perf_crtc_update()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dtc_conntrack.c283 struct efx_tc_ct_entry *conn, *old; in efx_tc_ct_replace() local
298 old = rhashtable_lookup_get_insert_fast(&efx->tc->ct_ht, in efx_tc_ct_replace()
301 if (IS_ERR(old)) { in efx_tc_ct_replace()
302 rc = PTR_ERR(old); in efx_tc_ct_replace()
304 } else if (old) { in efx_tc_ct_replace()
361 if (!old) in efx_tc_ct_replace()
475 struct efx_tc_ct_zone *ct_zone, *old; in efx_tc_ct_register_zone() local
482 old = rhashtable_lookup_get_insert_fast(&efx->tc->ct_zone_ht, in efx_tc_ct_register_zone()
485 if (old) { in efx_tc_ct_register_zone()
488 if (IS_ERR(old)) /* o in efx_tc_ct_register_zone()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_core_perf.c307 struct dpu_core_perf_params *new, *old; in dpu_core_perf_crtc_update() local
328 old = &dpu_crtc->cur_perf; in dpu_core_perf_crtc_update()
339 if ((params_changed && ((new->bw_ctl > old->bw_ctl) || in dpu_core_perf_crtc_update()
340 (new->max_per_pipe_ib > old->max_per_pipe_ib))) || in dpu_core_perf_crtc_update()
341 (!params_changed && ((new->bw_ctl < old->bw_ctl) || in dpu_core_perf_crtc_update()
342 (new->max_per_pipe_ib < old->max_per_pipe_ib)))) { in dpu_core_perf_crtc_update()
345 new->bw_ctl, old->bw_ctl); in dpu_core_perf_crtc_update()
346 old->bw_ctl = new->bw_ctl; in dpu_core_perf_crtc_update()
347 old->max_per_pipe_ib = new->max_per_pipe_ib; in dpu_core_perf_crtc_update()
351 if ((params_changed && new->core_clk_rate > old in dpu_core_perf_crtc_update()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/64/
H A Dpgtable.h199 unsigned long old = pte_val(*ptep); in pte_update() local
200 *ptep = __pte((old & ~clr) | set); in pte_update()
202 /* huge pages use the old page table lock */ in pte_update()
206 return old; in pte_update()
217 unsigned long old; in __ptep_test_and_clear_young() local
221 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young()
222 return (old & _PAGE_ACCESSED) != 0; in __ptep_test_and_clear_young()
265 unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0); in ptep_get_and_clear() local
266 return __pte(old); in ptep_get_and_clear()
285 unsigned long old in __ptep_set_access_flags() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/64/
H A Dpgtable.h180 unsigned long old = pte_val(*ptep); in pte_update() local
181 *ptep = __pte((old & ~clr) | set); in pte_update()
183 /* huge pages use the old page table lock */ in pte_update()
187 return old; in pte_update()
198 unsigned long old; in __ptep_test_and_clear_young() local
202 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young()
203 return (old & _PAGE_ACCESSED) != 0; in __ptep_test_and_clear_young()
246 unsigned long old = pte_update(mm, addr, ptep, ~0UL, 0, 0); in ptep_get_and_clear() local
247 return __pte(old); in ptep_get_and_clear()
266 unsigned long old in __ptep_set_access_flags() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.c350 u32 opcode, new, old, tmp1, tmp2; in sym_fw_bind_script() local
501 old = *cur; in sym_fw_bind_script()
503 switch (old & RELOC_MASK) { in sym_fw_bind_script()
505 new = (old & ~RELOC_MASK) + np->mmio_ba; in sym_fw_bind_script()
508 new = (old & ~RELOC_MASK) + np->scripta_ba; in sym_fw_bind_script()
511 new = (old & ~RELOC_MASK) + np->scriptb_ba; in sym_fw_bind_script()
514 new = (old & ~RELOC_MASK) + np->hcb_ba; in sym_fw_bind_script()
522 if (old == 0) { in sym_fw_bind_script()
523 new = old; in sym_fw_bind_script()
530 "weird relocation %x\n", old); in sym_fw_bind_script()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.c350 u32 opcode, new, old, tmp1, tmp2; in sym_fw_bind_script() local
501 old = *cur; in sym_fw_bind_script()
503 switch (old & RELOC_MASK) { in sym_fw_bind_script()
505 new = (old & ~RELOC_MASK) + np->mmio_ba; in sym_fw_bind_script()
508 new = (old & ~RELOC_MASK) + np->scripta_ba; in sym_fw_bind_script()
511 new = (old & ~RELOC_MASK) + np->scriptb_ba; in sym_fw_bind_script()
514 new = (old & ~RELOC_MASK) + np->hcb_ba; in sym_fw_bind_script()
522 if (old == 0) { in sym_fw_bind_script()
523 new = old; in sym_fw_bind_script()
530 "weird relocation %x\n", old); in sym_fw_bind_script()
[all...]
/third_party/mbedtls/library/
H A Dssl_cache.c139 mbedtls_ssl_cache_entry *old = NULL; in ssl_cache_pick_writing_slot() local
165 * If not, remember the oldest entry in `old` for later. in ssl_cache_pick_writing_slot()
177 old = cur; in ssl_cache_pick_writing_slot()
206 if (old == NULL) { in ssl_cache_pick_writing_slot()
218 old = cache->chain; in ssl_cache_pick_writing_slot()
219 cache->chain = old->next; in ssl_cache_pick_writing_slot()
220 old->next = NULL; in ssl_cache_pick_writing_slot()
221 last->next = old; in ssl_cache_pick_writing_slot()
224 /* Now `old` points to the oldest entry to be overwritten. */ in ssl_cache_pick_writing_slot()
225 cur = old; in ssl_cache_pick_writing_slot()
[all...]
/kernel/linux/linux-5.10/drivers/media/common/
H A Dcx2341x.c1025 const struct cx2341x_mpeg_params *old, in cx2341x_update()
1040 if (!old || in cx2341x_update()
1041 CMP_FIELD(old, new, is_50hz)) { in cx2341x_update()
1048 if (!old || in cx2341x_update()
1049 CMP_FIELD(old, new, width) || in cx2341x_update()
1050 CMP_FIELD(old, new, height) || in cx2341x_update()
1051 CMP_FIELD(old, new, video_encoding)) { in cx2341x_update()
1064 if (!old || in cx2341x_update()
1065 CMP_FIELD(old, new, stream_type)) { in cx2341x_update()
1071 if (!old || in cx2341x_update()
1024 cx2341x_update(void *priv, cx2341x_mbox_func func, const struct cx2341x_mpeg_params *old, const struct cx2341x_mpeg_params *new) cx2341x_update() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/common/
H A Dcx2341x.c1025 const struct cx2341x_mpeg_params *old, in cx2341x_update()
1040 if (!old || in cx2341x_update()
1041 CMP_FIELD(old, new, is_50hz)) { in cx2341x_update()
1048 if (!old || in cx2341x_update()
1049 CMP_FIELD(old, new, width) || in cx2341x_update()
1050 CMP_FIELD(old, new, height) || in cx2341x_update()
1051 CMP_FIELD(old, new, video_encoding)) { in cx2341x_update()
1064 if (!old || in cx2341x_update()
1065 CMP_FIELD(old, new, stream_type)) { in cx2341x_update()
1071 if (!old || in cx2341x_update()
1024 cx2341x_update(void *priv, cx2341x_mbox_func func, const struct cx2341x_mpeg_params *old, const struct cx2341x_mpeg_params *new) cx2341x_update() argument
[all...]
/third_party/python/Modules/
H A Dunicodedata.c141 const change_record *old = get_old_record(self, c); in unicodedata_UCD_decimal_impl() local
142 if (old->category_changed == 0) { in unicodedata_UCD_decimal_impl()
147 else if (old->decimal_changed != 0xFF) { in unicodedata_UCD_decimal_impl()
149 rc = old->decimal_changed; in unicodedata_UCD_decimal_impl()
229 const change_record *old = get_old_record(self, c); in unicodedata_UCD_numeric_impl() local
230 if (old->category_changed == 0) { in unicodedata_UCD_numeric_impl()
235 else if (old->decimal_changed != 0xFF) { in unicodedata_UCD_numeric_impl()
237 rc = old->decimal_changed; in unicodedata_UCD_numeric_impl()
274 const change_record *old = get_old_record(self, c); in unicodedata_UCD_category_impl() local
275 if (old in unicodedata_UCD_category_impl()
301 const change_record *old = get_old_record(self, c); unicodedata_UCD_bidirectional_impl() local
330 const change_record *old = get_old_record(self, c); unicodedata_UCD_combining_impl() local
358 const change_record *old = get_old_record(self, c); unicodedata_UCD_mirrored_impl() local
385 const change_record *old = get_old_record(self, c); unicodedata_UCD_east_asian_width_impl() local
419 const change_record *old = get_old_record(self, c); unicodedata_UCD_decomposition_impl() local
1083 const change_record *old; _getucname() local
[all...]
/kernel/linux/linux-5.10/net/mac80211/
H A Dkey.c288 static void ieee80211_pairwise_rekey(struct ieee80211_key *old, in ieee80211_pairwise_rekey() argument
318 } else if (old) { in ieee80211_pairwise_rekey()
324 if (!(old->flags & KEY_FLAG_UPLOADED_TO_HARDWARE)) in ieee80211_pairwise_rekey()
328 old->flags |= KEY_FLAG_TAINTED; in ieee80211_pairwise_rekey()
342 ieee80211_flush_queues(local, old->sdata, false); in ieee80211_pairwise_rekey()
430 struct ieee80211_key *old, in ieee80211_key_replace()
437 /* caller must provide at least one old/new */ in ieee80211_key_replace()
438 if (WARN_ON(!new && !old)) in ieee80211_key_replace()
444 WARN_ON(new && old && new->conf.keyidx != old in ieee80211_key_replace()
427 ieee80211_key_replace(struct ieee80211_sub_if_data *sdata, struct sta_info *sta, bool pairwise, struct ieee80211_key *old, struct ieee80211_key *new) ieee80211_key_replace() argument
765 ieee80211_key_identical(struct ieee80211_sub_if_data *sdata, struct ieee80211_key *old, struct ieee80211_key *new) ieee80211_key_identical() argument
[all...]
/kernel/linux/linux-5.10/drivers/s390/scsi/
H A Dzfcp_scsi.c189 /* don't access old fsf_req after releasing the abort_lock */ in zfcp_scsi_eh_abort_handler()
556 struct fsf_qtcb_bottom_port *old) in zfcp_scsi_adjust_fc_host_stats()
559 data->seconds_since_last_reset - old->seconds_since_last_reset; in zfcp_scsi_adjust_fc_host_stats()
560 fc_stats->tx_frames = data->tx_frames - old->tx_frames; in zfcp_scsi_adjust_fc_host_stats()
561 fc_stats->tx_words = data->tx_words - old->tx_words; in zfcp_scsi_adjust_fc_host_stats()
562 fc_stats->rx_frames = data->rx_frames - old->rx_frames; in zfcp_scsi_adjust_fc_host_stats()
563 fc_stats->rx_words = data->rx_words - old->rx_words; in zfcp_scsi_adjust_fc_host_stats()
564 fc_stats->lip_count = data->lip - old->lip; in zfcp_scsi_adjust_fc_host_stats()
565 fc_stats->nos_count = data->nos - old->nos; in zfcp_scsi_adjust_fc_host_stats()
566 fc_stats->error_frames = data->error_frames - old in zfcp_scsi_adjust_fc_host_stats()
554 zfcp_scsi_adjust_fc_host_stats(struct fc_host_statistics *fc_stats, struct fsf_qtcb_bottom_port *data, struct fsf_qtcb_bottom_port *old) zfcp_scsi_adjust_fc_host_stats() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/scsi/
H A Dzfcp_scsi.c189 /* don't access old fsf_req after releasing the abort_lock */ in zfcp_scsi_eh_abort_handler()
556 struct fsf_qtcb_bottom_port *old) in zfcp_scsi_adjust_fc_host_stats()
559 data->seconds_since_last_reset - old->seconds_since_last_reset; in zfcp_scsi_adjust_fc_host_stats()
560 fc_stats->tx_frames = data->tx_frames - old->tx_frames; in zfcp_scsi_adjust_fc_host_stats()
561 fc_stats->tx_words = data->tx_words - old->tx_words; in zfcp_scsi_adjust_fc_host_stats()
562 fc_stats->rx_frames = data->rx_frames - old->rx_frames; in zfcp_scsi_adjust_fc_host_stats()
563 fc_stats->rx_words = data->rx_words - old->rx_words; in zfcp_scsi_adjust_fc_host_stats()
564 fc_stats->lip_count = data->lip - old->lip; in zfcp_scsi_adjust_fc_host_stats()
565 fc_stats->nos_count = data->nos - old->nos; in zfcp_scsi_adjust_fc_host_stats()
566 fc_stats->error_frames = data->error_frames - old in zfcp_scsi_adjust_fc_host_stats()
554 zfcp_scsi_adjust_fc_host_stats(struct fc_host_statistics *fc_stats, struct fsf_qtcb_bottom_port *data, struct fsf_qtcb_bottom_port *old) zfcp_scsi_adjust_fc_host_stats() argument
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dcmpxchg.c55 unsigned long __cmpxchg_small(volatile void *ptr, unsigned long old, in __cmpxchg_small() argument
67 old &= mask; in __cmpxchg_small()
77 old <<= shift; in __cmpxchg_small()
100 : "ZC" (*ptr32), "Jr" (mask), "Jr" (old), "Jr" (new) in __cmpxchg_small()
/third_party/musl/src/process/
H A Dsystem.c15 sigset_t old, reset; in system() local
28 sigprocmask(SIG_BLOCK, &sa.sa_mask, &old); in system()
34 posix_spawnattr_setsigmask(&attr, &old); in system()
44 sigprocmask(SIG_SETMASK, &old, NULL); in system()
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_mutex_unlock.c11 int old; in __pthread_mutex_unlock() local
15 old = m->_m_lock; in __pthread_mutex_unlock()
16 int own = old & 0x3fffffff; in __pthread_mutex_unlock()
21 if ((type&4) && (old&0x40000000)) in __pthread_mutex_unlock()
/third_party/musl/porting/liteos_a/user/src/process/
H A Dsystem.c15 sigset_t old, reset; in system() local
29 sigprocmask(SIG_BLOCK, &sa.sa_mask, &old); in system()
35 posix_spawnattr_setsigmask(&attr, &old); in system()
45 sigprocmask(SIG_SETMASK, &old, NULL); in system()
/third_party/mesa3d/src/gallium/winsys/i915/drm/
H A Di915_drm_fence.c40 struct i915_drm_fence *old = (struct i915_drm_fence *)*ptr; in i915_drm_fence_reference() local
44 if (old->bo) in i915_drm_fence_reference()
45 drm_intel_bo_unreference(old->bo); in i915_drm_fence_reference()
46 FREE(old); in i915_drm_fence_reference()
/third_party/mesa3d/src/util/
H A Du_atomic.h77 #define p_atomic_cmpxchg(v, old, _new) \
78 __sync_val_compare_and_swap((v), (old), (_new))
79 #define p_atomic_cmpxchg_ptr(v, old, _new) p_atomic_cmpxchg(v, old, _new)
259 #define p_atomic_cmpxchg(v, old, _new) (__typeof(*v))( \
260 sizeof(*v) == sizeof(uint8_t) ? atomic_cas_8 ((uint8_t *)(v), (uint8_t )(old), (uint8_t )(_new)) : \
261 sizeof(*v) == sizeof(uint16_t) ? atomic_cas_16((uint16_t *)(v), (uint16_t)(old), (uint16_t)(_new)) : \
262 sizeof(*v) == sizeof(uint32_t) ? atomic_cas_32((uint32_t *)(v), (uint32_t)(old), (uint32_t)(_new)) : \
263 sizeof(*v) == sizeof(uint64_t) ? atomic_cas_64((uint64_t *)(v), (uint64_t)(old), (uint64_t)(_new)) : \
267 #define p_atomic_cmpxchg_ptr(v, old, _ne
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c245 struct drm_crtc_state *old) in komeda_crtc_do_flush()
261 komeda_pipeline_update(master, old->state); in komeda_crtc_do_flush()
264 komeda_pipeline_update(slave, old->state); in komeda_crtc_do_flush()
276 struct drm_crtc_state *old) in komeda_crtc_atomic_enable()
282 komeda_crtc_do_flush(crtc, old); in komeda_crtc_atomic_enable()
322 struct drm_crtc_state *old) in komeda_crtc_atomic_disable()
325 struct komeda_crtc_state *old_st = to_kcrtc_st(old); in komeda_crtc_atomic_disable()
336 komeda_pipeline_disable(slave, old->state); in komeda_crtc_atomic_disable()
339 needs_phase2 = komeda_pipeline_disable(master, old->state); in komeda_crtc_atomic_disable()
366 komeda_pipeline_disable(kcrtc->master, old in komeda_crtc_atomic_disable()
244 komeda_crtc_do_flush(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_do_flush() argument
275 komeda_crtc_atomic_enable(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_atomic_enable() argument
321 komeda_crtc_atomic_disable(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_atomic_disable() argument
381 komeda_crtc_atomic_flush(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_atomic_flush() argument
502 struct komeda_crtc_state *old = to_kcrtc_st(crtc->state); komeda_crtc_atomic_duplicate_state() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c247 struct drm_crtc_state *old) in komeda_crtc_do_flush()
263 komeda_pipeline_update(master, old->state); in komeda_crtc_do_flush()
266 komeda_pipeline_update(slave, old->state); in komeda_crtc_do_flush()
280 struct drm_crtc_state *old = drm_atomic_get_old_crtc_state(state, in komeda_crtc_atomic_enable() local
286 komeda_crtc_do_flush(crtc, old); in komeda_crtc_atomic_enable()
328 struct drm_crtc_state *old = drm_atomic_get_old_crtc_state(state, in komeda_crtc_atomic_disable() local
331 struct komeda_crtc_state *old_st = to_kcrtc_st(old); in komeda_crtc_atomic_disable()
342 komeda_pipeline_disable(slave, old->state); in komeda_crtc_atomic_disable()
345 needs_phase2 = komeda_pipeline_disable(master, old->state); in komeda_crtc_atomic_disable()
372 komeda_pipeline_disable(kcrtc->master, old in komeda_crtc_atomic_disable()
246 komeda_crtc_do_flush(struct drm_crtc *crtc, struct drm_crtc_state *old) komeda_crtc_do_flush() argument
392 struct drm_crtc_state *old = drm_atomic_get_old_crtc_state(state, komeda_crtc_atomic_flush() local
512 struct komeda_crtc_state *old = to_kcrtc_st(crtc->state); komeda_crtc_atomic_duplicate_state() local
[all...]
/third_party/musl/porting/liteos_a/kernel/src/include/
H A Dfeatures.h7 #define weak_alias(old, new) \
8 extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
/kernel/linux/linux-6.6/tools/power/x86/turbostat/
H A Dturbostat.c1448 #define DELTA_WRAP32(new, old) \
1449 old = ((((unsigned long long)new << 32) - ((unsigned long long)old << 32)) >> 32);
1451 int delta_package(struct pkg_data *new, struct pkg_data *old) in delta_package() argument
1457 old->pkg_wtd_core_c0 = new->pkg_wtd_core_c0 - old->pkg_wtd_core_c0; in delta_package()
1459 old->pkg_any_core_c0 = new->pkg_any_core_c0 - old->pkg_any_core_c0; in delta_package()
1461 old->pkg_any_gfxe_c0 = new->pkg_any_gfxe_c0 - old in delta_package()
1506 delta_core(struct core_data *new, struct core_data *old) delta_core() argument
1539 delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) delta_thread() argument
[all...]
/third_party/musl/porting/linux/user/src/thread/
H A Dpthread_setcancelstate.c3 int __pthread_setcancelstate(int new, int *old) in __pthread_setcancelstate() argument
8 if (old) *old = self->canceldisable; in __pthread_setcancelstate()

Completed in 29 milliseconds

1...<<11121314151617181920>>...158