Home
last modified time | relevance | path

Searched refs:ring_pos (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/edac/
Dthunderx_edac.c214 #define ring_pos(pos, size) ((pos) & (size - 1)) macro
550 unsigned long head = ring_pos(lmc->ring_head, ARRAY_SIZE(lmc->err_ctx)); in thunderx_lmc_err_isr()
595 tail = ring_pos(lmc->ring_tail, ARRAY_SIZE(lmc->err_ctx)); in thunderx_lmc_threaded_isr()
1082 unsigned long head = ring_pos(ocx->com_ring_head, in thunderx_ocx_com_isr()
1126 tail = ring_pos(ocx->com_ring_tail, in thunderx_ocx_com_threaded_isr()
1173 unsigned long head = ring_pos(ocx->link_ring_head, in thunderx_ocx_lnk_isr()
1207 tail = ring_pos(ocx->link_ring_head, in thunderx_ocx_lnk_threaded_isr()
1766 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx)); in thunderx_l2c_tad_isr()
1798 unsigned long head = ring_pos(cbc->ring_head, ARRAY_SIZE(cbc->err_ctx)); in thunderx_l2c_cbc_isr()
1827 unsigned long head = ring_pos(mci->ring_head, ARRAY_SIZE(mci->err_ctx)); in thunderx_l2c_mci_isr()
[all …]
/Linux-v5.4/drivers/lightnvm/
Dpblk-rb.c338 struct pblk_w_ctx w_ctx, unsigned int ring_pos) in pblk_rb_write_entry_user() argument
344 entry = &rb->entries[ring_pos]; in pblk_rb_write_entry_user()
362 u64 paddr, unsigned int ring_pos) in pblk_rb_write_entry_gc() argument
368 entry = &rb->entries[ring_pos]; in pblk_rb_write_entry_gc()