Searched refs:free_idx (Results 1 – 2 of 2) sorted by relevance
187 int free_idx = -1; in check_user() local198 if ((free_idx == -1) && (tmp_uid == 0)) in check_user()199 free_idx = i; in check_user()201 if (free_idx != -1) { in check_user()202 user_count[free_idx].uid = uid; in check_user()203 user_count[free_idx].count = 1; in check_user()
1006 uint32_t free_idx; in ql_add_sbuf_to_free_list() local1009 free_idx = rx_ring->sbq_free_tail; in ql_add_sbuf_to_free_list()1010 rx_ring->sbuf_free[free_idx] = sbq_desc; in ql_add_sbuf_to_free_list()1012 free_idx++; in ql_add_sbuf_to_free_list()1013 if (free_idx >= rx_ring->sbq_len) in ql_add_sbuf_to_free_list()1014 free_idx = 0; in ql_add_sbuf_to_free_list()1015 rx_ring->sbq_free_tail = free_idx; in ql_add_sbuf_to_free_list()1026 uint32_t free_idx; in ql_get_sbuf_from_free_list() local1028 free_idx = rx_ring->sbq_free_head; in ql_get_sbuf_from_free_list()1030 sbq_desc = rx_ring->sbuf_free[free_idx]; in ql_get_sbuf_from_free_list()[all …]