Home
last modified time | relevance | path

Searched refs:EPERM (Results 1 – 17 of 17) sorted by relevance

/DragonOS-0.1.8/docs/kernel/locking/
Dlockref.md86 | Err(SystemError::EPERM) | 失败,返回EPERM |
99 | Err(SystemError::EPERM) | 失败,返回EPERM |
111   原子地将引用计数-1。如果已处于count≤0的状态,则返回Err(SystemError::EPERM)
120 | Err(SystemError::EPERM) | 失败,返回EPERM |
124   原子地将引用计数减1。如果处于已加锁或count≤0的状态,则返回SystemError::EPERM
137 | Err(SystemError::EPERM) | 失败,返回EPERM |
152 | Err(SystemError::EPERM) | 失败,返回EPERM |
161 …hg()时发现`old.count≤1`时,该函数会尝试加锁来进行操作,而`lockref_dec_not_zero()`在这种情况下,会直接返回`Err(SystemError::EPERM)`.
168 | Err(SystemError::EPERM) | 失败,返回EPERM |
/DragonOS-0.1.8/kernel/src/libs/
Dlockref.rs151 return Err(SystemError::EPERM); in inc_not_zero()
154 let mut retval = Err(SystemError::EPERM); in inc_not_zero()
178 return Err(SystemError::EPERM); in inc_not_dead()
182 let mut retval = Err(SystemError::EPERM); in inc_not_dead()
216 retval = Err(SystemError::EPERM); in dec()
239 return Err(SystemError::EPERM); in dec_return()
268 return Err(SystemError::EPERM); in dec_not_zero()
278 retval = Err(SystemError::EPERM); in dec_not_zero()
307 retval = Err(SystemError::EPERM); in dec_or_lock_not_zero()
/DragonOS-0.1.8/kernel/src/sched/
Dsyscall.rs18 return Err(SystemError::EPERM); in sched()
/DragonOS-0.1.8/kernel/src/common/
Derrno.h12 #define EPERM 1 /* 操作不被允许 Operation not permitted. */ macro
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Derrno.h18 #define EPERM 1 /* 操作不被允许 Operation not permitted. */ macro
/DragonOS-0.1.8/kernel/src/process/
Dprocess.rs127 return Err(SystemError::EPERM); in init_files()
354 return Err(SystemError::EPERM); in init_stdio()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dfile.rs226 return Err(SystemError::EPERM); in readable()
237 return Err(SystemError::EPERM); in writeable()
Dcore.rs285 return Err(SystemError::EPERM); in do_unlink_at()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs34 EPERM = 1, enumerator
440 Err(SystemError::EPERM) in handle()
459 Err(SystemError::EPERM) in handle()
550 Err(SystemError::EPERM) in handle()
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/
Dmod.rs285 .ok_or(SystemError::EPERM)?; in link()
327 return Err(SystemError::EPERM); in unlink()
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs612 return Err(SystemError::EPERM); in setup_frame()
686 Err(SystemError::EPERM) in setup_frame()
704 return Err(SystemError::EPERM); in copy_siginfo_to_user()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Derrno.md153 #define EPERM 67 /* 操作不被允许 Operation not permitted.*/
/DragonOS-0.1.8/kernel/src/driver/tty/
Dtty_device.rs199 return Err(SystemError::EPERM); in write_at()
/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs485 return Err(SystemError::EPERM); in create_mmio()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs531 .ok_or(SystemError::EPERM)?; in link()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs1141 return Err(SystemError::EPERM); in set_entry()
Dentry.rs900 return Err(SystemError::EPERM); in rename()