/kernel/linux/linux-6.6/kernel/ |
H A D | resource.c | 199 static int __release_resource(struct resource *old, bool release_child) in __release_resource() argument 203 p = &old->parent->child; in __release_resource() 208 if (tmp == old) { in __release_resource() 220 old->parent = NULL; in __release_resource() 294 * @old: resource pointer 296 int release_resource(struct resource *old) in release_resource() argument 301 retval = __release_resource(old, true); in release_resource() 579 static int __find_resource(struct resource *root, struct resource *old, in __find_resource() argument 593 tmp.start = (this == old) ? old in __find_resource() 655 reallocate_resource(struct resource *root, struct resource *old, resource_size_t newsize, struct resource_constraint *constraint) reallocate_resource() argument 918 remove_resource(struct resource *old) remove_resource() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/ |
H A D | boot.c | 575 unsigned int old, new; in acpi_pic_sci_set_trigger() local 577 /* Real old ELCR mask */ in acpi_pic_sci_set_trigger() 578 old = inb(0x4d0) | (inb(0x4d1) << 8); in acpi_pic_sci_set_trigger() 585 new = acpi_noirq ? old : 0; in acpi_pic_sci_set_trigger() 600 if (old == new) in acpi_pic_sci_set_trigger() 603 printk(PREFIX "setting ELCR to %04x (from %04x)\n", new, old); in acpi_pic_sci_set_trigger() 1771 unsigned int old, new, val; in __acpi_acquire_global_lock() local 1773 old = *lock; in __acpi_acquire_global_lock() 1774 new = (((old & ~0x3) + 2) + ((old >> in __acpi_acquire_global_lock() 1782 unsigned int old, new, val; __acpi_release_global_lock() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/genwqe/ |
H A D | card_ddcb.c | 271 __be32 old, new, icrc_hsi_shi; in enqueue_ddcb() local 292 old = prev_ddcb->icrc_hsi_shi_32; /* read SHI/HSI in BE32 */ in enqueue_ddcb() 295 if ((old & DDCB_COMPLETED_BE32) != 0x00000000) in enqueue_ddcb() 298 new = (old | DDCB_NEXT_BE32); in enqueue_ddcb() 301 icrc_hsi_shi = cmpxchg(&prev_ddcb->icrc_hsi_shi_32, old, new); in enqueue_ddcb() 303 if (icrc_hsi_shi == old) in enqueue_ddcb() 629 __be32 old, new; in __genwqe_purge_ddcb() local 649 old = pddcb->icrc_hsi_shi_32; /* read SHI/HSI in BE32 */ in __genwqe_purge_ddcb() 650 if ((old & DDCB_FETCHED_BE32) == 0x00000000) { in __genwqe_purge_ddcb() 652 new = (old | DDCB_PURGE_BE3 in __genwqe_purge_ddcb() [all...] |
/kernel/linux/linux-5.10/drivers/net/wan/lmc/ |
H A D | lmc_media.c | 225 int old; in lmc_hssi_set_clock() local 226 old = sc->ictl.clock_source; in lmc_hssi_set_clock() 232 if(old != ie) in lmc_hssi_set_clock() 240 if(old != ie) in lmc_hssi_set_clock() 613 int old; in lmc_ssi_set_clock() local 614 old = ie; in lmc_ssi_set_clock() 620 if(ie != old) in lmc_ssi_set_clock() 628 if(ie != old) in lmc_ssi_set_clock() 1176 int old; in lmc_t1_set_clock() local 1177 old in lmc_t1_set_clock() [all...] |
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | mutex.c | 113 unsigned long old, flags = __owner_flags(owner); in __mutex_trylock_or_owner() local 137 old = atomic_long_cmpxchg_acquire(&lock->owner, owner, curr | flags); in __mutex_trylock_or_owner() 138 if (old == owner) in __mutex_trylock_or_owner() 141 owner = old; in __mutex_trylock_or_owner() 239 unsigned long old, new; in __mutex_handoff() local 251 old = atomic_long_cmpxchg_release(&lock->owner, owner, new); in __mutex_handoff() 252 if (old == owner) in __mutex_handoff() 255 owner = old; in __mutex_handoff() 1245 unsigned long old; in __mutex_unlock_slowpath() local 1255 old in __mutex_unlock_slowpath() [all...] |
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | copy_up.c | 46 int ovl_copy_xattr(struct super_block *sb, struct dentry *old, in ovl_copy_xattr() argument 54 if (!(old->d_inode->i_opflags & IOP_XATTR) || in ovl_copy_xattr() 58 list_size = vfs_listxattr(old, NULL, 0); in ovl_copy_xattr() 69 list_size = vfs_listxattr(old, buf, list_size); in ovl_copy_xattr() 96 size = vfs_getxattr(old, name, value, value_size); in ovl_copy_xattr() 98 size = vfs_getxattr(old, name, NULL, 0); in ovl_copy_xattr() 133 static int ovl_copy_up_data(struct ovl_fs *ofs, struct path *old, in ovl_copy_up_data() argument 149 old_file = ovl_path_open(old, O_LARGEFILE | O_RDONLY); in ovl_copy_up_data() 549 const struct cred *old; member 557 cc->old in ovl_prep_cu_creds() [all...] |
/kernel/linux/linux-6.6/drivers/misc/genwqe/ |
H A D | card_ddcb.c | 271 __be32 old, new, icrc_hsi_shi; in enqueue_ddcb() local 292 old = prev_ddcb->icrc_hsi_shi_32; /* read SHI/HSI in BE32 */ in enqueue_ddcb() 295 if ((old & DDCB_COMPLETED_BE32) != 0x00000000) in enqueue_ddcb() 298 new = (old | DDCB_NEXT_BE32); in enqueue_ddcb() 301 icrc_hsi_shi = cmpxchg(&prev_ddcb->icrc_hsi_shi_32, old, new); in enqueue_ddcb() 303 if (icrc_hsi_shi == old) in enqueue_ddcb() 629 __be32 old, new; in __genwqe_purge_ddcb() local 649 old = pddcb->icrc_hsi_shi_32; /* read SHI/HSI in BE32 */ in __genwqe_purge_ddcb() 650 if ((old & DDCB_FETCHED_BE32) == 0x00000000) { in __genwqe_purge_ddcb() 652 new = (old | DDCB_PURGE_BE3 in __genwqe_purge_ddcb() [all...] |
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | local.h | 79 long c, old; \ 81 while (c != (u) && (old = local_cmpxchg((l), c, c + (a))) != c) \ 82 c = old; \
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | timex.h | 125 unsigned long long old; in local_tick_disable() local 127 old = S390_lowcore.clock_comparator; in local_tick_disable() 130 return old; in local_tick_disable()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
H A D | ftrace.c | 172 unsigned long old; in prepare_ftrace_return() local 181 old = *parent; in prepare_ftrace_return() 183 if (!function_graph_enter(old, self_addr, frame_pointer, parent)) in prepare_ftrace_return()
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
H A D | mach-osiris-dvs.c | 55 bool old_dvs = is_dvs(&freqs->old); in osiris_dvs_notify() 62 printk(KERN_DEBUG "%s: old %ld,%ld new %ld,%ld\n", __func__, in osiris_dvs_notify() 63 freqs->old.armclk, freqs->old.hclk, in osiris_dvs_notify()
|
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | ftrace.c | 165 unsigned long old; in prepare_ftrace_return() local 174 old = *parent; in prepare_ftrace_return() 176 if (!function_graph_enter(old, self_addr, frame_pointer, parent)) in prepare_ftrace_return()
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | timex.h | 162 unsigned long old; in local_tick_disable() local 164 old = S390_lowcore.clock_comparator; in local_tick_disable() 167 return old; in local_tick_disable()
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | trancevibrator.c | 47 int temp, retval, old; in speed_store() local 56 old = tv->speed; in speed_store() 68 tv->speed = old; in speed_store()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | serial_8250.h | 35 struct ktermios *old); 41 unsigned old); 161 struct ktermios *termios, struct ktermios *old);
|
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | task.c | 10 * If a task uses change_hat it currently does not return to the old 43 struct aa_label *old = aa_current_raw_label(); in aa_replace_current_label() local 49 if (old == label) in aa_replace_current_label() 65 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | rc80211_minstrel.h | 40 minstrel_ewma(int old, int new, int weight) in minstrel_ewma() argument 44 diff = new - old; in minstrel_ewma() 47 return old + incr; in minstrel_ewma()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_extend.c | 52 const struct nf_ct_ext *old = ct->ext; in nf_ct_ext_add() local 54 if (__nf_ct_ext_exist(old, id)) in nf_ct_ext_add() 56 oldlen = old->len; in nf_ct_ext_add()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | ab8500-sysctrl.c | 31 sigset_t old; in ab8500_power_off() local 85 if (!sigprocmask(SIG_BLOCK, &all, &old)) { in ab8500_power_off() 89 (void)sigprocmask(SIG_SETMASK, &old, NULL); in ab8500_power_off()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | ab8500-sysctrl.c | 31 sigset_t old; in ab8500_power_off() local 85 if (!sigprocmask(SIG_BLOCK, &all, &old)) { in ab8500_power_off() 89 (void)sigprocmask(SIG_SETMASK, &old, NULL); in ab8500_power_off()
|
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | trancevibrator.c | 47 int temp, retval, old; in speed_store() local 56 old = tv->speed; in speed_store() 68 tv->speed = old; in speed_store()
|
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | pci-bridge-emul.h | 103 * space. old is the current value, new is the new value being 108 u32 old, u32 new, u32 mask); 115 u32 old, u32 new, u32 mask); 122 u32 old, u32 new, u32 mask);
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dexcr/ |
H A D | hashchk_test.c | 49 struct sigaction old; in hashchk_detected_test() local 56 old = push_signal_handler(SIGILL, hashchk_handler); in hashchk_detected_test() 65 pop_signal_handler(SIGILL, old); in hashchk_detected_test()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_extend.c | 104 const struct nf_ct_ext *old = ct->ext; in nf_ct_ext_add() local 106 if (__nf_ct_ext_exist(old, id)) in nf_ct_ext_add() 108 oldlen = old->len; in nf_ct_ext_add()
|
/kernel/linux/linux-5.10/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()
|