Home
last modified time | relevance | path

Searched refs:fd_table (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.9/kernel/src/process/
Dprocess.rs47 .fd_table() in stdio_init()
55 .fd_table() in stdio_init()
63 .fd_table() in stdio_init()
Dmod.rs787 pub fn fd_table(&self) -> Arc<RwLock<FileDescriptorVec>> { in fd_table() method
788 return self.basic.read().fd_table().unwrap(); in fd_table()
801 let binding = ProcessManager::current_pcb().fd_table(); in get_socket()
955 fd_table: Option<Arc<RwLock<FileDescriptorVec>>>, field
967 let fd_table = Arc::new(RwLock::new(FileDescriptorVec::new())); in new() localVariable
974 fd_table: Some(fd_table), in new()
1009 pub fn fd_table(&self) -> Option<Arc<RwLock<FileDescriptorVec>>> { in fd_table() method
1010 return self.fd_table.clone(); in fd_table()
1013 pub fn set_fd_table(&mut self, fd_table: Option<Arc<RwLock<FileDescriptorVec>>>) { in set_fd_table()
1014 self.fd_table = fd_table; in set_fd_table()
Dsyscall.rs89 let fd_table = ProcessManager::current_pcb().fd_table(); in execve() localVariable
90 fd_table.write().close_on_exec(); in execve()
Dfork.rs260 let new_fd_table = current_pcb.basic().fd_table().unwrap().read().clone(); in copy_files()
267 .set_fd_table(current_pcb.basic().fd_table().clone()); in copy_files()
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dsyscall.rs275 let binding = ProcessManager::current_pcb().fd_table(); in close()
291 let binding = ProcessManager::current_pcb().fd_table(); in ioctl()
313 let binding = ProcessManager::current_pcb().fd_table(); in read()
335 let binding = ProcessManager::current_pcb().fd_table(); in write()
355 let binding = ProcessManager::current_pcb().fd_table(); in lseek()
374 let binding = ProcessManager::current_pcb().fd_table(); in pread()
396 let binding = ProcessManager::current_pcb().fd_table(); in pwrite()
518 let binding = ProcessManager::current_pcb().fd_table(); in getdents()
607 let binding = ProcessManager::current_pcb().fd_table(); in dup()
637 let binding = ProcessManager::current_pcb().fd_table(); in dup2()
[all …]
Dutils.rs47 let binding = pcb.fd_table(); in user_path_at()
Dopen.rs152 .fd_table() in do_sys_openat2()
/DragonOS-0.1.9/kernel/src/net/event_poll/
Dmod.rs200 .fd_table() in close()
250 let fd_table = current_pcb.fd_table(); in do_create_epoll() localVariable
251 let mut fd_table_guard = fd_table.write(); in do_create_epoll()
276 let fd_table = current_pcb.fd_table(); in do_epoll_ctl() localVariable
277 let fd_table_guard = fd_table.read(); in do_epoll_ctl()
392 let fd_table = current_pcb.fd_table(); in do_epoll_wait() localVariable
393 let fd_table_guard = fd_table.read(); in do_epoll_wait()
/DragonOS-0.1.9/kernel/src/virt/kvm/
Dkvm_dev.rs186 .fd_table() in kvm_dev_ioctl_create_vm()
Dvm_dev.rs222 .fd_table() in kvm_vm_ioctl_create_vcpu()
/DragonOS-0.1.9/kernel/src/ipc/
Dsyscall.rs66 let fd_table_ptr = ProcessManager::current_pcb().fd_table(); in pipe2()
/DragonOS-0.1.9/kernel/src/net/
Dsyscall.rs54 let binding = ProcessManager::current_pcb().fd_table(); in socket()
86 let binding = ProcessManager::current_pcb().fd_table(); in socketpair()
432 .fd_table() in do_accept()