Lines Matching refs:d
1265 struct prb_desc *d; in desc_reopen_last() local
1279 d = to_desc(desc_ring, id); in desc_reopen_last()
1299 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val, in desc_reopen_last()
1305 return d; in desc_reopen_last()
1356 struct prb_desc *d; in prb_reserve_in_last() local
1362 d = desc_reopen_last(desc_ring, caller_id, &id); in prb_reserve_in_last()
1363 if (!d) { in prb_reserve_in_last()
1387 if (BLK_DATALESS(&d->text_blk_lpos)) { in prb_reserve_in_last()
1401 &d->text_blk_lpos, id); in prb_reserve_in_last()
1403 if (!get_data(&rb->text_data_ring, &d->text_blk_lpos, &data_size)) in prb_reserve_in_last()
1425 &d->text_blk_lpos, id); in prb_reserve_in_last()
1432 e->text_space = space_used(&rb->text_data_ring, &d->text_blk_lpos); in prb_reserve_in_last()
1451 struct prb_desc *d = to_desc(desc_ring, id); in desc_make_final() local
1453 atomic_long_cmpxchg_relaxed(&d->state_var, prev_state_val, in desc_make_final()
1490 struct prb_desc *d; in prb_reserve() local
1512 d = to_desc(desc_ring, id); in prb_reserve()
1555 r->text_buf = data_alloc(rb, r->text_buf_size, &d->text_blk_lpos, id); in prb_reserve()
1566 e->text_space = space_used(&rb->text_data_ring, &d->text_blk_lpos); in prb_reserve()
1579 struct prb_desc *d = to_desc(desc_ring, e->id); in _prb_commit() local
1607 if (!atomic_long_try_cmpxchg(&d->state_var, &prev_state_val, in _prb_commit()