* Pop all items off the stack. */
| 148 | * Pop all items off the stack. |
| 149 | */ |
| 150 | CK_CC_INLINE static struct ck_stack_entry * |
| 151 | ck_stack_batch_pop_upmc(struct ck_stack *target) |
| 152 | { |
| 153 | struct ck_stack_entry *entry; |
| 154 | |
| 155 | entry = ck_pr_fas_ptr(&target->head, NULL); |
| 156 | ck_pr_fence_load(); |
| 157 | return entry; |
| 158 | } |
| 159 | #endif /* CK_F_STACK_BATCH_POP_UPMC */ |
| 160 | |
| 161 | #ifndef CK_F_STACK_PUSH_MPMC |
no outgoing calls
no test coverage detected