Searched refs:PROCESS_MAX_FD (Results 1 – 2 of 2) sorted by relevance
385 pub fds: [Option<Box<File>>; FileDescriptorVec::PROCESS_MAX_FD],389 pub const PROCESS_MAX_FD: usize = 32; constant393 let mut data: [MaybeUninit<Option<Box<File>>>; FileDescriptorVec::PROCESS_MAX_FD] = in new()397 for i in 0..FileDescriptorVec::PROCESS_MAX_FD { in new()401 let data: [Option<Box<File>>; FileDescriptorVec::PROCESS_MAX_FD] = unsafe { in new()402 core::mem::transmute::<_, [Option<Box<File>>; FileDescriptorVec::PROCESS_MAX_FD]>(data) in new()414 for i in 0..FileDescriptorVec::PROCESS_MAX_FD { in clone()435 if fd < 0 || fd as usize > FileDescriptorVec::PROCESS_MAX_FD { in validate_fd()
462 if arg < 0 || arg as usize >= FileDescriptorVec::PROCESS_MAX_FD { in fcntl()466 for i in arg..FileDescriptorVec::PROCESS_MAX_FD { in fcntl()