Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 17 of 17) sorted by relevance

/kernel/power/
Dsnapshot.c429 struct rtree_node *node, *block, **dst; in add_rtree_block() local
461 dst = &zone->rtree; in add_rtree_block()
471 *dst = node; in add_rtree_block()
476 dst = (struct rtree_node **)&((*dst)->data[index]); in add_rtree_block()
477 node = *dst; in add_rtree_block()
481 *dst = block; in add_rtree_block()
1320 static inline void do_copy_page(long *dst, long *src) in do_copy_page() argument
1325 *dst++ = *src++; in do_copy_page()
1335 static void safe_copy_page(void *dst, struct page *s_page) in safe_copy_page() argument
1338 do_copy_page(dst, page_address(s_page)); in safe_copy_page()
[all …]
/kernel/events/
Dinternal.h169 memcpy_common(void *dst, const void *src, unsigned long n) in memcpy_common() argument
171 memcpy(dst, src, n); in memcpy_common()
178 memcpy_skip(void *dst, const void *src, unsigned long n) in DEFINE_OUTPUT_COPY()
189 arch_perf_out_copy_user(void *dst, const void *src, unsigned long n) in DEFINE_OUTPUT_COPY()
194 ret = __copy_from_user_inatomic(dst, src, n); in DEFINE_OUTPUT_COPY()
Duprobes.c235 static void copy_from_page(struct page *page, unsigned long vaddr, void *dst, int len) in copy_from_page() argument
238 memcpy(dst, kaddr + (vaddr & ~PAGE_MASK), len); in copy_from_page()
/kernel/
Dptrace.c570 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata() argument
586 if (copy_to_user(dst, buf, retval)) in ptrace_readdata()
590 dst += retval; in ptrace_readdata()
596 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata() argument
607 retval = ptrace_access_vm(tsk, dst, buf, this_len, in ptrace_writedata()
616 dst += retval; in ptrace_writedata()
Dcompat.c664 int get_compat_itimerspec(struct itimerspec *dst, in get_compat_itimerspec() argument
667 if (__compat_get_timespec(&dst->it_interval, &src->it_interval) || in get_compat_itimerspec()
668 __compat_get_timespec(&dst->it_value, &src->it_value)) in get_compat_itimerspec()
673 int put_compat_itimerspec(struct compat_itimerspec __user *dst, in put_compat_itimerspec() argument
676 if (__compat_put_timespec(&src->it_interval, &dst->it_interval) || in put_compat_itimerspec()
677 __compat_put_timespec(&src->it_value, &dst->it_value)) in put_compat_itimerspec()
Dmodule.c2651 Elf_Sym *dst; in add_kallsyms() local
2669 mod->core_kallsyms.symtab = dst = mod->core_layout.base + info->symoffs; in add_kallsyms()
2676 dst[ndst] = src[i]; in add_kallsyms()
2677 dst[ndst++].st_name = s - mod->core_kallsyms.strtab; in add_kallsyms()
2802 static int copy_chunked_from_user(void *dst, const void __user *usrc, unsigned long len) in copy_chunked_from_user() argument
2807 if (copy_from_user(dst, usrc, n) != 0) in copy_chunked_from_user()
2810 dst += n; in copy_chunked_from_user()
Dfork.c458 int __weak arch_dup_task_struct(struct task_struct *dst, in arch_dup_task_struct() argument
461 *dst = *src; in arch_dup_task_struct()
/kernel/trace/
Dbpf_trace.c64 BPF_CALL_3(bpf_probe_read, void *, dst, u32, size, const void *, unsafe_ptr) in BPF_CALL_3() argument
68 ret = probe_kernel_read(dst, unsafe_ptr, size); in BPF_CALL_3()
70 memset(dst, 0, size); in BPF_CALL_3()
Dtrace_probe.c229 u8 *dst = get_rloc_data(dest); in FETCH_FUNC_NAME() local
235 ret = strlcpy(dst, current->comm, maxlen); in FETCH_FUNC_NAME()
Dtrace_kprobe.c169 u8 *dst = get_rloc_data(dest); in DEFINE_BASIC_FETCH_FUNCS() local
179 ret = strncpy_from_unsafe(dst, addr, maxlen); in DEFINE_BASIC_FETCH_FUNCS()
182 dst[0] = '\0'; in DEFINE_BASIC_FETCH_FUNCS()
Dtrace_uprobe.c145 u8 *dst = get_rloc_data(dest); in DEFINE_BASIC_FETCH_FUNCS() local
151 ret = strncpy_from_user(dst, src, maxlen); in DEFINE_BASIC_FETCH_FUNCS()
Dftrace.c1392 struct ftrace_hash **dst, struct ftrace_hash *src) in ftrace_hash_move() argument
1456 rcu_assign_pointer(*dst, new_hash); in ftrace_hash_move()
/kernel/time/
Dclocksource.c869 ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt) in sysfs_get_uname() argument
881 memcpy(dst, buf, cnt); in sysfs_get_uname()
882 dst[cnt] = 0; in sysfs_get_uname()
Dtick-internal.h59 extern ssize_t sysfs_get_uname(const char *buf, char *dst, size_t cnt);
/kernel/gcov/
Dgcc_4_7.c222 void gcov_info_add(struct gcov_info *dst, struct gcov_info *src) in gcov_info_add() argument
231 dci_ptr = dst->functions[fi_idx]->ctrs; in gcov_info_add()
/kernel/locking/
Dlockdep.c188 static inline void lock_time_add(struct lock_time *src, struct lock_time *dst) in lock_time_add() argument
193 if (src->max > dst->max) in lock_time_add()
194 dst->max = src->max; in lock_time_add()
196 if (src->min < dst->min || !dst->nr) in lock_time_add()
197 dst->min = src->min; in lock_time_add()
199 dst->total += src->total; in lock_time_add()
200 dst->nr += src->nr; in lock_time_add()
/kernel/sched/
Dfair.c1681 struct numa_stats *dst = &env->dst_stats; in numa_has_capacity() local
1683 if (src->has_free_capacity && !dst->has_free_capacity) in numa_has_capacity()
1694 if (src->load * dst->compute_capacity * env->imbalance_pct > in numa_has_capacity()
1696 dst->load * src->compute_capacity * 100) in numa_has_capacity()