Searched refs:uref (Results 1 – 2 of 2) sorted by relevance
355 static constexpr uint32_t DecodeIndex(uintptr_t uref) { in DecodeIndex() argument356 return static_cast<uint32_t>((uref >> kKindBits) >> kSerialBits); in DecodeIndex()362 static constexpr IndirectRefKind DecodeIndirectRefKind(uintptr_t uref) { in DecodeIndirectRefKind() argument363 return static_cast<IndirectRefKind>(uref & kKindMask); in DecodeIndirectRefKind()370 static constexpr uint32_t DecodeSerial(uintptr_t uref) { in DecodeSerial() argument371 return static_cast<uint32_t>(uref >> kKindBits) & kShiftedSerialMask; in DecodeSerial()
97 struct hiddev_usage_ref uref; member