Searched refs:PROCESS_MAX_FD (Results 1 – 1 of 1) sorted by relevance
320 pub fds: [Option<Box<File>>; FileDescriptorVec::PROCESS_MAX_FD],324 pub const PROCESS_MAX_FD: usize = 32; constant328 let mut data: [MaybeUninit<Option<Box<File>>>; FileDescriptorVec::PROCESS_MAX_FD] = in new()332 for i in 0..FileDescriptorVec::PROCESS_MAX_FD { in new()336 let data: [Option<Box<File>>; FileDescriptorVec::PROCESS_MAX_FD] = unsafe { in new()337 core::mem::transmute::<_, [Option<Box<File>>; FileDescriptorVec::PROCESS_MAX_FD]>(data) in new()349 for i in 0..FileDescriptorVec::PROCESS_MAX_FD { in clone()370 if fd < 0 || fd as usize > FileDescriptorVec::PROCESS_MAX_FD { in validate_fd()