Home
last modified time | relevance | path

Searched refs:ctx_size (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/kernel/
Dsignal_64.c565 long ctx_size, long r6, long r7, long r8, struct pt_regs *regs) in sys_swapcontext() argument
579 if (ctx_size < UCONTEXTSIZEWITHOUTVSX) in sys_swapcontext()
585 if ((ctx_size < sizeof(struct ucontext)) && in sys_swapcontext()
589 if (ctx_size >= sizeof(struct ucontext)) in sys_swapcontext()
593 if (!access_ok(VERIFY_WRITE, old_ctx, ctx_size) in sys_swapcontext()
602 if (!access_ok(VERIFY_READ, new_ctx, ctx_size) in sys_swapcontext()
604 || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) in sys_swapcontext()
Dsignal_32.c1114 int ctx_size, int r6, int r7, int r8, struct pt_regs *regs) in sys_swapcontext() argument
1141 if (ctx_size < UCONTEXTSIZEWITHOUTVSX) in sys_swapcontext()
1147 if ((ctx_size < sizeof(struct ucontext)) && in sys_swapcontext()
1151 if (ctx_size >= sizeof(struct ucontext)) in sys_swapcontext()
1157 if (ctx_size < sizeof(struct ucontext)) in sys_swapcontext()
1172 if (!access_ok(VERIFY_WRITE, old_ctx, ctx_size) in sys_swapcontext()
1180 if (!access_ok(VERIFY_READ, new_ctx, ctx_size) in sys_swapcontext()
1182 || __get_user(tmp, (u8 __user *) new_ctx + ctx_size - 1)) in sys_swapcontext()