Home
last modified time | relevance | path

Searched refs:ready_fd (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Virtualization/authfs/fd_server/src/
Dmain.rs97 ready_fd: Option<i32>, field
120 let ready_fd = args.ready_fd.map(fd_to_owned).transpose()?; in convert_args() localVariable
121 Ok((fd_pool, ready_fd)) in convert_args()
132 let (fd_pool, mut ready_fd) = convert_args(args)?; in main()
147 drop(ready_fd.take()); in main()
/packages/modules/Virtualization/compos/composd/src/
Dfd_server_helper.rs80 let ready_fd = ready_file.as_raw_fd(); in do_spawn_fd_server() localVariable
82 args.push(ready_fd.to_string()); in do_spawn_fd_server()
83 inheritable_fds.push(ready_fd); in do_spawn_fd_server()
113 fn wait_for_fd_server_ready(mut ready_fd: File) -> Result<()> { in wait_for_fd_server_ready()
118 let _ = ready_fd.read(&mut buffer).context("Waiting for fd_server to be ready")?; in wait_for_fd_server_ready()
/packages/modules/Virtualization/virtualizationmanager/src/
Dmain.rs73 ready_fd: RawFd, field
128 let ready_fd = take_fd_ownership(args.ready_fd, &mut owned_fds) in main() localVariable
147 write(ready_fd.as_fd(), "o".as_bytes()) in main()
149 drop(ready_fd); in main()
/packages/modules/Virtualization/virtualizationmanager/
Dfuzzer.cpp47 unique_fd wait_fd, ready_fd; in get_service_fd() local
48 if (!Pipe(&wait_fd, &ready_fd, 0)) { in get_service_fd()
57 auto ready_fd_str = std::to_string(ready_fd.get()); in get_service_fd()
68 ready_fd.reset(); in get_service_fd()
/packages/modules/Virtualization/vmclient/src/
Dlib.rs89 let (wait_fd, ready_fd) = posix_pipe()?; in new()
94 command.arg("--ready-fd").arg(format!("{}", ready_fd.as_raw_fd())); in new()
95 command.preserved_fds(vec![server_fd.as_raw_fd(), ready_fd.as_raw_fd()]); in new()
101 drop(ready_fd); in new()
/packages/modules/Virtualization/demo_native/
Dmain.cpp86 unique_fd wait_fd, ready_fd; in get_service_fd() local
87 if (!Pipe(&wait_fd, &ready_fd, 0)) { in get_service_fd()
96 auto ready_fd_str = std::to_string(ready_fd.get()); in get_service_fd()
105 ready_fd.reset(); in get_service_fd()