/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...] |
H A D | exec_domain.c | 40 unsigned int old = current->personality; in SYSCALL_DEFINE1() local 45 return old; in SYSCALL_DEFINE1()
|
/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...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | flow.c | 31 int remove_phisources(struct basic_block *par, struct basic_block *old) in remove_phisources() argument 36 FOR_EACH_PTR(old->insns, insn) { in remove_phisources() 92 struct basic_block *old, in rewrite_branch() 95 if (*ptr != old || new == old || !bb->ep) in rewrite_branch() 102 replace_bb_in_list(&bb->children, old, new, 1); in rewrite_branch() 103 remove_bb_from_list(&old->parents, bb, 1); in rewrite_branch() 664 static int rewrite_parent_branch(struct basic_block *bb, struct basic_block *old, struct basic_block *new) in rewrite_parent_branch() argument 673 if (old == new) in rewrite_parent_branch() 678 changed |= rewrite_branch(bb, &insn->bb_false, old, ne in rewrite_parent_branch() 90 rewrite_branch(struct basic_block *bb, struct basic_block **ptr, struct basic_block *old, struct basic_block *new) rewrite_branch() argument [all...] |
H A D | evaluate.c | 250 struct symbol *old = expr->ctype; in is_same_type() local 254 old = base_type(old, &oldmod, &oldas); in is_same_type() 258 if (old == new && oldas == newas) { in is_same_type() 315 static struct expression * cast_to(struct expression *old, struct symbol *type) in cast_to() argument 319 warn_for_different_enum_types (old->pos, old->ctype, type); in cast_to() 321 if (old->ctype != &null_ctype && is_same_type(old, type)) in cast_to() 322 return old; in cast_to() 2517 next_designators(struct expression *old, struct symbol *ctype, struct expression *e, struct expression **v) next_designators() argument 2856 struct expression *old = expr->cast_expression; cast_to_bool() local 2878 cast_flags(struct expression *expr, struct expression *old) cast_flags() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/boot/ |
H A D | install.sh | 52 mv $4/$base-$1 $4/$base-$1.old 58 mv $4/System.map-$1 $4/System.map-$1.old
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
H A D | cmpxchg.h | 54 #define cmpxchg(ptr, old, new) \ 57 __typeof__(*(ptr)) __old = (old); \
|
/kernel/linux/linux-5.10/arch/parisc/ |
H A D | install.sh | 58 mv $4/$base-$1 $4/$base-$1.old 64 mv $4/System.map-$1 $4/System.map-$1.old
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
H A D | cmpxchg-grb.h | 15 " mov.l @%1, %0 \n\t" /* load old value */ in xchg_u32() 36 " mov.w @%1, %0 \n\t" /* load old value */ in xchg_u16() 58 " mov.b @%1, %0 \n\t" /* load old value */ in xchg_u8() 71 static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old, in __cmpxchg_u32() argument 82 " mov.l @%3, %0 \n\t" /* load old value */ in __cmpxchg_u32() 88 "+r" (old), "+r" (new) /* old or new can be r15 */ in __cmpxchg_u32()
|
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | install.sh | 42 mv $4/vmlinuz $4/vmlinuz.old 46 mv $4/System.map $4/System.old
|
/kernel/linux/linux-6.6/arch/hexagon/include/asm/ |
H A D | cmpxchg.h | 54 #define arch_cmpxchg(ptr, old, new) \ 57 __typeof__(*(ptr)) __old = (old); \
|
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | cmpxchg-grb.h | 15 " mov.l @%1, %0 \n\t" /* load old value */ in xchg_u32() 36 " mov.w @%1, %0 \n\t" /* load old value */ in xchg_u16() 58 " mov.b @%1, %0 \n\t" /* load old value */ in xchg_u8() 71 static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old, in __cmpxchg_u32() argument 82 " mov.l @%3, %0 \n\t" /* load old value */ in __cmpxchg_u32() 88 "+r" (old), "+r" (new) /* old or new can be r15 */ in __cmpxchg_u32()
|
/kernel/linux/linux-5.10/tools/arch/x86/include/asm/ |
H A D | atomic.h | 68 static __always_inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() argument 70 return cmpxchg(&v->counter, old, new); in atomic_cmpxchg()
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/linux/ |
H A D | percpu.h | 9 #define this_cpu_cmpxchg(var, old, new) uatomic_cmpxchg(&var, old, new)
|
/kernel/linux/linux-5.10/kernel/ |
H A D | exec_domain.c | 40 unsigned int old = current->personality; in SYSCALL_DEFINE1() local 45 return old; in SYSCALL_DEFINE1()
|
/kernel/linux/linux-6.6/tools/testing/radix-tree/linux/ |
H A D | percpu.h | 9 #define this_cpu_cmpxchg(var, old, new) uatomic_cmpxchg(&var, old, new)
|
/kernel/linux/linux-6.6/security/landlock/ |
H A D | cred.c | 18 const struct cred *const old, const gfp_t gfp) in hook_cred_prepare() 20 struct landlock_ruleset *const old_dom = landlock_cred(old)->domain; in hook_cred_prepare() 17 hook_cred_prepare(struct cred *const new, const struct cred *const old, const gfp_t gfp) hook_cred_prepare() argument
|
/third_party/node/test/parallel/ |
H A D | test-process-umask-mask.js | 22 const old = process.umask(); 28 process.umask(old);
|
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | __getitimer_time64.c | 63 struct itimerval old; in getitimer_time64_0100() local 64 int result = __getitimer_time64(ITIMER_REAL, &old); in getitimer_time64_0100()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_rm_xics.c | 86 union kvmppc_rm_state old, new; in grab_next_hostcore() local 89 old = new = READ_ONCE(rm_core[core].rm_state); in grab_next_hostcore() 91 if (!old.in_host || old.rm_action) in grab_next_hostcore() 98 old.raw, new.raw) == old.raw; in grab_next_hostcore() 182 union kvmppc_icp_state old, in icp_rm_try_update() 192 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_rm_try_update() 181 icp_rm_try_update(struct kvmppc_icp *icp, union kvmppc_icp_state old, union kvmppc_icp_state new) icp_rm_try_update() argument
|