• Home
  • Raw
  • Download

Lines Matching refs:e

1350 bool prb_reserve_in_last(struct prb_reserved_entry *e, struct printk_ringbuffer *rb,  in prb_reserve_in_last()  argument
1359 local_irq_save(e->irqflags); in prb_reserve_in_last()
1364 local_irq_restore(e->irqflags); in prb_reserve_in_last()
1376 e->rb = rb; in prb_reserve_in_last()
1377 e->id = 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()
1436 prb_commit(e); in prb_reserve_in_last()
1485 bool prb_reserve(struct prb_reserved_entry *e, struct printk_ringbuffer *rb, in prb_reserve() argument
1503 local_irq_save(e->irqflags); in prb_reserve()
1508 local_irq_restore(e->irqflags); in prb_reserve()
1527 e->rb = rb; in prb_reserve()
1528 e->id = id; in prb_reserve()
1558 prb_commit(e); in prb_reserve()
1566 e->text_space = space_used(&rb->text_data_ring, &d->text_blk_lpos); in prb_reserve()
1576 static void _prb_commit(struct prb_reserved_entry *e, unsigned long state_val) in _prb_commit() argument
1578 struct prb_desc_ring *desc_ring = &e->rb->desc_ring; in _prb_commit()
1579 struct prb_desc *d = to_desc(desc_ring, e->id); in _prb_commit()
1580 unsigned long prev_state_val = DESC_SV(e->id, desc_reserved); in _prb_commit()
1608 DESC_SV(e->id, state_val))) { /* LMM(_prb_commit:B) */ in _prb_commit()
1613 local_irq_restore(e->irqflags); in _prb_commit()
1632 void prb_commit(struct prb_reserved_entry *e) in prb_commit() argument
1634 struct prb_desc_ring *desc_ring = &e->rb->desc_ring; in prb_commit()
1637 _prb_commit(e, desc_committed); in prb_commit()
1645 if (head_id != e->id) in prb_commit()
1646 desc_make_final(desc_ring, e->id); in prb_commit()
1664 void prb_final_commit(struct prb_reserved_entry *e) in prb_final_commit() argument
1666 struct prb_desc_ring *desc_ring = &e->rb->desc_ring; in prb_final_commit()
1668 _prb_commit(e, desc_finalized); in prb_final_commit()
1671 atomic_long_set(&desc_ring->last_finalized_id, e->id); in prb_final_commit()
2121 unsigned int prb_record_text_space(struct prb_reserved_entry *e) in prb_record_text_space() argument
2123 return e->text_space; in prb_record_text_space()