Lines Matching refs:SystemError
62 - `pub fn inc_not_zero(&mut self) -> Result<i32, SystemError>`
63 - `pub fn inc_not_dead(&mut self) -> Result<i32, SystemError>`
86 | Err(SystemError::EPERM) | 失败,返回EPERM |
99 | Err(SystemError::EPERM) | 失败,返回EPERM |
102 - `pub fn dec(&mut self) -> Result<i32, SystemError>`
103 - `pub fn dec_return(&mut self) -> Result<i32, SystemError>`
104 - `pub fn dec_not_zero(&mut self) -> Result<i32, SystemError>`
105 - `pub fn dec_or_lock_not_zero(&mut self) -> Result<i32, SystemError>`
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 |