Lines Matching refs:__p
141 static inline uint16_t SEG(const volatile void *__p) in SEG() argument
143 if (__unlikely((uintptr_t)__p > 0xfffff)) in SEG()
144 __bad_SEG(__p); in SEG()
146 return (uint16_t) (((uintptr_t) __p) >> 4); in SEG()
149 static inline uint16_t SEG(const volatile void *__p) in SEG() argument
151 return (uint16_t) (((uintptr_t) __p) >> 4); in SEG()
155 static inline uint16_t OFFS(const volatile void *__p) in OFFS() argument
158 return (uint16_t) (uintptr_t) __p & 0x000F; in OFFS()
161 static inline uint16_t OFFS_WRT(const volatile void *__p, uint16_t __seg) in OFFS_WRT() argument
163 return (uint16_t) ((uintptr_t) __p - ((uintptr_t) __seg << 4)); in OFFS_WRT()
168 static inline bool _OFFS_VALID(const volatile void *__p, size_t __s, in _OFFS_VALID() argument
172 uintptr_t __offs = (uintptr_t)__p - __segstart; in _OFFS_VALID()