Lines Matching refs:hinic_wqs
137 static int wqs_allocate_page(struct hinic_wqs *wqs, int page_idx) in wqs_allocate_page()
150 static void wqs_free_page(struct hinic_wqs *wqs, int page_idx) in wqs_free_page()
190 static int alloc_page_arrays(struct hinic_wqs *wqs) in alloc_page_arrays()
221 static void free_page_arrays(struct hinic_wqs *wqs) in free_page_arrays()
231 static int wqs_next_block(struct hinic_wqs *wqs, int *page_idx, in wqs_next_block()
259 static void wqs_return_block(struct hinic_wqs *wqs, int page_idx, in wqs_return_block()
277 static void init_wqs_blocks_arr(struct hinic_wqs *wqs) in init_wqs_blocks_arr()
304 int hinic_wqs_alloc(struct hinic_wqs *wqs, int max_wqs, in hinic_wqs_alloc()
356 void hinic_wqs_free(struct hinic_wqs *wqs) in hinic_wqs_free()
503 int hinic_wq_allocate(struct hinic_wqs *wqs, struct hinic_wq *wq, in hinic_wq_allocate()
579 void hinic_wq_free(struct hinic_wqs *wqs, struct hinic_wq *wq) in hinic_wq_free()