Searched refs:file_mode (Results 1 – 2 of 2) sorted by relevance
271 let file_mode = if args in perf_event_open() localVariable307 let file = File::new(perf_event, file_mode)?; in perf_event_open()
417 let mut file_mode = FileMode::O_RDWR; in do_accept() localVariable419 file_mode |= FileMode::O_NONBLOCK; in do_accept()422 file_mode |= FileMode::O_CLOEXEC; in do_accept()428 .alloc_fd(File::new(new_socket, file_mode)?, None)?; in do_accept()