Searched refs:write_idx (Results 1 – 16 of 16) sorted by relevance
413 int write_idx = 0; in deduplicate_reflist() local417 write_idx = b->num_valid; in deduplicate_reflist()423 reflist[write_idx++] = reflist[i]; in deduplicate_reflist()430 if (WARN_ON(write_idx > 16)) in deduplicate_reflist()431 write_idx = 16; in deduplicate_reflist()434 for (; write_idx < 16; write_idx++) in deduplicate_reflist()435 reflist[write_idx].index = 15; in deduplicate_reflist()
61 unsigned int write_idx; member208 list->write_idx >= H264_MAX_FB_NUM) { in check_list_validity()211 list->read_idx, list->write_idx); in check_list_validity()235 list->fb_list[list->write_idx].vdec_fb_va = (u64)(uintptr_t)fb; in put_fb_to_free()236 list->write_idx = (list->write_idx == H264_MAX_FB_NUM - 1) ? in put_fb_to_free()237 0 : list->write_idx + 1; in put_fb_to_free()
79 next = cur = rxq->write_idx; in alx_refill_rx_ring()134 rxq->write_idx = cur; in alx_refill_rx_ring()159 if (txq->write_idx >= txq->read_idx) in alx_tpd_avail()461 np->txq->write_idx = 0; in alx_init_ring_ptrs()469 np->rxq->write_idx = 0; in alx_init_ring_ptrs()500 txq->write_idx = 0; in alx_free_txring_buf()528 rxq->write_idx = 0; in alx_free_rxring_buf()1471 txq->write_idx = 0; in alx_map_tx_skb()1495 txq->write_idx = 0; in alx_map_tx_skb()1517 txq->write_idx = 0; in alx_map_tx_skb()[all …]
66 u16 write_idx, read_idx; member82 u16 write_idx, read_idx; member
64 int write_idx; member316 ring->write_idx = 0; in bcm4908_enet_dma_ring_init()537 if (ring->read_idx <= ring->write_idx) in bcm4908_enet_start_xmit()538 free_buf_descs = ring->read_idx - ring->write_idx + ring->length; in bcm4908_enet_start_xmit()540 free_buf_descs = ring->read_idx - ring->write_idx; in bcm4908_enet_start_xmit()547 buf_desc = &ring->buf_desc[ring->write_idx]; in bcm4908_enet_start_xmit()553 slot = &ring->slots[ring->write_idx]; in bcm4908_enet_start_xmit()565 if (ring->write_idx + 1 == ring->length - 1) in bcm4908_enet_start_xmit()575 if (++ring->write_idx == ring->length - 1) in bcm4908_enet_start_xmit()576 ring->write_idx = 0; in bcm4908_enet_start_xmit()[all …]
78 int write_idx; member
142 jr->write_idx = 0; in jr_sw_cleanup()
38 cmdq->write_idx = 0; in nitrox_cmdq_init()55 cmdq->write_idx = 0; in nitrox_cmdq_reset()
58 int write_idx; member
296 idx = cmdq->write_idx; in post_se_instr()310 cmdq->write_idx = incr_index(idx, 1, ndev->qlen); in post_se_instr()
72 u32 write_idx; member185 wr_idx = qhdr->write_idx; in venus_write_queue()227 qhdr->write_idx = new_wr_idx; in venus_write_queue()255 wr_idx = qhdr->write_idx; in venus_read_queue()303 new_rd_idx = qhdr->write_idx; in venus_read_queue()315 wr_idx = qhdr->write_idx; in venus_read_queue()760 qhdr->write_idx = 0; in venus_set_qhdr_defaults()928 return abs(qhdr->read_idx - qhdr->write_idx); in venus_get_queue_size()
263 u32 write_idx; member
134 droq->write_idx = 0; in octeon_droq_reset_indices()
167 BTREE_FLAG(write_idx);
133 __le16 write_idx; member141 __le16 write_idx; member
4052 const int write_idx = read_idx + (0x800 / sizeof(u64)); in vmx_update_msr_bitmap_x2apic() local4086 msr_bitmap[write_idx] = ~0ull; in vmx_update_msr_bitmap_x2apic()