Lines Matching refs:lock
140 .lock() in fmt()
169 let mut guard = self.xarray.lock(); in add_page()
175 let mut guard = self.xarray.lock(); in get_page()
182 let mut guard = self.xarray.lock(); in remove_page()
236 f.inode.open(f.private_data.lock(), &mode)?; in new()
314 .read_at(offset, len, buf, self.private_data.lock()) in do_read()
356 .write_at(offset, len, buf, self.private_data.lock()) in do_write()
442 let mut readdir_subdirs_name = self.readdir_subdirs_name.lock(); in readdir()
507 readdir_subdirs_name: SpinLock::new(self.readdir_subdirs_name.lock().clone()), in try_clone()
508 private_data: SpinLock::new(self.private_data.lock().clone()), in try_clone()
514 .open(res.private_data.lock(), &res.mode()) in try_clone()
558 self.private_data.lock().update_mode(mode); in set_mode()
591 return inode.inner().lock().add_epoll(epitem); in add_epoll()
594 let r = self.inode.kernel_ioctl(epitem, &self.private_data.lock()); in add_epoll()
615 inode.inner().lock().remove_epoll(epoll) in remove_epoll()
632 self.inode.poll(&self.private_data.lock()) in poll()
638 let r: Result<(), SystemError> = self.inode.close(self.private_data.lock()); in drop()