| 59 | CTASSERT((__offsetof(struct type, field) & (sizeof(uint32_t) - 1)) == 0); \ |
| 60 | \ |
| 61 | static __inline struct type * \ |
| 62 | name##_PCTRIE_VAL2PTR(uint64_t *val) \ |
| 63 | { \ |
| 64 | \ |
| 65 | if (val == NULL) \ |
| 66 | return (NULL); \ |
| 67 | return (struct type *) \ |
| 68 | ((uintptr_t)val - __offsetof(struct type, field)); \ |
| 69 | } \ |
| 70 | \ |
| 71 | static __inline uint64_t * \ |
| 72 | name##_PCTRIE_PTR2VAL(struct type *ptr) \ |
no outgoing calls
no test coverage detected