Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/entry/vsyscall/
H A Dvsyscall_64.c99 static bool write_ok_or_segv(unsigned long ptr, size_t size) in write_ok_or_segv() function
178 if (!write_ok_or_segv(regs->di, sizeof(struct __kernel_old_timeval)) || in emulate_vsyscall()
179 !write_ok_or_segv(regs->si, sizeof(struct timezone))) { in emulate_vsyscall()
188 if (!write_ok_or_segv(regs->di, sizeof(__kernel_old_time_t))) { in emulate_vsyscall()
197 if (!write_ok_or_segv(regs->di, sizeof(unsigned)) || in emulate_vsyscall()
198 !write_ok_or_segv(regs->si, sizeof(unsigned))) { in emulate_vsyscall()
/openbmc/qemu/linux-user/i386/
H A Dcpu_loop.c94 static bool write_ok_or_segv(CPUX86State *env, abi_ptr addr, size_t len) in write_ok_or_segv() function
150 if (!write_ok_or_segv(env, env->regs[R_EDI], in emulate_vsyscall()
152 !write_ok_or_segv(env, env->regs[R_ESI], in emulate_vsyscall()
158 if (!write_ok_or_segv(env, env->regs[R_EDI], sizeof(abi_long))) { in emulate_vsyscall()
163 if (!write_ok_or_segv(env, env->regs[R_EDI], sizeof(uint32_t)) || in emulate_vsyscall()
164 !write_ok_or_segv(env, env->regs[R_ESI], sizeof(uint32_t))) { in emulate_vsyscall()