Lines Matching defs:state_var
44 * @state_var, allowing ID and state to be synchronously and atomically
65 * Querying the @state_var of a record requires providing the ID of the
79 * @state_var of the new descriptor is initialized to the new ID and reserved
427 * only expect the descriptor's @state_var field to be valid.
430 * non-state_var data, they are only valid if the descriptor is in a
439 atomic_long_t *state_var = &desc->state_var;
444 state_val = atomic_long_read(state_var); /* LMM(desc_read:A) */
449 * @state_var so that the caller can see the details of
476 * cannot be used because of the atomic_t @state_var field.
531 state_val = atomic_long_read(state_var); /* LMM(desc_read:E) */
535 atomic_long_set(&desc_out->state_var, state_val);
550 atomic_long_t *state_var = &desc->state_var;
552 atomic_long_cmpxchg_relaxed(state_var, val_finalized,
784 if (DESC_ID(atomic_long_read(&desc.state_var)) ==
975 prev_state_val = atomic_long_read(&desc->state_var); /* LMM(desc_reserve:E) */
990 if (!atomic_long_try_cmpxchg(&desc->state_var, &prev_state_val,
1317 * record data. A full memory barrier is needed because @state_var
1331 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val,
1584 if (atomic_long_try_cmpxchg_relaxed(&d->state_var, &prev_state_val,
1738 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val,
1931 atomic_long_t *state_var = &rdesc->state_var;
1937 id = DESC_ID(atomic_long_read(state_var));
2027 atomic_long_t *state_var;
2068 state_var = &d->state_var;
2071 last_finalized_id = DESC_ID(atomic_long_read(state_var));
2348 atomic_long_set(&(descs[_DESCS_COUNT(descbits) - 1].state_var), DESC0_SV(descbits));