/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | alternative.c | 466 DPRINTK("feat: %s%d*32+%d, old: (%pS (%px) len: %d), repl: (%px, len: %d)", in apply_alternatives() 1337 u8 old; member 1513 tp[i].old = *(u8 *)text_poke_addr(&tp[i]); in text_poke_bp_batch() 1523 u8 old[POKE_MAX_OPCODE_SIZE] = { tp[i].old, }; in text_poke_bp_batch() local 1527 memcpy(old + INT3_INSN_SIZE, in text_poke_bp_batch() 1544 * INT3 and handler and not hit the old or new instruction. in text_poke_bp_batch() 1552 * either the old instruction flow or FUP/TIP of INT3. After the in text_poke_bp_batch() 1557 * The old instruction is recorded so that the event can be in text_poke_bp_batch() 1560 perf_event_text_poke(text_poke_addr(&tp[i]), old, le in text_poke_bp_batch() local [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | io-pgtable-arm.c | 285 * We need to unmap and free the old table before in arm_lpae_init_pte() 307 arm_lpae_iopte old, new; in arm_lpae_install_table() local 321 old = cmpxchg64_relaxed(ptep, curr, new); in arm_lpae_install_table() 323 if (cfg->coherent_walk || (old & ARM_LPAE_PTE_SW_SYNC)) in arm_lpae_install_table() 324 return old; in arm_lpae_install_table() 328 if (old == curr) in arm_lpae_install_table() 331 return old; in arm_lpae_install_table() 611 * Insert a table at the next level to map the old region, in __arm_lpae_unmap()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aurora/ |
H A D | nb8800.c | 63 u32 old = nb8800_readb(priv, reg); in nb8800_maskb() local 64 u32 new = (old & ~mask) | (val & mask); in nb8800_maskb() 66 if (new != old) in nb8800_maskb() 73 u32 old = nb8800_readl(priv, reg); in nb8800_maskl() local 74 u32 new = (old & ~mask) | (val & mask); in nb8800_maskl() 76 if (new != old) in nb8800_maskl() 326 wmb(); /* ensure new EOC is written before clearing old */ in nb8800_poll()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | nhi.c | 58 u32 old, new; in ring_interrupt_active() local 90 old = ioread32(ring->nhi->iobase + reg); in ring_interrupt_active() 92 new = old | mask; in ring_interrupt_active() 94 new = old & ~mask; in ring_interrupt_active() 98 active ? "enabling" : "disabling", reg, bit, old, new); in ring_interrupt_active() 100 if (new == old) in ring_interrupt_active()
|
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
H A D | vhci_hcd.c | 357 /* store old status and compare now and old later */ in vhci_hub_control() 748 struct usb_device *old; in vhci_urb_enqueue() local 759 old = vdev->udev; in vhci_urb_enqueue() 767 usb_put_dev(old); in vhci_urb_enqueue() 787 usb_put_dev(old); in vhci_urb_enqueue() 1100 struct usb_device *old = vdev->udev; in vhci_device_reset() local 1109 usb_put_dev(old); in vhci_device_reset()
|
/kernel/linux/linux-5.10/fs/ |
H A D | dax.c | 292 void *old; in dax_unlock_entry() local 297 old = xas_store(xas, entry); in dax_unlock_entry() 299 BUG_ON(!dax_is_locked(old)); in dax_unlock_entry() 766 void *old; in dax_insert_entry() local 778 old = dax_lock_entry(xas, new_entry); in dax_insert_entry() 779 WARN_ON_ONCE(old != xa_mk_value(xa_to_value(entry) | in dax_insert_entry()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | cipso_ipv4.c | 1839 struct ip_options_rcu *old, *opt = NULL; in cipso_v4_sock_setattr() local 1883 old = rcu_dereference_protected(sk_inet->inet_opt, in cipso_v4_sock_setattr() 1887 if (old) in cipso_v4_sock_setattr() 1888 sk_conn->icsk_ext_hdr_len -= old->opt.optlen; in cipso_v4_sock_setattr() 1893 if (old) in cipso_v4_sock_setattr() 1894 kfree_rcu(old, rcu); in cipso_v4_sock_setattr()
|
H A D | fib_frontend.c | 131 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table() argument 147 /* replace the old table in the hlist */ in fib_replace_table() 148 hlist_replace_rcu(&old->tb_hlist, &new->tb_hlist); in fib_replace_table() 153 struct fib_table *old, *new, *main_table; in fib_unmerge() local 156 old = fib_get_table(net, RT_TABLE_LOCAL); in fib_unmerge() 157 if (!old) in fib_unmerge() 160 new = fib_trie_unmerge(old); in fib_unmerge() 165 if (new == old) in fib_unmerge() 169 fib_replace_table(net, old, new); in fib_unmerge() 170 fib_free_table(old); in fib_unmerge() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | selftest_workarounds.c | 389 static u32 reg_write(u32 old, u32 new, u32 rsvd) in reg_write() argument 392 old &= ~(new >> 16); in reg_write() 393 old |= new & (new >> 16); in reg_write() 395 old &= ~rsvd; in reg_write() 396 old |= new & rsvd; in reg_write() 399 return old; in reg_write()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_trace.h | 146 TP_PROTO(struct drm_i915_private *dev_priv, bool old, bool new), 147 TP_ARGS(dev_priv, old, new), 152 __field(bool, old) 162 __entry->old = old; 167 onoff(__entry->old), onoff(__entry->new),
|
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | nhi.c | 92 u32 old, new; in ring_interrupt_active() local 135 old = ioread32(ring->nhi->iobase + reg); in ring_interrupt_active() 137 new = old | mask; in ring_interrupt_active() 139 new = old & ~mask; in ring_interrupt_active() 143 active ? "enabling" : "disabling", reg, interrupt_bit, old, new); in ring_interrupt_active() 145 if (new == old) in ring_interrupt_active()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | selftest_workarounds.c | 405 static u32 reg_write(u32 old, u32 new, u32 rsvd) in reg_write() argument 408 old &= ~(new >> 16); in reg_write() 409 old |= new & (new >> 16); in reg_write() 411 old &= ~rsvd; in reg_write() 412 old |= new & rsvd; in reg_write() 415 return old; in reg_write()
|
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | io-pgtable-arm.c | 293 * We need to unmap and free the old table before in arm_lpae_init_pte() 316 arm_lpae_iopte old, new; in arm_lpae_install_table() local 330 old = cmpxchg64_relaxed(ptep, curr, new); in arm_lpae_install_table() 332 if (cfg->coherent_walk || (old & ARM_LPAE_PTE_SW_SYNC)) in arm_lpae_install_table() 333 return old; in arm_lpae_install_table() 337 if (old == curr) in arm_lpae_install_table() 340 return old; in arm_lpae_install_table() 645 * Insert a table at the next level to map the old region, in __arm_lpae_unmap()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | cipso_ipv4.c | 1838 struct ip_options_rcu *old, *opt = NULL; in cipso_v4_sock_setattr() local 1882 old = rcu_dereference_protected(sk_inet->inet_opt, in cipso_v4_sock_setattr() 1886 if (old) in cipso_v4_sock_setattr() 1887 sk_conn->icsk_ext_hdr_len -= old->opt.optlen; in cipso_v4_sock_setattr() 1892 if (old) in cipso_v4_sock_setattr() 1893 kfree_rcu(old, rcu); in cipso_v4_sock_setattr()
|
H A D | fib_frontend.c | 132 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table() argument 148 /* replace the old table in the hlist */ in fib_replace_table() 149 hlist_replace_rcu(&old->tb_hlist, &new->tb_hlist); in fib_replace_table() 154 struct fib_table *old, *new, *main_table; in fib_unmerge() local 157 old = fib_get_table(net, RT_TABLE_LOCAL); in fib_unmerge() 158 if (!old) in fib_unmerge() 161 new = fib_trie_unmerge(old); in fib_unmerge() 166 if (new == old) in fib_unmerge() 170 fib_replace_table(net, old, new); in fib_unmerge() 171 fib_free_table(old); in fib_unmerge() [all...] |
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_api.c | 276 /* We're in the middle of a primitive, keep the old vertex in vbo_exec_wrap_upgrade_vertex() 321 fi_type *old = old_first; in vbo_exec_wrap_upgrade_vertex() local 325 *new++ = *old++; in vbo_exec_wrap_upgrade_vertex() 326 } while (old != old_end); in vbo_exec_wrap_upgrade_vertex() 332 fi_type *old = old_last; in vbo_exec_wrap_upgrade_vertex() local 336 *new-- = *old--; in vbo_exec_wrap_upgrade_vertex() 337 } while (old != old_end); in vbo_exec_wrap_upgrade_vertex()
|
/third_party/toybox/lib/ |
H A D | lib.c | 515 off_t base = 0, range = 1, expand = 1, old; in fdlength() local 530 old = lseek(fd, 0, SEEK_CUR); in fdlength() 547 lseek(fd, old, SEEK_SET); in fdlength() 627 long long nanodiff(struct timespec *old, struct timespec *new) in nanodiff() argument 629 return (new->tv_sec - old->tv_sec)*1000000000LL+(new->tv_nsec - old->tv_nsec); in nanodiff()
|
/third_party/python/Modules/ |
H A D | signalmodule.c | 906 Returns old values as a tuple: (delay, interval). 925 struct itimerval old; local 926 if (setitimer(which, &new, &old) != 0) { 931 return itimer_retval(&old); 952 struct itimerval old; local 953 if (getitimer(which, &old) != 0) { 958 return itimer_retval(&old);
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | pgtable.h | 211 * prot-none, clean, old .11.xx0000.1 213 * prot-none, dirty, old .11.xx0010.1 215 * read-only, clean, old .11.xx0100.1 217 * read-only, dirty, old .11.xx0110.1 219 * read-write, clean, old .11.xx1100.1 221 * read-write, dirty, old .10.xx1110.1 357 * prot-none, clean, old 00..1...1...00 359 * prot-none, dirty, old 10..1...1...00 361 * read-only, clean, old 00..1...1...01 363 * read-only, dirty, old 1 581 csp(unsigned int *ptr, unsigned int old, unsigned int new) csp() argument 593 cspg(unsigned long *ptr, unsigned long old, unsigned long new) cspg() argument 611 crdte(unsigned long old, unsigned long new, unsigned long *table, unsigned long dtt, unsigned long address, unsigned long asce) crdte() argument 1226 pte_allow_rdp(pte_t old, pte_t new) pte_allow_rdp() argument [all...] |
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/ |
H A D | msu.c | 713 enum lockout_state old; in msc_win_set_lockout() local 721 old = win->lockout; in msc_win_set_lockout() 723 if (old != expect) { in msc_win_set_lockout() 730 if (old == expect && new == WIN_LOCKED) in msc_win_set_lockout() 732 else if (old == expect && old == WIN_LOCKED) in msc_win_set_lockout() 739 if (expect == WIN_READY && old == WIN_LOCKED) in msc_win_set_lockout() 743 if (expect == WIN_LOCKED && old == new) in msc_win_set_lockout() 748 expect, old); in msc_win_set_lockout()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 74 "Use old large send method on firmware that supports the new method"); 1004 unsigned int old = netdev->real_num_tx_queues, in ibmveth_set_channels() local 1020 for (i = old; i < goal; i++) { in ibmveth_set_channels() 1030 old); in ibmveth_set_channels() 1031 goal = old; in ibmveth_set_channels() 1032 old = i; in ibmveth_set_channels() 1038 old); in ibmveth_set_channels() 1039 goal = old; in ibmveth_set_channels() 1040 old = i; in ibmveth_set_channels() 1043 for (i = old; in ibmveth_set_channels() [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | transaction.c | 202 /* We can free old roots now. */ in switch_commit_roots() 399 * the old root from before we joined the transaction is deleted when the 1392 * dead roots are old snapshots that need to be deleted. This allocates 1644 struct extent_buffer *old; in create_pending_snapshot() local 1778 old = btrfs_lock_root_node(root); in create_pending_snapshot() 1779 ret = btrfs_cow_block(trans, root, old, NULL, 0, &old, in create_pending_snapshot() 1782 btrfs_tree_unlock(old); in create_pending_snapshot() 1783 free_extent_buffer(old); in create_pending_snapshot() 1788 ret = btrfs_copy_root(trans, root, old, in create_pending_snapshot() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | ip_vs.h | 586 volatile __u16 old_state; /* old state, to be used for 629 * options, but unfortunately, we also need to keep the old definitions to 1716 static inline __wsum ip_vs_check_diff4(__be32 old, __be32 new, __wsum oldsum) in ip_vs_check_diff4() argument 1718 __be32 diff[2] = { ~old, new }; in ip_vs_check_diff4() 1724 static inline __wsum ip_vs_check_diff16(const __be32 *old, const __be32 *new, in ip_vs_check_diff16() argument 1727 __be32 diff[8] = { ~old[3], ~old[2], ~old[1], ~old[0], in ip_vs_check_diff16() 1734 static inline __wsum ip_vs_check_diff2(__be16 old, __be1 argument [all...] |
/kernel/linux/linux-6.6/drivers/hwtracing/intel_th/ |
H A D | msu.c | 711 enum lockout_state old; in msc_win_set_lockout() local 719 old = win->lockout; in msc_win_set_lockout() 721 if (old != expect) { in msc_win_set_lockout() 728 if (old == expect && new == WIN_LOCKED) in msc_win_set_lockout() 730 else if (old == expect && old == WIN_LOCKED) in msc_win_set_lockout() 737 if (expect == WIN_READY && old == WIN_LOCKED) in msc_win_set_lockout() 741 if (expect == WIN_LOCKED && old == new) in msc_win_set_lockout() 746 expect, old); in msc_win_set_lockout()
|
/third_party/gn/src/gn/ |
H A D | parse_tree.cc | 454 Location old = base_.location(); in SetNewLocation() local 455 base_.set_location(Location(old.file(), line_number, old.column_number())); in SetNewLocation() 856 Location old = value_.location(); in SetNewLocation() local 857 value_.set_location(Location(old.file(), line_number, old.column_number())); in SetNewLocation() 1140 Location old = value_.location(); in SetNewLocation() local 1141 value_.set_location(Location(old.file(), line_number, old.column_number())); in SetNewLocation()
|