Lines Matching refs:ops
35 ck_ec32_wake(struct ck_ec32 *ec, const struct ck_ec_ops *ops)
39 ops->wake32(ops, &ec->counter);
45 const struct ck_ec_ops *ops,
49 return ck_ec32_wait_pred_slow(ec, ops, old_value,
55 ck_ec64_wake(struct ck_ec64 *ec, const struct ck_ec_ops *ops)
58 ops->wake64(ops, &ec->counter);
64 const struct ck_ec_ops *ops,
68 return ck_ec64_wait_pred_slow(ec, ops, old_value,
75 const struct ck_ec_ops *ops,
87 r = ops->gettime(ops, &now);
137 const struct ck_ec_ops *ops = wait_state->ops;
138 const uint32_t scale_factor = (ops->wait_scale_factor != 0)
139 ? ops->wait_scale_factor
141 const uint32_t shift_count = (ops->wait_shift_count != 0)
142 ? ops->wait_shift_count
144 uint32_t wait_ns = (ops->initial_wait_ns != 0)
145 ? ops->initial_wait_ns
153 if (check_deadline(&now, ops, *deadline) == true) {
203 const struct ck_ec_ops *ops, \
207 size_t n = (ops->busy_loop_iter != 0) \
208 ? ops->busy_loop_iter \
281 wait_state->ops->wait32(wait_state, &ec->counter,
304 wait_state->ops->wait64(wait_state, &ec->counter,
315 #define WAIT_SLOW_BODY(W, ec, ops, pred, data, deadline_ptr, \
319 .ops = ops, \
338 current = ck_ec##W##_wait_easy(ec, ops, unflagged); \
360 current = ck_ec##W##_wait_easy(ec, ops, flagged); \
385 const struct ck_ec_ops *ops,
399 WAIT_SLOW_BODY(32, ec, ops, pred, data, deadline_ptr,
406 const struct ck_ec_ops *ops,
420 WAIT_SLOW_BODY(64, ec, ops, pred, data, deadline_ptr,