* Stack initialization function. Guarantees initialization across processors. */
| 331 | * Stack initialization function. Guarantees initialization across processors. |
| 332 | */ |
| 333 | CK_CC_INLINE static void |
| 334 | ck_stack_init(struct ck_stack *stack) |
| 335 | { |
| 336 | |
| 337 | stack->head = NULL; |
| 338 | stack->generation = NULL; |
| 339 | return; |
| 340 | } |
| 341 | |
| 342 | /* Defines a container_of functions for */ |
| 343 | #define CK_STACK_CONTAINER(T, M, N) CK_CC_CONTAINER(ck_stack_entry_t, T, M, N) |
no outgoing calls
no test coverage detected