Lines Matching refs:free_blocks
32 sizeof((wqs)->free_blocks[0]))
249 *page_idx = wqs->free_blocks[pos].page_idx; in wqs_next_block()
250 *block_idx = wqs->free_blocks[pos].block_idx; in wqs_next_block()
252 wqs->free_blocks[pos].page_idx = -1; in wqs_next_block()
253 wqs->free_blocks[pos].block_idx = -1; in wqs_next_block()
269 wqs->free_blocks[pos].page_idx = page_idx; in wqs_return_block()
270 wqs->free_blocks[pos].block_idx = block_idx; in wqs_return_block()
283 wqs->free_blocks[pos].page_idx = page_idx; in init_wqs_blocks_arr()
284 wqs->free_blocks[pos].block_idx = blk_idx; in init_wqs_blocks_arr()
333 wqs->free_blocks = devm_kzalloc(&pdev->dev, WQS_FREE_BLOCKS_SIZE(wqs), in hinic_wqs_alloc()
335 if (!wqs->free_blocks) { in hinic_wqs_alloc()
362 devm_kfree(&pdev->dev, wqs->free_blocks); in hinic_wqs_free()