Home
last modified time | relevance | path

Searched refs:SYSCALL_FROM_USER (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.3/kernel/src/syscall/
Dsyscall.h20 #define SYSCALL_FROM_USER(regs) (user_mode(regs)) macro
22 #define SYSCALL_FROM_KERNEL(regs) (!SYSCALL_FROM_USER(regs))
Dsyscall.c160 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()
/DragonOS-0.1.3/kernel/src/filesystem/vfs/
DVFS.c866 bool from_user = SYSCALL_FROM_USER(regs) ? true : false; in sys_unlink_at()