Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 29) sorted by relevance

12

/kernel/
Dsignal.c3183 int copy_siginfo_to_user(siginfo_t __user *to, const kernel_siginfo_t *from) in copy_siginfo_to_user() argument
3186 if (copy_to_user(to, from , sizeof(struct kernel_siginfo))) in copy_siginfo_to_user()
3194 const siginfo_t __user *from) in post_copy_siginfo_from_user() argument
3197 char __user *expansion = si_expansion(from); in post_copy_siginfo_from_user()
3217 const siginfo_t __user *from) in __copy_siginfo_from_user() argument
3219 if (copy_from_user(to, from, sizeof(struct kernel_siginfo))) in __copy_siginfo_from_user()
3222 return post_copy_siginfo_from_user(to, from); in __copy_siginfo_from_user()
3225 int copy_siginfo_from_user(kernel_siginfo_t *to, const siginfo_t __user *from) in copy_siginfo_from_user() argument
3227 if (copy_from_user(to, from, sizeof(struct kernel_siginfo))) in copy_siginfo_from_user()
3229 return post_copy_siginfo_from_user(to, from); in copy_siginfo_from_user()
[all …]
Dsoftirq.c710 unsigned int __weak arch_dynirq_lower_bound(unsigned int from) in arch_dynirq_lower_bound() argument
712 return from; in arch_dynirq_lower_bound()
Drelay.c1132 void *from; in relay_file_read() local
1143 from = buf->start + read_start; in relay_file_read()
1145 if (copy_to_user(buffer, from, avail)) in relay_file_read()
Dworkqueue.c3373 const struct workqueue_attrs *from) in copy_workqueue_attrs() argument
3375 to->nice = from->nice; in copy_workqueue_attrs()
3376 cpumask_copy(to->cpumask, from->cpumask); in copy_workqueue_attrs()
3382 to->no_numa = from->no_numa; in copy_workqueue_attrs()
Dfutex.c795 static int get_futex_value_locked(u32 *dest, u32 __user *from) in get_futex_value_locked() argument
800 ret = __get_user(*dest, from); in get_futex_value_locked()
/kernel/irq/
Dirqdesc.c736 void irq_free_descs(unsigned int from, unsigned int cnt) in irq_free_descs() argument
740 if (from >= nr_irqs || (from + cnt) > nr_irqs) in irq_free_descs()
745 free_desc(from + i); in irq_free_descs()
747 bitmap_clear(allocated_irqs, from, cnt); in irq_free_descs()
766 __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node, in __irq_alloc_descs() argument
775 if (from > irq) in __irq_alloc_descs()
777 from = irq; in __irq_alloc_descs()
784 from = arch_dynirq_lower_bound(from); in __irq_alloc_descs()
790 from, cnt, 0); in __irq_alloc_descs()
845 void irq_free_hwirqs(unsigned int from, int cnt) in irq_free_hwirqs() argument
[all …]
Ddevres.c150 unsigned int from; member
158 irq_free_descs(this->from, this->cnt); in devm_irq_desc_release()
178 int __devm_irq_alloc_descs(struct device *dev, int irq, unsigned int from, in __devm_irq_alloc_descs() argument
189 base = __irq_alloc_descs(irq, from, cnt, node, owner, affinity); in __devm_irq_alloc_descs()
195 dr->from = base; in __devm_irq_alloc_descs()
DKconfig34 # Support for delayed migration from interrupt context
/kernel/bpf/
Dcore.c900 static int bpf_jit_blind_insn(const struct bpf_insn *from, in bpf_jit_blind_insn() argument
929 if (from->dst_reg == BPF_REG_AX || from->src_reg == BPF_REG_AX) in bpf_jit_blind_insn()
932 if (from->imm == 0 && in bpf_jit_blind_insn()
933 (from->code == (BPF_ALU | BPF_MOV | BPF_K) || in bpf_jit_blind_insn()
934 from->code == (BPF_ALU64 | BPF_MOV | BPF_K))) { in bpf_jit_blind_insn()
935 *to++ = BPF_ALU64_REG(BPF_XOR, from->dst_reg, from->dst_reg); in bpf_jit_blind_insn()
939 switch (from->code) { in bpf_jit_blind_insn()
949 *to++ = BPF_ALU32_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ from->imm); in bpf_jit_blind_insn()
951 *to++ = BPF_ALU32_REG(from->code, from->dst_reg, BPF_REG_AX); in bpf_jit_blind_insn()
963 *to++ = BPF_ALU64_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ from->imm); in bpf_jit_blind_insn()
[all …]
Dbtf.c183 #define for_each_member_from(i, from, struct_type, member) \ argument
184 for (i = from, member = btf_type_member(struct_type) + from; \
193 #define for_each_vsi_from(i, from, struct_type, member) \ argument
194 for (i = from, member = btf_type_var_secinfo(struct_type) + from; \
/kernel/rcu/
DKconfig34 designed for UP systems from which real-time response
45 side-effect of preventing "make oldconfig" from asking you all
150 they have RCU callbacks queued, and prevents RCU from waking
169 This option also prevents heavy loads from blocking RCU
189 bool "Offload RCU callback processing from boot-selected CPUs"
199 This option offloads callback invocation from the set of CPUs
204 (!PREEMPT kernels). Nothing prevents this kthread from running
/kernel/time/
Dtick-common.c191 int from = tick_do_timer_boot_cpu; in tick_take_do_timer_from_boot() local
193 if (from >= 0 && from != cpu) in tick_take_do_timer_from_boot()
194 smp_call_function_single(from, giveup_do_timer, &cpu, 1); in tick_take_do_timer_from_boot()
Dclocksource.c45 clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 maxsec) in clocks_calc_mult_shift() argument
54 tmp = ((u64)maxsec * from) >> 32; in clocks_calc_mult_shift()
66 tmp += from / 2; in clocks_calc_mult_shift()
67 do_div(tmp, from); in clocks_calc_mult_shift()
DKconfig16 # Architecture has extra clocksource init called from registration
/kernel/events/
Dhw_breakpoint.c452 struct perf_event_attr *from) in hw_breakpoint_copy_attr() argument
454 to->bp_addr = from->bp_addr; in hw_breakpoint_copy_attr()
455 to->bp_type = from->bp_type; in hw_breakpoint_copy_attr()
456 to->bp_len = from->bp_len; in hw_breakpoint_copy_attr()
457 to->disabled = from->disabled; in hw_breakpoint_copy_attr()
/kernel/power/
DKconfig29 of suspend, or they are content with invoking sync() from
52 from <http://suspend.sf.net>.
62 have it detect the saved image, restore memory state from it, and
180 fields of device objects from user space. If you are not a kernel
222 functions from <linux/resume-trace.h> as well as the
260 and the Battery Powered Linux mini-HOWTO, available from
320 smarter decisions. This config option enables the framework from
/kernel/gcov/
DKconfig26 To exclude files from being profiled even when CONFIG_GCOV_PROFILE_ALL
51 larger and run slower. Also be sure to exclude files from profiling
/kernel/cgroup/
Dcgroup-v1.c59 int cgroup_attach_task_all(struct task_struct *from, struct task_struct *tsk) in cgroup_attach_task_all() argument
73 from_cgrp = task_cgroup_from_root(from, root); in cgroup_attach_task_all()
98 int cgroup_transfer_tasks(struct cgroup *to, struct cgroup *from) in cgroup_transfer_tasks() argument
119 list_for_each_entry(link, &from->cset_links, cset_link) in cgroup_transfer_tasks()
132 css_task_iter_start(&from->self, 0, &it); in cgroup_transfer_tasks()
Dcpuset.c1570 nodemask_t from; member
1580 do_migrate_pages(mwork->mm, &mwork->from, &mwork->to, MPOL_MF_MOVE_ALL); in cpuset_migrate_mm_workfn()
1585 static void cpuset_migrate_mm(struct mm_struct *mm, const nodemask_t *from, in cpuset_migrate_mm() argument
1593 mwork->from = *from; in cpuset_migrate_mm()
Drdma.c373 argstr.from = value; in parse_resource()
/kernel/configs/
Dxen.config16 # pretty useless systems starting from allnoconfig
/kernel/trace/
DKconfig245 to be scheduled in, starting from the point it has woken up.
392 conditions. This prevents the tracers themselves from being
447 support tools needed), fetch the blktrace tools from:
479 bool "Do NOT protect notrace function from kprobe events"
488 functions are protected from kprobe-events to prevent an infinit
628 debugging and reverse engineering. It is called from the ioremap
Dblktrace.c993 dev_t dev, sector_t from) in blk_add_trace_bio_remap() argument
1003 r.sector_from = cpu_to_be64(from); in blk_add_trace_bio_remap()
1026 sector_t from) in blk_add_trace_rq_remap() argument
1036 r.sector_from = cpu_to_be64(from); in blk_add_trace_rq_remap()
/kernel/dma/
DKconfig188 unexpected behaviour from DMA API implementations if the scatterlist
/kernel/printk/
Dprintk.c805 static ssize_t devkmsg_write(struct kiocb *iocb, struct iov_iter *from) in devkmsg_write() argument
812 size_t len = iov_iter_count(from); in devkmsg_write()
833 if (!copy_from_iter_full(buf, len, from)) { in devkmsg_write()

12