Searched refs:SYSCALL_FROM_USER (Results 1 – 3 of 3) sorted by relevance
20 #define SYSCALL_FROM_USER(regs) (user_mode(regs)) macro22 #define SYSCALL_FROM_KERNEL(regs) (!SYSCALL_FROM_USER(regs))
160 if (SYSCALL_FROM_USER(regs) && (!verify_area((uint64_t)buf, count))) in sys_read()212 if (SYSCALL_FROM_USER(regs) && (!verify_area((uint64_t)buf, count))) in sys_write()
866 bool from_user = SYSCALL_FROM_USER(regs) ? true : false; in sys_unlink_at()