Searched refs:epoll_fd (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/msdp/device_status/rust/modules/scheduler/sys/src/ |
H A D | scheduler.rs | 153 epoll_fd: RawFd, field 163 let epoll_fd = unsafe { libc::epoll_create1(libc::EPOLL_CLOEXEC) }; in new() localVariable 166 epoll_fd, in new() 174 self.epoll_fd in fd() 188 libc::epoll_ctl(self.epoll_fd, libc::EPOLL_CTL_ADD, fd, &mut ev) in epoll_add() 192 @public(self.epoll_fd), @public(fd), @public(Error::last_os_error())); in epoll_add() 206 libc::epoll_ctl(self.epoll_fd, libc::EPOLL_CTL_DEL, fd, std::ptr::null_mut()) in epoll_del() 229 @public(self.epoll_fd), in epoll_wait() 260 libc::epoll_ctl(self.epoll_fd, libc::EPOLL_CTL_MOD, fd, &mut ev) in epoll_reset() 359 let ret = unsafe { libc::close(self.epoll_fd) }; in drop() [all …]
|
/ohos5.0/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/ |
H A D | epoll_manager.rs | 38 epoll_fd: i32, field 45 epoll_fd: -1, in default()
|