Lines Matching refs:Result

117     fn open_status(&self, pdata: &mut ProcfsFilePrivateData) -> Result<i64, i32> {  in open_status()
201 ) -> Result<usize, i32> { in read_status()
281 pub fn register_pid(&self, pid: i64) -> Result<(), i32> { in register_pid() argument
303 pub fn unregister_pid(&self, pid: i64) -> Result<(), i32> { in unregister_pid() argument
322 fn open(&self, data: &mut FilePrivateData) -> Result<(), i32> { in open() argument
345 fn close(&self, data: &mut FilePrivateData) -> Result<(), i32> { in close() argument
369 ) -> Result<usize, i32> { in read_at()
416 ) -> Result<usize, i32> { in write_at()
420 fn poll(&self) -> Result<PollStatus, i32> { in poll()
442 fn metadata(&self) -> Result<Metadata, i32> { in metadata()
449 fn set_metadata(&self, metadata: &Metadata) -> Result<(), i32> { in set_metadata() argument
461 fn resize(&self, len: usize) -> Result<(), i32> { in resize() argument
477 ) -> Result<Arc<dyn IndexNode>, i32> { in create_with_data()
528 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), i32> { in link() argument
559 fn unlink(&self, name: &str) -> Result<(), i32> { in unlink() argument
584 ) -> Result<(), i32> { in move_() argument
588 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
610 fn get_entry_name(&self, ino: InodeId) -> Result<String, i32> { in get_entry_name()
642 fn list(&self) -> Result<Vec<String>, i32> { in list()
668 pub fn procfs_register_pid(pid: pid_t) -> Result<(), i32> { in procfs_register_pid() argument
694 pub fn procfs_unregister_pid(pid: pid_t) -> Result<(), i32> { in procfs_unregister_pid() argument