Searched refs:inuse_idx (Results 1 – 1 of 1) sorted by relevance
954 uint32_t inuse_idx = rx_ring->sbq_use_tail; in ql_add_sbuf_to_in_use_list() local956 rx_ring->sbuf_in_use[inuse_idx] = sbq_desc; in ql_add_sbuf_to_in_use_list()957 inuse_idx++; in ql_add_sbuf_to_in_use_list()958 if (inuse_idx >= rx_ring->sbq_len) in ql_add_sbuf_to_in_use_list()959 inuse_idx = 0; in ql_add_sbuf_to_in_use_list()960 rx_ring->sbq_use_tail = inuse_idx; in ql_add_sbuf_to_in_use_list()972 uint32_t inuse_idx; in ql_get_sbuf_from_in_use_list() local975 inuse_idx = rx_ring->sbq_use_head; in ql_get_sbuf_from_in_use_list()976 sbq_desc = rx_ring->sbuf_in_use[inuse_idx]; in ql_get_sbuf_from_in_use_list()977 rx_ring->sbuf_in_use[inuse_idx] = NULL; in ql_get_sbuf_from_in_use_list()[all …]