Lines Matching refs:count
39 count: u64, field
46 pub fn new(count: u64, flags: EventFdFlags, id: u32) -> Self { in new()
47 EventFd { count, flags, id } in new()
82 let count = self.eventfd.lock().count; in readable() localVariable
83 return count > 0; in readable()
121 while lock_efd.count == 0 { in read_at()
135 let mut val = lock_efd.count; in read_at()
139 eventfd.count -= 1; in read_at()
142 eventfd.count = 0; in read_at()
178 if u64::MAX - eventfd.count > val { in write_at()
191 eventfd.count += val; in write_at()
206 if self.eventfd.lock().count != 0 { in poll()
209 if self.eventfd.lock().count != u64::MAX { in poll()