Home
last modified time | relevance | path

Searched refs:childregs (Results 1 – 25 of 61) sorted by relevance

123

/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/microblaze/kernel/
H A Dprocess.c59 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
70 childregs->pt_mode = 1; in copy_thread()
71 local_save_flags(childregs->msr); in copy_thread()
76 *childregs = *current_pt_regs(); in copy_thread()
78 childregs->r1 = usp; in copy_thread()
82 childregs->msr |= MSR_UMS; in copy_thread()
94 childregs->msr &= ~MSR_EIP; in copy_thread()
95 childregs->msr |= MSR_IE; in copy_thread()
96 childregs->msr &= ~MSR_VM; in copy_thread()
97 childregs->msr |= MSR_VMS; in copy_thread()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/microblaze/kernel/
H A Dprocess.c59 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
70 childregs->pt_mode = 1; in copy_thread()
71 local_save_flags(childregs->msr); in copy_thread()
76 *childregs = *current_pt_regs(); in copy_thread()
78 childregs->r1 = usp; in copy_thread()
82 childregs->msr |= MSR_UMS; in copy_thread()
94 childregs->msr &= ~MSR_EIP; in copy_thread()
95 childregs->msr |= MSR_IE; in copy_thread()
96 childregs->msr &= ~MSR_VM; in copy_thread()
97 childregs->msr |= MSR_VMS; in copy_thread()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/microblaze/kernel/
H A Dprocess.c59 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
70 childregs->pt_mode = 1; in copy_thread()
71 local_save_flags(childregs->msr); in copy_thread()
76 *childregs = *current_pt_regs(); in copy_thread()
78 childregs->r1 = usp; in copy_thread()
82 childregs->msr |= MSR_UMS; in copy_thread()
94 childregs->msr &= ~MSR_EIP; in copy_thread()
95 childregs->msr |= MSR_IE; in copy_thread()
96 childregs->msr &= ~MSR_VM; in copy_thread()
97 childregs->msr |= MSR_VMS; in copy_thread()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/xtensa/kernel/
H A Dprocess.c215 SPILL_SLOT(childregs, 1) = (unsigned long)childregs; in copy_thread()
216 SPILL_SLOT(childregs, 0) = 0; in copy_thread()
232 *childregs = *regs; in copy_thread()
233 childregs->areg[1] = usp; in copy_thread()
234 childregs->areg[2] = 0; in copy_thread()
251 int len = childregs->wmask & ~0xf; in copy_thread()
258 childregs->wmask = 1; in copy_thread()
259 childregs->windowstart = 1; in copy_thread()
260 childregs->windowbase = 0; in copy_thread()
262 int len = childregs->wmask & ~0xf; in copy_thread()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/xtensa/kernel/
H A Dprocess.c215 SPILL_SLOT(childregs, 1) = (unsigned long)childregs; in copy_thread()
216 SPILL_SLOT(childregs, 0) = 0; in copy_thread()
232 *childregs = *regs; in copy_thread()
233 childregs->areg[1] = usp; in copy_thread()
234 childregs->areg[2] = 0; in copy_thread()
251 int len = childregs->wmask & ~0xf; in copy_thread()
258 childregs->wmask = 1; in copy_thread()
259 childregs->windowstart = 1; in copy_thread()
260 childregs->windowbase = 0; in copy_thread()
262 int len = childregs->wmask & ~0xf; in copy_thread()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/xtensa/kernel/
H A Dprocess.c215 SPILL_SLOT(childregs, 1) = (unsigned long)childregs; in copy_thread()
216 SPILL_SLOT(childregs, 0) = 0; in copy_thread()
232 *childregs = *regs; in copy_thread()
233 childregs->areg[1] = usp; in copy_thread()
234 childregs->areg[2] = 0; in copy_thread()
251 int len = childregs->wmask & ~0xf; in copy_thread()
258 childregs->wmask = 1; in copy_thread()
259 childregs->windowstart = 1; in copy_thread()
260 childregs->windowbase = 0; in copy_thread()
262 int len = childregs->wmask & ~0xf; in copy_thread()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/hexagon/kernel/
H A Dprocess.c58 struct pt_regs *childregs; in copy_thread() local
61 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) - in copy_thread()
62 sizeof(*childregs)); in copy_thread()
64 ti->regs = childregs; in copy_thread()
72 ss = (struct hexagon_switch_stack *) ((unsigned long) childregs - in copy_thread()
77 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
81 pt_set_kmode(childregs); in copy_thread()
84 memcpy(childregs, current_pt_regs(), sizeof(*childregs)); in copy_thread()
88 pt_set_rte_sp(childregs, usp); in copy_thread()
91 childregs->r00 = 0; in copy_thread()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/hexagon/kernel/
H A Dprocess.c58 struct pt_regs *childregs; in copy_thread() local
61 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) - in copy_thread()
62 sizeof(*childregs)); in copy_thread()
64 ti->regs = childregs; in copy_thread()
72 ss = (struct hexagon_switch_stack *) ((unsigned long) childregs - in copy_thread()
77 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
81 pt_set_kmode(childregs); in copy_thread()
84 memcpy(childregs, current_pt_regs(), sizeof(*childregs)); in copy_thread()
88 pt_set_rte_sp(childregs, usp); in copy_thread()
91 childregs->r00 = 0; in copy_thread()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/hexagon/kernel/
H A Dprocess.c58 struct pt_regs *childregs; in copy_thread() local
61 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) - in copy_thread()
62 sizeof(*childregs)); in copy_thread()
64 ti->regs = childregs; in copy_thread()
72 ss = (struct hexagon_switch_stack *) ((unsigned long) childregs - in copy_thread()
77 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
81 pt_set_kmode(childregs); in copy_thread()
84 memcpy(childregs, current_pt_regs(), sizeof(*childregs)); in copy_thread()
88 pt_set_rte_sp(childregs, usp); in copy_thread()
91 childregs->r00 = 0; in copy_thread()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/s390/kernel/
H A Dprocess.c103 struct pt_regs childregs; in copy_thread() member
135 memset(&frame->childregs, 0, sizeof(struct pt_regs)); in copy_thread()
138 frame->childregs.psw.addr = in copy_thread()
140 frame->childregs.gprs[9] = new_stackp; /* function */ in copy_thread()
141 frame->childregs.gprs[10] = arg; in copy_thread()
142 frame->childregs.gprs[11] = (unsigned long)do_exit; in copy_thread()
143 frame->childregs.orig_gpr2 = -1; in copy_thread()
147 frame->childregs = *current_pt_regs(); in copy_thread()
149 frame->childregs.flags = 0; in copy_thread()
151 frame->childregs.gprs[15] = new_stackp; in copy_thread()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/s390/kernel/
H A Dprocess.c103 struct pt_regs childregs; in copy_thread() member
135 memset(&frame->childregs, 0, sizeof(struct pt_regs)); in copy_thread()
138 frame->childregs.psw.addr = in copy_thread()
140 frame->childregs.gprs[9] = new_stackp; /* function */ in copy_thread()
141 frame->childregs.gprs[10] = arg; in copy_thread()
142 frame->childregs.gprs[11] = (unsigned long)do_exit; in copy_thread()
143 frame->childregs.orig_gpr2 = -1; in copy_thread()
147 frame->childregs = *current_pt_regs(); in copy_thread()
149 frame->childregs.flags = 0; in copy_thread()
151 frame->childregs.gprs[15] = new_stackp; in copy_thread()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/s390/kernel/
H A Dprocess.c103 struct pt_regs childregs; in copy_thread() member
135 memset(&frame->childregs, 0, sizeof(struct pt_regs)); in copy_thread()
138 frame->childregs.psw.addr = in copy_thread()
140 frame->childregs.gprs[9] = new_stackp; /* function */ in copy_thread()
141 frame->childregs.gprs[10] = arg; in copy_thread()
142 frame->childregs.gprs[11] = (unsigned long)do_exit; in copy_thread()
143 frame->childregs.orig_gpr2 = -1; in copy_thread()
147 frame->childregs = *current_pt_regs(); in copy_thread()
149 frame->childregs.flags = 0; in copy_thread()
151 frame->childregs.gprs[15] = new_stackp; in copy_thread()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/sh/kernel/
H A Dprocess_32.c99 struct pt_regs *childregs; in copy_thread() local
115 childregs = task_pt_regs(p); in copy_thread()
116 p->thread.sp = (unsigned long) childregs; in copy_thread()
118 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
120 childregs->regs[4] = arg; in copy_thread()
121 childregs->regs[5] = usp; in copy_thread()
122 childregs->sr = SR_MD; in copy_thread()
124 childregs->sr |= SR_FD; in copy_thread()
131 *childregs = *current_pt_regs(); in copy_thread()
134 childregs->regs[15] = usp; in copy_thread()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/sh/kernel/
H A Dprocess_32.c99 struct pt_regs *childregs; in copy_thread() local
115 childregs = task_pt_regs(p); in copy_thread()
116 p->thread.sp = (unsigned long) childregs; in copy_thread()
118 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
120 childregs->regs[4] = arg; in copy_thread()
121 childregs->regs[5] = usp; in copy_thread()
122 childregs->sr = SR_MD; in copy_thread()
124 childregs->sr |= SR_FD; in copy_thread()
131 *childregs = *current_pt_regs(); in copy_thread()
134 childregs->regs[15] = usp; in copy_thread()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/sh/kernel/
H A Dprocess_32.c99 struct pt_regs *childregs; in copy_thread() local
115 childregs = task_pt_regs(p); in copy_thread()
116 p->thread.sp = (unsigned long) childregs; in copy_thread()
118 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
120 childregs->regs[4] = arg; in copy_thread()
121 childregs->regs[5] = usp; in copy_thread()
122 childregs->sr = SR_MD; in copy_thread()
124 childregs->sr |= SR_FD; in copy_thread()
131 *childregs = *current_pt_regs(); in copy_thread()
134 childregs->regs[15] = usp; in copy_thread()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/h8300/kernel/
H A Dprocess.c111 struct pt_regs *childregs; in copy_thread() local
113 childregs = (struct pt_regs *) (THREAD_SIZE + task_stack_page(p)) - 1; in copy_thread()
116 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
117 childregs->retpc = (unsigned long) ret_from_kernel_thread; in copy_thread()
118 childregs->er4 = topstk; /* arg */ in copy_thread()
119 childregs->er5 = usp; /* fn */ in copy_thread()
121 *childregs = *current_pt_regs(); in copy_thread()
122 childregs->er0 = 0; in copy_thread()
123 childregs->retpc = (unsigned long) ret_from_fork; in copy_thread()
126 p->thread.ksp = (unsigned long)childregs; in copy_thread()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/h8300/kernel/
H A Dprocess.c111 struct pt_regs *childregs; in copy_thread() local
113 childregs = (struct pt_regs *) (THREAD_SIZE + task_stack_page(p)) - 1; in copy_thread()
116 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
117 childregs->retpc = (unsigned long) ret_from_kernel_thread; in copy_thread()
118 childregs->er4 = topstk; /* arg */ in copy_thread()
119 childregs->er5 = usp; /* fn */ in copy_thread()
121 *childregs = *current_pt_regs(); in copy_thread()
122 childregs->er0 = 0; in copy_thread()
123 childregs->retpc = (unsigned long) ret_from_fork; in copy_thread()
126 p->thread.ksp = (unsigned long)childregs; in copy_thread()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/h8300/kernel/
H A Dprocess.c111 struct pt_regs *childregs; in copy_thread() local
113 childregs = (struct pt_regs *) (THREAD_SIZE + task_stack_page(p)) - 1; in copy_thread()
116 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
117 childregs->retpc = (unsigned long) ret_from_kernel_thread; in copy_thread()
118 childregs->er4 = topstk; /* arg */ in copy_thread()
119 childregs->er5 = usp; /* fn */ in copy_thread()
121 *childregs = *current_pt_regs(); in copy_thread()
122 childregs->er0 = 0; in copy_thread()
123 childregs->retpc = (unsigned long) ret_from_fork; in copy_thread()
126 p->thread.ksp = (unsigned long)childregs; in copy_thread()
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/csky/kernel/
H A Dprocess.c40 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
46 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
53 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
57 childregs->sr = mfcr("psr"); in copy_thread()
59 *childregs = *(current_pt_regs()); in copy_thread()
61 childregs->usp = usp; in copy_thread()
63 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
66 childregs->a0 = 0; in copy_thread()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/csky/kernel/
H A Dprocess.c40 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
46 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
53 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
57 childregs->sr = mfcr("psr"); in copy_thread()
59 *childregs = *(current_pt_regs()); in copy_thread()
61 childregs->usp = usp; in copy_thread()
63 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
66 childregs->a0 = 0; in copy_thread()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/csky/kernel/
H A Dprocess.c40 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
46 childstack = ((struct switch_stack *) childregs) - 1; in copy_thread()
53 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
57 childregs->sr = mfcr("psr"); in copy_thread()
59 *childregs = *(current_pt_regs()); in copy_thread()
61 childregs->usp = usp; in copy_thread()
63 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
66 childregs->a0 = 0; in copy_thread()
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/nds32/kernel/
H A Dprocess.c155 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
160 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
166 *childregs = *current_pt_regs(); in copy_thread()
168 childregs->sp = stack_start; in copy_thread()
170 childregs->uregs[0] = 0; in copy_thread()
171 childregs->osp = 0; in copy_thread()
173 childregs->uregs[25] = tls; in copy_thread()
177 p->thread.cpu_context.sp = (unsigned long)childregs; in copy_thread()
196 childregs->lb = 0; in copy_thread()
197 childregs->le = 0; in copy_thread()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/nds32/kernel/
H A Dprocess.c155 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
160 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
166 *childregs = *current_pt_regs(); in copy_thread()
168 childregs->sp = stack_start; in copy_thread()
170 childregs->uregs[0] = 0; in copy_thread()
171 childregs->osp = 0; in copy_thread()
173 childregs->uregs[25] = tls; in copy_thread()
177 p->thread.cpu_context.sp = (unsigned long)childregs; in copy_thread()
196 childregs->lb = 0; in copy_thread()
197 childregs->le = 0; in copy_thread()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/nds32/kernel/
H A Dprocess.c155 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
160 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
166 *childregs = *current_pt_regs(); in copy_thread()
168 childregs->sp = stack_start; in copy_thread()
170 childregs->uregs[0] = 0; in copy_thread()
171 childregs->osp = 0; in copy_thread()
173 childregs->uregs[25] = tls; in copy_thread()
177 p->thread.cpu_context.sp = (unsigned long)childregs; in copy_thread()
196 childregs->lb = 0; in copy_thread()
197 childregs->le = 0; in copy_thread()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/riscv/kernel/
H A Dprocess.c125 struct pt_regs *childregs = task_pt_regs(p); in copy_thread() local
130 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
131 childregs->gp = gp_in_global; in copy_thread()
133 childregs->status = SR_PP | SR_PIE; in copy_thread()
139 *childregs = *(current_pt_regs()); in copy_thread()
141 childregs->sp = usp; in copy_thread()
143 childregs->tp = tls; in copy_thread()
144 childregs->a0 = 0; /* Return value of fork() */ in copy_thread()
147 p->thread.sp = (unsigned long)childregs; /* kernel sp */ in copy_thread()

123