Searched refs:hmcs (Results 1 – 1 of 1) sorted by relevance
47 static struct ibmvmc_hmc hmcs[MAX_HMCS]; variable333 buffer = hmcs[hmc_index].buffer; in ibmvmc_get_valid_hmc_buffer()369 buffer = hmcs[hmc_index].buffer; in ibmvmc_get_free_hmc_buffer()423 buffer = hmcs[hmc_index].buffer; in ibmvmc_count_hmc_buffers()424 spin_lock_irqsave(&hmcs[hmc_index].lock, flags); in ibmvmc_count_hmc_buffers()434 spin_unlock_irqrestore(&hmcs[hmc_index].lock, flags); in ibmvmc_count_hmc_buffers()453 spin_lock_irqsave(&hmcs[i].lock, flags); in ibmvmc_get_free_hmc()454 if (hmcs[i].state == ibmhmc_state_free) { in ibmvmc_get_free_hmc()455 hmcs[i].index = i; in ibmvmc_get_free_hmc()456 hmcs[i].state = ibmhmc_state_initial; in ibmvmc_get_free_hmc()[all …]