/third_party/musl/porting/liteos_m/user/arch/arm/ |
H A D | atomic_arch.h | 51 int old; in a_cas() local 57 if ((old=*p)!=t) return old; in a_cas()
|
/third_party/node/deps/npm/node_modules/cacache/lib/ |
H A D | memoization.js | 15 const old = {} 17 old[k] = v 20 return old
|
/third_party/musl/arch/arm/ |
H A D | atomic_arch.h | 53 int old; in a_cas() local 59 if ((old=*p)!=t) return old; in a_cas()
|
/third_party/rust/crates/quote/src/ |
H A D | format.rs | 139 ([$old:expr, $($fmt:tt)*] span = $span:expr) => { 140 $crate::format_ident_impl!([$old, $($fmt)*] span = $span,) 142 ([$old:expr, $($fmt:tt)*] span = $span:expr, $($rest:tt)*) => {
|
/third_party/vk-gl-cts/scripts/ |
H A D | caselist_diff.py | 166 def diffCaseLists (old, new): 170 oldSet = set(old) 179 for case in old: 187 print("%s [old caselist] [new caselist]" % sys.argv[0])
|
/kernel/linux/linux-5.10/fs/ |
H A D | namespace.c | 1033 static struct mount *clone_mnt(struct mount *old, struct dentry *root, in clone_mnt() argument 1036 struct super_block *sb = old->mnt.mnt_sb; in clone_mnt() 1040 mnt = alloc_vfsmnt(old->mnt_devname); in clone_mnt() 1047 mnt->mnt_group_id = old->mnt_group_id; in clone_mnt() 1055 mnt->mnt.mnt_flags = old->mnt.mnt_flags; in clone_mnt() 1068 ((flag & CL_SHARED_TO_SLAVE) && IS_MNT_SHARED(old))) { in clone_mnt() 1069 list_add(&mnt->mnt_slave, &old->mnt_slave_list); in clone_mnt() 1070 mnt->mnt_master = old; in clone_mnt() 1073 if ((flag & CL_MAKE_SHARED) || IS_MNT_SHARED(old)) in clone_mnt() 1074 list_add(&mnt->mnt_share, &old in clone_mnt() 2054 unsigned int mounts = 0, old, pending, sum; count_mounts() local 2332 struct mount *mnt = ERR_PTR(-EINVAL), *old = real_mount(old_path->mnt); __do_loopback() local 2691 struct mount *old; do_move_mount() local 3329 struct mount *old; copy_mnt_ns() local 3724 struct path new, old, root; SYSCALL_DEFINE2() local [all...] |
H A D | timerfd.c | 440 struct itimerspec64 *old) in do_timerfd_settime() 497 old->it_value = ktime_to_timespec64(timerfd_get_remaining(ctx)); in do_timerfd_settime() 498 old->it_interval = ktime_to_timespec64(ctx->tintv); in do_timerfd_settime() 546 struct itimerspec64 new, old; in SYSCALL_DEFINE4() local 551 ret = do_timerfd_settime(ufd, flags, &new, &old); in SYSCALL_DEFINE4() 554 if (otmr && put_itimerspec64(&old, otmr)) in SYSCALL_DEFINE4() 574 struct itimerspec64 new, old; in SYSCALL_DEFINE4() local 579 ret = do_timerfd_settime(ufd, flags, &new, &old); in SYSCALL_DEFINE4() 582 if (otmr && put_old_itimerspec32(&old, otmr)) in SYSCALL_DEFINE4() 438 do_timerfd_settime(int ufd, int flags, const struct itimerspec64 *new, struct itimerspec64 *old) do_timerfd_settime() argument
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | osal_list.h | 128 * list_replace - replace old entry by new one 129 * @old : the element to be replaced 132 * If @old was empty, it will be overwritten. 134 static inline void osal_list_replace(struct osal_list_head *old, in osal_list_replace() argument 137 new->next = old->next; in osal_list_replace() 139 new->prev = old->prev; in osal_list_replace() 143 static inline void osal_list_replace_init(struct osal_list_head *old, in osal_list_replace_init() argument 146 osal_list_replace(old, new); in osal_list_replace_init() 147 OSAL_INIT_LIST_HEAD(old); in osal_list_replace_init() 691 static inline void osal_hlist_move_list(struct osal_hlist_head *old, in osal_hlist_move_list() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | osal_list.h | 125 * list_replace - replace old entry by new one 126 * @old : the element to be replaced 129 * If @old was empty, it will be overwritten. 131 static inline void osal_list_replace(struct osal_list_head *old, in osal_list_replace() argument 134 new->next = old->next; in osal_list_replace() 136 new->prev = old->prev; in osal_list_replace() 140 static inline void osal_list_replace_init(struct osal_list_head *old, in osal_list_replace_init() argument 143 osal_list_replace(old, new); in osal_list_replace_init() 144 OSAL_INIT_LIST_HEAD(old); in osal_list_replace_init() 688 static inline void osal_hlist_move_list(struct osal_hlist_head *old, in osal_hlist_move_list() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | osal_list.h | 124 * list_replace - replace old entry by new one 125 * @old : the element to be replaced 128 * If @old was empty, it will be overwritten. 130 static inline void osal_list_replace(struct osal_list_head *old, in osal_list_replace() argument 133 new->next = old->next; in osal_list_replace() 135 new->prev = old->prev; in osal_list_replace() 139 static inline void osal_list_replace_init(struct osal_list_head *old, in osal_list_replace_init() argument 142 osal_list_replace(old, new); in osal_list_replace_init() 143 OSAL_INIT_LIST_HEAD(old); in osal_list_replace_init() 687 static inline void osal_hlist_move_list(struct osal_hlist_head *old, in osal_hlist_move_list() argument [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | osal_list.h | 127 * list_replace - replace old entry by new one 128 * @old : the element to be replaced 131 * If @old was empty, it will be overwritten. 133 static inline void osal_list_replace(struct osal_list_head *old, in osal_list_replace() argument 136 new->next = old->next; in osal_list_replace() 138 new->prev = old->prev; in osal_list_replace() 142 static inline void osal_list_replace_init(struct osal_list_head *old, in osal_list_replace_init() argument 145 osal_list_replace(old, new); in osal_list_replace_init() 146 OSAL_INIT_LIST_HEAD(old); in osal_list_replace_init() 686 static inline void osal_hlist_move_list(struct osal_hlist_head *old, in osal_hlist_move_list() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 283 pte_basic_t old; in pte_update() local 300 : "=&r" (old), "=&r" (tmp), "=m" (*p) in pte_update() 309 old = pte_val(*p); in pte_update() 311 *p = __pte((old & ~(pte_basic_t)clr) | set); in pte_update() 314 return old; in pte_update() 325 unsigned long old; in __ptep_test_and_clear_young() local 326 old = pte_update(mm, addr, ptep, _PAGE_ACCESSED, 0, 0); in __ptep_test_and_clear_young() 327 if (old & _PAGE_HASHPTE) in __ptep_test_and_clear_young() 330 return (old & _PAGE_ACCESSED) != 0; in __ptep_test_and_clear_young()
|
/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
H A D | usbkbd.c | 59 * @old: data received in the past from the @irq URB representing which 83 unsigned char old[8]; member 122 if (kbd->old[i] > 3 && memscan(kbd->new + 2, kbd->old[i], 6) == kbd->new + 8) { in usb_kbd_irq() 123 if (usb_kbd_keycode[kbd->old[i]]) in usb_kbd_irq() 124 input_report_key(kbd->dev, usb_kbd_keycode[kbd->old[i]], 0); in usb_kbd_irq() 128 kbd->old[i]); in usb_kbd_irq() 131 if (kbd->new[i] > 3 && memscan(kbd->old + 2, kbd->new[i], 6) == kbd->old + 8) { in usb_kbd_irq() 143 memcpy(kbd->old, kb in usb_kbd_irq() [all...] |
/kernel/linux/linux-5.10/drivers/of/ |
H A D | irq.c | 95 struct device_node *ipar, *tnode, *old = NULL, *newpar = NULL; in of_irq_parse_raw() local 129 /* Look for this #address-cells. We have to implement the old linux in of_irq_parse_raw() 132 old = of_node_get(ipar); in of_irq_parse_raw() 134 tmp = of_get_property(old, "#address-cells", NULL); in of_irq_parse_raw() 135 tnode = of_get_parent(old); in of_irq_parse_raw() 136 of_node_put(old); in of_irq_parse_raw() 137 old = tnode; in of_irq_parse_raw() 138 } while (old && tmp == NULL); in of_irq_parse_raw() 139 of_node_put(old); in of_irq_parse_raw() 140 old in of_irq_parse_raw() [all...] |
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
H A D | fdt_rw.c | 393 static void fdt_packblocks_(const char *old, char *new, in fdt_packblocks_() argument 402 memmove(new + mem_rsv_off, old + fdt_off_mem_rsvmap(old), mem_rsv_size); in fdt_packblocks_() 405 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in fdt_packblocks_() 409 memmove(new + strings_off, old + fdt_off_dt_strings(old), in fdt_packblocks_() 410 fdt_size_dt_strings(old)); in fdt_packblocks_() 412 fdt_set_size_dt_strings(new, fdt_size_dt_strings(old)); in fdt_packblocks_() 460 /* But if that overlaps with the old tre in fdt_open_into() [all...] |
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | list.h | 117 * list_replace - replace old entry by new one 118 * @old : the element to be replaced 121 * If @old was empty, it will be overwritten. 123 static inline void list_replace(struct list_head *old, in list_replace() argument 126 new->next = old->next; in list_replace() 128 new->prev = old->prev; in list_replace() 132 static inline void list_replace_init(struct list_head *old, in list_replace_init() argument 135 list_replace(old, new); in list_replace_init() 136 INIT_LIST_HEAD(old); in list_replace_init() 685 static inline void hlist_move_list(struct hlist_head *old, in hlist_move_list() argument [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | quota.c | 267 static bool ceph_quota_is_same_realm(struct inode *old, struct inode *new) in ceph_quota_is_same_realm() argument 269 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(old->i_sb); in ceph_quota_is_same_realm() 281 old_realm = get_quota_realm(mdsc, old, true); in ceph_quota_is_same_realm() 522 * @old: inode to be copied 527 * source @old as well, if it's a directory). The actual check is done both for 531 * exceeded, -EXDEV (if @old is a directory) or -EDQUOT. 534 struct inode *old, struct inode *new) in ceph_quota_check_rename() 536 struct ceph_inode_info *ci_old = ceph_inode(old); in ceph_quota_check_rename() 539 if (ceph_quota_is_same_realm(old, new)) in ceph_quota_check_rename() 550 if (S_ISDIR(old in ceph_quota_check_rename() 533 ceph_quota_check_rename(struct ceph_mds_client *mdsc, struct inode *old, struct inode *new) ceph_quota_check_rename() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | timerfd.c | 456 struct itimerspec64 *old) in do_timerfd_settime() 513 old->it_value = ktime_to_timespec64(timerfd_get_remaining(ctx)); in do_timerfd_settime() 514 old->it_interval = ktime_to_timespec64(ctx->tintv); in do_timerfd_settime() 562 struct itimerspec64 new, old; in SYSCALL_DEFINE4() local 567 ret = do_timerfd_settime(ufd, flags, &new, &old); in SYSCALL_DEFINE4() 570 if (otmr && put_itimerspec64(&old, otmr)) in SYSCALL_DEFINE4() 590 struct itimerspec64 new, old; in SYSCALL_DEFINE4() local 595 ret = do_timerfd_settime(ufd, flags, &new, &old); in SYSCALL_DEFINE4() 598 if (otmr && put_old_itimerspec32(&old, otmr)) in SYSCALL_DEFINE4() 454 do_timerfd_settime(int ufd, int flags, const struct itimerspec64 *new, struct itimerspec64 *old) do_timerfd_settime() argument
|
/kernel/linux/linux-6.6/drivers/of/ |
H A D | irq.c | 115 struct device_node *ipar, *tnode, *old = NULL, *newpar = NULL; in of_irq_parse_raw() local 149 /* Look for this #address-cells. We have to implement the old linux in of_irq_parse_raw() 152 old = of_node_get(ipar); in of_irq_parse_raw() 154 tmp = of_get_property(old, "#address-cells", NULL); in of_irq_parse_raw() 155 tnode = of_get_parent(old); in of_irq_parse_raw() 156 of_node_put(old); in of_irq_parse_raw() 157 old = tnode; in of_irq_parse_raw() 158 } while (old && tmp == NULL); in of_irq_parse_raw() 159 of_node_put(old); in of_irq_parse_raw() 160 old in of_irq_parse_raw() [all...] |
/kernel/linux/linux-6.6/drivers/hid/usbhid/ |
H A D | usbkbd.c | 59 * @old: data received in the past from the @irq URB representing which 83 unsigned char old[8]; member 122 if (kbd->old[i] > 3 && memscan(kbd->new + 2, kbd->old[i], 6) == kbd->new + 8) { in usb_kbd_irq() 123 if (usb_kbd_keycode[kbd->old[i]]) in usb_kbd_irq() 124 input_report_key(kbd->dev, usb_kbd_keycode[kbd->old[i]], 0); in usb_kbd_irq() 128 kbd->old[i]); in usb_kbd_irq() 131 if (kbd->new[i] > 3 && memscan(kbd->old + 2, kbd->new[i], 6) == kbd->old + 8) { in usb_kbd_irq() 143 memcpy(kbd->old, kb in usb_kbd_irq() [all...] |
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | list.h | 117 * list_replace - replace old entry by new one 118 * @old : the element to be replaced 121 * If @old was empty, it will be overwritten. 123 static inline void list_replace(struct list_head *old, in list_replace() argument 126 new->next = old->next; in list_replace() 128 new->prev = old->prev; in list_replace() 132 static inline void list_replace_init(struct list_head *old, in list_replace_init() argument 135 list_replace(old, new); in list_replace_init() 136 INIT_LIST_HEAD(old); in list_replace_init() 696 static inline void hlist_move_list(struct hlist_head *old, in hlist_move_list() argument [all...] |
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | list.h | 104 list_replace(struct list_head *old, struct list_head *new) in list_replace() argument 106 new->next = old->next; in list_replace() 108 new->prev = old->prev; in list_replace() 113 list_replace_init(struct list_head *old, struct list_head *new) in list_replace_init() argument 115 list_replace(old, new); in list_replace_init() 116 INIT_LIST_HEAD(old); in list_replace_init() 384 hlist_move_list(struct hlist_head *old, struct hlist_head *new) in hlist_move_list() argument 387 new->first = old->first; in hlist_move_list() 390 old->first = NULL; in hlist_move_list()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | driver.c | 51 const char *new, *old; in driver_set_override() local 69 old = *override; in driver_set_override() 72 kfree(old); in driver_set_override() 86 old = *override; in driver_set_override() 96 kfree(old); in driver_set_override()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | smp.c | 267 unsigned long old, new; in ipi_send_msg_one() local 276 * and read back old value in ipi_send_msg_one() 279 new = old = READ_ONCE(*ipi_data_ptr); in ipi_send_msg_one() 281 } while (cmpxchg(ipi_data_ptr, old, new) != old); in ipi_send_msg_one() 288 * IPI handler, because !@old means it has not yet dequeued the msg(s) in ipi_send_msg_one() 291 if (plat_smp_ops.ipi_send && !old) in ipi_send_msg_one()
|
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A D | smp.c | 258 unsigned long old, new; in ipi_send_msg_one() local 267 * and read back old value in ipi_send_msg_one() 270 new = old = *ipi_data_ptr; in ipi_send_msg_one() 272 } while (cmpxchg(ipi_data_ptr, old, new) != old); in ipi_send_msg_one() 279 * IPI handler, because !@old means it has not yet dequeued the msg(s) in ipi_send_msg_one() 282 if (plat_smp_ops.ipi_send && !old) in ipi_send_msg_one()
|