Searched refs:fd_table_guard (Results 1 – 9 of 9) sorted by relevance
528 let mut fd_table_guard = binding.write(); in close() localVariable529 let _file = fd_table_guard.drop_fd(fd as i32)?; in close()530 drop(fd_table_guard); in close()543 let fd_table_guard = binding.read(); in ioctl() localVariable545 let file = fd_table_guard in ioctl()550 drop(fd_table_guard); in ioctl()564 let fd_table_guard = binding.read(); in read() localVariable566 let file = fd_table_guard.get_file_by_fd(fd); in read()571 drop(fd_table_guard); in read()586 let fd_table_guard = binding.read(); in write() localVariable[all …]
52 let fd_table_guard = binding.read(); in user_path_at() localVariable53 let file = fd_table_guard in user_path_at()58 drop(fd_table_guard); in user_path_at()
268 let fd_table_guard = binding.write(); localVariable269 let file = fd_table_guard
264 let mut fd_table_guard = fd_table.write(); in do_create_epoll() localVariable266 let fd = fd_table_guard.alloc_fd(ep_file, None)?; in do_create_epoll()290 let fd_table_guard = fd_table.read(); in do_epoll_ctl() localVariable293 let ep_file = fd_table_guard in do_epoll_ctl()296 let dst_file = fd_table_guard in do_epoll_ctl()406 let fd_table_guard = fd_table.read(); in do_epoll_wait() localVariable409 let ep_file = fd_table_guard in do_epoll_wait()413 drop(fd_table_guard); in do_epoll_wait()
51 let mut fd_table_guard = binding.write(); in socket() localVariable52 let fd = fd_table_guard.alloc_fd(f, None).map(|x| x as usize); in socket()53 drop(fd_table_guard); in socket()75 let mut fd_table_guard = binding.write(); in socketpair() localVariable91 fds[0] = fd_table_guard.alloc_fd(File::new(inode0, FileMode::O_RDWR)?, None)?; in socketpair()92 fds[1] = fd_table_guard.alloc_fd(File::new(inode1, FileMode::O_RDWR)?, None)?; in socketpair()94 drop(fd_table_guard); in socketpair()597 let fd_table_guard = binding.read(); in to_endpoint() localVariable599 let file = fd_table_guard.get_file_by_fd(fd as i32).unwrap(); in to_endpoint()
84 let mut fd_table_guard = fd_table_ptr.write(); in pipe2() localVariable85 let read_fd = fd_table_guard.alloc_fd(read_file, None)?; in pipe2()86 let write_fd = fd_table_guard.alloc_fd(write_file, None)?; in pipe2()88 drop(fd_table_guard); in pipe2()
277 let mut fd_table_guard = binding.write(); in sys_eventfd() localVariable278 let fd = fd_table_guard.alloc_fd(file, None).map(|x| x as usize); in sys_eventfd()
936 let fd_table_guard = binding.read(); in get_socket() localVariable938 let f = fd_table_guard.get_file_by_fd(fd)?; in get_socket()939 drop(fd_table_guard); in get_socket()
360 let fd_table_guard = binding.read(); in file_mapping() localVariable362 let file = fd_table_guard.get_file_by_fd(fd); in file_mapping()367 drop(fd_table_guard); in file_mapping()