/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | sync_bitops.h | 39 #define arch_sync_cmpxchg(ptr, old, new) \ 43 __ret = arch_cmpxchg_relaxed((ptr), (old), (new)); \
|
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | cmpxchg-irq.h | 40 static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old, in __cmpxchg_u32() argument 48 if (retval == old) in __cmpxchg_u32()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | adjust_autoksyms.sh | 43 # Extract changes between old and new list and touch corresponding 66 # Replace the old list with tne new one 67 old=$(grep -c "^#define __KSYM_" "$cur_ksyms_file" || true) 69 info "KSYMS" "symbols: before=$old, after=$new, changed=$changed"
|
/kernel/linux/linux-6.6/kernel/kcsan/ |
H A D | kcsan.h | 133 int watchpoint_idx, u64 old, u64 new, u64 mask); 140 unsigned long ip, u64 old, u64 new, u64 mask);
|
H A D | report.c | 391 u64 old, u64 new, u64 mask) in print_report() 474 u64 diff = old ^ new; in print_report() 481 hex_len, old, hex_len, new); in print_report() 668 int watchpoint_idx, u64 old, u64 new, u64 mask) in kcsan_report_known_origin() 692 print_report(value_change, &ai, other_info, old, new, mask); in kcsan_report_known_origin() 701 unsigned long ip, u64 old, u64 new, u64 mask) in kcsan_report_unknown_origin() 710 print_report(KCSAN_VALUE_CHANGE_TRUE, &ai, NULL, old, new, mask); in kcsan_report_unknown_origin() 388 print_report(enum kcsan_value_change value_change, const struct access_info *ai, struct other_info *other_info, u64 old, u64 new, u64 mask) print_report() argument 666 kcsan_report_known_origin(const volatile void *ptr, size_t size, int access_type, unsigned long ip, enum kcsan_value_change value_change, int watchpoint_idx, u64 old, u64 new, u64 mask) kcsan_report_known_origin() argument 700 kcsan_report_unknown_origin(const volatile void *ptr, size_t size, int access_type, unsigned long ip, u64 old, u64 new, u64 mask) kcsan_report_unknown_origin() argument
|
/kernel/linux/linux-6.6/tools/arch/x86/include/asm/ |
H A D | atomic.h | 69 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() argument 71 return cmpxchg(&v->counter, old, new); in atomic_cmpxchg()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_sampler_view.h | 94 struct svga_sampler_view *old = *ptr; in svga_sampler_view_reference() local 98 svga_destroy_sampler_view_priv(old); in svga_sampler_view_reference()
|
/third_party/zlib/contrib/minizip/ |
H A D | Makefile | 23 @mv test.txt test.old 25 @cmp test.txt test.old
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 260 pte_basic_t old; in pte_update() local 275 : "=&r" (old), "=&r" (tmp), "=m" (*p) in pte_update() 284 return old; in pte_update() 295 unsigned long old; in __ptep_test_and_clear_young() local 296 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 297 if (old & _PAGE_HASHPTE) { in __ptep_test_and_clear_young() 301 return (old & _PAGE_ACCESSED) != 0; in __ptep_test_and_clear_young()
|
/kernel/linux/linux-6.6/arch/s390/mm/ |
H A D | pageattr.c | 59 static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr, in pgt_set() argument 77 table = (unsigned long *)((unsigned long)old & mask); in pgt_set() 78 crdte(*old, new, table, dtt, addr, S390_lowcore.kernel_asce); in pgt_set() 80 cspg(old, *old, new); in pgt_set() 82 csp((unsigned int *)old + 1, *old, new); in pgt_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | cfg_space.c | 72 u8 mask, new, old; in vgpu_pci_cfg_mem_write() local 78 old = cfg_base[off + i]; in vgpu_pci_cfg_mem_write() 87 new = (~new & old) & mask; in vgpu_pci_cfg_mem_write() 89 cfg_base[off + i] = (old & ~mask) | new; in vgpu_pci_cfg_mem_write() 191 u8 old = vgpu_cfg_space(vgpu)[offset]; in emulate_pci_command_write() local 193 u8 changed = old ^ new; in emulate_pci_command_write() 200 if (old & PCI_COMMAND_MEMORY) { in emulate_pci_command_write() 280 * Untrap the old BAR first, since guest has in emulate_pci_bar_write()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_multiq.c | 213 struct Qdisc *child, *old; in multiq_tune() local 220 old = q->queues[i]; in multiq_tune() 225 if (old != &noop_qdisc) in multiq_tune() 226 qdisc_purge_queue(old); in multiq_tune() 228 qdisc_put(old); in multiq_tune() 281 struct Qdisc **old, struct netlink_ext_ack *extack) in multiq_graft() 289 *old = qdisc_replace(sch, new, &q->queues[band]); in multiq_graft() 280 multiq_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old, struct netlink_ext_ack *extack) multiq_graft() argument
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
H A D | intel-bts.c | 366 u64 *head, u64 *old) in intel_bts_find_snapshot() 373 pr_debug3("%s: mmap index %d old head %zu new head %zu\n", in intel_bts_find_snapshot() 374 __func__, idx, (size_t)*old, (size_t)*head); in intel_bts_find_snapshot() 390 * mode 'head' is an offset within the buffer. Here 'old' and 'head' in intel_bts_find_snapshot() 391 * are adjusted to match the full trace case which expects that 'old' is in intel_bts_find_snapshot() 395 *old = *head; in intel_bts_find_snapshot() 399 *old &= mm->mask; in intel_bts_find_snapshot() 401 *old %= mm->len; in intel_bts_find_snapshot() 402 if (*old > *head) in intel_bts_find_snapshot() 406 pr_debug3("%s: wrap-around %sdetected, adjusted old hea in intel_bts_find_snapshot() 364 intel_bts_find_snapshot(struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old) intel_bts_find_snapshot() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | tc_counters.c | 226 struct efx_tc_counter_index *ctr, *old; in efx_tc_flower_get_counter_index() local 233 old = rhashtable_lookup_get_insert_fast(&efx->tc->counter_id_ht, in efx_tc_flower_get_counter_index() 236 if (old) { in efx_tc_flower_get_counter_index() 239 if (IS_ERR(old)) /* oh dear, it's actually an error */ in efx_tc_flower_get_counter_index() 240 return ERR_CAST(old); in efx_tc_flower_get_counter_index() 241 if (!refcount_inc_not_zero(&old->ref)) in efx_tc_flower_get_counter_index() 244 ctr = old; in efx_tc_flower_get_counter_index()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_pmdemand.c | 205 /* First clear the active phys in the old connector state */ in intel_pmdemand_update_active_non_tc_phys() 470 const struct intel_pmdemand_state *old, in intel_pmdemand_update_params() 476 * handling with some old operations, to avoid unexpected performance in intel_pmdemand_update_params() 477 * issues, program the pmdemand parameters with higher of old and new in intel_pmdemand_update_params() 485 * as well. So in pre-plane case, we need to check the max of old, new in intel_pmdemand_update_params() 493 u32 old_val = old ? old->params.field : 0; \ in intel_pmdemand_update_params() 520 const struct intel_pmdemand_state *old, in intel_pmdemand_program_params() 538 intel_pmdemand_update_params(new, old, &mod_reg1, &mod_reg2, in intel_pmdemand_program_params() 572 const struct intel_pmdemand_state *old) in intel_pmdemand_state_changed() 469 intel_pmdemand_update_params(const struct intel_pmdemand_state *new, const struct intel_pmdemand_state *old, u32 *reg1, u32 *reg2, bool serialized) intel_pmdemand_update_params() argument 518 intel_pmdemand_program_params(struct drm_i915_private *i915, const struct intel_pmdemand_state *new, const struct intel_pmdemand_state *old, bool serialized) intel_pmdemand_program_params() argument 571 intel_pmdemand_state_changed(const struct intel_pmdemand_state *new, const struct intel_pmdemand_state *old) intel_pmdemand_state_changed() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/ |
H A D | intel-bts.c | 367 u64 *head, u64 *old) in intel_bts_find_snapshot() 374 pr_debug3("%s: mmap index %d old head %zu new head %zu\n", in intel_bts_find_snapshot() 375 __func__, idx, (size_t)*old, (size_t)*head); in intel_bts_find_snapshot() 391 * mode 'head' is an offset within the buffer. Here 'old' and 'head' in intel_bts_find_snapshot() 392 * are adjusted to match the full trace case which expects that 'old' is in intel_bts_find_snapshot() 396 *old = *head; in intel_bts_find_snapshot() 400 *old &= mm->mask; in intel_bts_find_snapshot() 402 *old %= mm->len; in intel_bts_find_snapshot() 403 if (*old > *head) in intel_bts_find_snapshot() 407 pr_debug3("%s: wrap-around %sdetected, adjusted old hea in intel_bts_find_snapshot() 365 intel_bts_find_snapshot(struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old) intel_bts_find_snapshot() argument [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_multiq.c | 213 struct Qdisc *child, *old; in multiq_tune() local 220 old = q->queues[i]; in multiq_tune() 225 if (old != &noop_qdisc) in multiq_tune() 226 qdisc_purge_queue(old); in multiq_tune() 228 qdisc_put(old); in multiq_tune() 281 struct Qdisc **old, struct netlink_ext_ack *extack) in multiq_graft() 289 *old = qdisc_replace(sch, new, &q->queues[band]); in multiq_graft() 280 multiq_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, struct Qdisc **old, struct netlink_ext_ack *extack) multiq_graft() argument
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | link.c | 190 struct ieee80211_bss_conf *old[IEEE80211_MLD_MAX_NUM_LINKS]; in ieee80211_vif_update_links() local 201 /* if there were no old links, need to clear the pointers to deflink */ in ieee80211_vif_update_links() 215 /* keep track of the old pointers for the driver */ in ieee80211_vif_update_links() 216 BUILD_BUG_ON(sizeof(old) != sizeof(sdata->vif.link_conf)); in ieee80211_vif_update_links() 217 memcpy(old, sdata->vif.link_conf, sizeof(old)); in ieee80211_vif_update_links() 222 /* grab old links to free later */ in ieee80211_vif_update_links() 263 old); in ieee80211_vif_update_links() 269 memcpy(sdata->vif.link_conf, old, sizeof(old)); in ieee80211_vif_update_links() [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | atomic-utils.h | 242 const T old = number->fetch_add(amount, order); in CheckedIncrement() local 243 DCHECK_GE(old + amount, old); in CheckedIncrement() 244 USE(old); in CheckedIncrement() 252 const T old = number->fetch_sub(amount, order); in CheckedDecrement() local 253 DCHECK_GE(old, amount); in CheckedDecrement() 254 USE(old); in CheckedDecrement()
|
/kernel/linux/linux-5.10/arch/x86/tools/ |
H A D | gen-insn-attr-x86.awk | 229 function add_flags(old,new) { 230 if (old && new) 231 return old " | " new 232 else if (old) 233 return old
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_bo_list.c | 274 struct amdgpu_bo_list *list, *old; in amdgpu_bo_list_ioctl() local 310 old = idr_replace(&fpriv->bo_list_handles, list, handle); in amdgpu_bo_list_ioctl() 313 if (IS_ERR(old)) { in amdgpu_bo_list_ioctl() 314 r = PTR_ERR(old); in amdgpu_bo_list_ioctl() 318 amdgpu_bo_list_put(old); in amdgpu_bo_list_ioctl()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | atomic_ll_sc.h | 242 unsigned long old, \ 251 * upper bits of the register containing "old". \ 254 old = (u##sz)old; \ 259 " eor %" #w "[tmp], %" #w "[oldval], %" #w "[old]\n" \ 267 : [old] __stringify(constraint) "r" (old), [new] "r" (new) \
|
/kernel/linux/linux-5.10/arch/m68k/bvme6000/ |
H A D | config.c | 137 unsigned long *old = (unsigned long *)0xf8000000; in bvme6000_abort_int() local 143 *(new+4) = *(old+4); /* Illegal instruction */ in bvme6000_abort_int() 144 *(new+9) = *(old+9); /* Trace */ in bvme6000_abort_int() 145 *(new+47) = *(old+47); /* Trap #15 */ in bvme6000_abort_int() 146 *(new+0x1f) = *(old+0x1f); /* ABORT switch */ in bvme6000_abort_int()
|
/kernel/linux/linux-5.10/arch/um/kernel/ |
H A D | irq.c | 541 unsigned long mask, old; in to_irq_stack() local 555 old = *mask_out; in to_irq_stack() 557 old |= mask; in to_irq_stack() 558 mask = xchg(&pending_mask, old); in to_irq_stack() 559 } while (mask != old); in to_irq_stack()
|
/kernel/linux/linux-6.6/arch/m68k/bvme6000/ |
H A D | config.c | 136 unsigned long *old = (unsigned long *)0xf8000000; in bvme6000_abort_int() local 142 *(new+4) = *(old+4); /* Illegal instruction */ in bvme6000_abort_int() 143 *(new+9) = *(old+9); /* Trace */ in bvme6000_abort_int() 144 *(new+47) = *(old+47); /* Trap #15 */ in bvme6000_abort_int() 145 *(new+0x1f) = *(old+0x1f); /* ABORT switch */ in bvme6000_abort_int()
|