Home
last modified time | relevance | path

Searched refs:old (Results 526 - 550 of 3949) sorted by relevance

1...<<21222324252627282930>>...158

/kernel/linux/linux-6.6/block/
H A Dblk-iolatency.c335 unsigned long old = atomic_read(&lat_info->scale_cookie); in scale_cookie_change() local
339 if (old < DEFAULT_SCALE_COOKIE) in scale_cookie_change()
340 diff = DEFAULT_SCALE_COOKIE - old; in scale_cookie_change()
343 if (scale + old > DEFAULT_SCALE_COOKIE) in scale_cookie_change()
377 unsigned long old = iolat->max_depth; in scale_change() local
379 if (old > qd) in scale_change()
380 old = qd; in scale_change()
383 if (old == 1 && blkcg_unuse_delay(lat_to_blkg(iolat))) in scale_change()
386 if (old < qd) { in scale_change()
387 old in scale_change()
[all...]
/third_party/libdrm/
H A Dxf86drm.h372 #define DRM_CAS(lock,old,new,__ret) \
381 : "2" (old), \
387 #define DRM_CAS(lock, old, new, ret) \
406 : "r"(new), "r"(old) \
412 #define DRM_CAS(lock,old,new,__ret) \
416 __old = old; \
438 #define DRM_CAS(lock,old,new,__ret) \
440 unsigned long __result, __old = (old) & 0xffffffff; \
445 (old), (new)) \
446 != (old)); */\
[all...]
/kernel/linux/linux-5.10/fs/
H A Dnamespace.c1033 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 Dtimerfd.c440 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
/kernel/linux/linux-6.6/virt/kvm/
H A Dkvm_main.c706 * doesn't hold references to the old PFN. in kvm_change_spte_gfn()
1475 struct kvm_memory_slot *old, in kvm_replace_gfn_node()
1480 WARN_ON_ONCE(old->base_gfn != new->base_gfn); in kvm_replace_gfn_node()
1482 rb_replace_node(&old->gfn_node[idx], &new->gfn_node[idx], in kvm_replace_gfn_node()
1487 * Replace @old with @new in the inactive memslots.
1489 * With NULL @old this simply adds @new.
1490 * With NULL @new this simply removes @old.
1496 struct kvm_memory_slot *old, in kvm_replace_memslot()
1499 int as_id = kvm_memslots_get_as_id(old, new); in kvm_replace_memslot()
1503 if (old) { in kvm_replace_memslot()
1474 kvm_replace_gfn_node(struct kvm_memslots *slots, struct kvm_memory_slot *old, struct kvm_memory_slot *new) kvm_replace_gfn_node() argument
1495 kvm_replace_memslot(struct kvm *kvm, struct kvm_memory_slot *old, struct kvm_memory_slot *new) kvm_replace_memslot() argument
1620 kvm_prepare_memory_region(struct kvm *kvm, const struct kvm_memory_slot *old, struct kvm_memory_slot *new, enum kvm_mr_change change) kvm_prepare_memory_region() argument
1658 kvm_commit_memory_region(struct kvm *kvm, struct kvm_memory_slot *old, const struct kvm_memory_slot *new, enum kvm_mr_change change) kvm_commit_memory_region() argument
1720 kvm_activate_memslot(struct kvm *kvm, struct kvm_memory_slot *old, struct kvm_memory_slot *new) kvm_activate_memslot() argument
1745 kvm_invalidate_memslot(struct kvm *kvm, struct kvm_memory_slot *old, struct kvm_memory_slot *invalid_slot) kvm_invalidate_memslot() argument
1795 kvm_delete_memslot(struct kvm *kvm, struct kvm_memory_slot *old, struct kvm_memory_slot *invalid_slot) kvm_delete_memslot() argument
1807 kvm_move_memslot(struct kvm *kvm, struct kvm_memory_slot *old, struct kvm_memory_slot *new, struct kvm_memory_slot *invalid_slot) kvm_move_memslot() argument
1820 kvm_update_flags_memslot(struct kvm *kvm, struct kvm_memory_slot *old, struct kvm_memory_slot *new) kvm_update_flags_memslot() argument
1833 kvm_set_memslot(struct kvm *kvm, struct kvm_memory_slot *old, struct kvm_memory_slot *new, enum kvm_mr_change change) kvm_set_memslot() argument
1952 struct kvm_memory_slot *old, *new; __kvm_set_memory_region() local
3418 unsigned int old, val, grow, grow_start; grow_halt_poll_ns() local
3437 unsigned int old, val, shrink, grow_start; shrink_halt_poll_ns() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h283 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 Dusbkbd.c59 * @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 Dirq.c95 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 Dfdt_rw.c393 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 Dlist.h117 * 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 Dquota.c267 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 Dtimerfd.c456 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 Dirq.c115 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 Dusbkbd.c59 * @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 Dlist.h117 * 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 Dlist.h104 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()
/third_party/musl/src/linux/
H A Dpivot_root.c3 int pivot_root(const char *new, const char *old) in pivot_root() argument
5 return syscall(SYS_pivot_root, new, old); in pivot_root()
/kernel/linux/linux-5.10/drivers/base/
H A Ddriver.c51 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 Dsmp.c267 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 Dsmp.c258 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()
/kernel/linux/linux-5.10/tools/lib/perf/
H A Dmmap.c94 u64 old = map->prev; in perf_mmap__consume() local
96 perf_mmap__write_tail(map, old); in perf_mmap__consume()
141 u64 old = md->prev; in __perf_mmap__read_init() local
145 md->start = md->overwrite ? head : old; in __perf_mmap__read_init()
146 md->end = md->overwrite ? old : head; in __perf_mmap__read_init()
/kernel/linux/linux-5.10/fs/isofs/
H A Ddir.c19 char * old = de->name; in isofs_name_translate() local
24 unsigned char c = old[i]; in isofs_name_translate()
32 if (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1') in isofs_name_translate()
36 if (c == ';' && i == len - 2 && old[i + 1] == '1') in isofs_name_translate()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_frontbuffer.c113 /* Remove stale busy bits due to the old buffer. */ in intel_frontbuffer_flip_prepare()
156 /* Remove stale busy bits due to the old buffer. */ in intel_frontbuffer_flip()
285 * @old: current buffer for the frontbuffer slots
290 * from @old and setting them in @new. Both @old and @new can be NULL.
292 void intel_frontbuffer_track(struct intel_frontbuffer *old, in intel_frontbuffer_track() argument
306 if (old) { in intel_frontbuffer_track()
307 drm_WARN_ON(old->obj->base.dev, in intel_frontbuffer_track()
308 !(atomic_read(&old->bits) & frontbuffer_bits)); in intel_frontbuffer_track()
309 atomic_andnot(frontbuffer_bits, &old in intel_frontbuffer_track()
[all...]
/kernel/linux/linux-6.6/fs/isofs/
H A Ddir.c19 char * old = de->name; in isofs_name_translate() local
24 unsigned char c = old[i]; in isofs_name_translate()
32 if (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1') in isofs_name_translate()
36 if (c == ';' && i == len - 2 && old[i + 1] == '1') in isofs_name_translate()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_frontbuffer.c116 /* Remove stale busy bits due to the old buffer. */ in intel_frontbuffer_flip_prepare()
159 /* Remove stale busy bits due to the old buffer. */ in intel_frontbuffer_flip()
282 * @old: current buffer for the frontbuffer slots
287 * from @old and setting them in @new. Both @old and @new can be NULL.
289 void intel_frontbuffer_track(struct intel_frontbuffer *old, in intel_frontbuffer_track() argument
305 if (old) { in intel_frontbuffer_track()
306 drm_WARN_ON(&intel_bo_to_i915(old->obj)->drm, in intel_frontbuffer_track()
307 !(atomic_read(&old->bits) & frontbuffer_bits)); in intel_frontbuffer_track()
308 atomic_andnot(frontbuffer_bits, &old in intel_frontbuffer_track()
[all...]

Completed in 35 milliseconds

1...<<21222324252627282930>>...158