hmc_index 324 drivers/misc/ibmvmc.c static struct ibmvmc_buffer *ibmvmc_get_valid_hmc_buffer(u8 hmc_index) hmc_index 330 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) hmc_index 333 drivers/misc/ibmvmc.c buffer = hmcs[hmc_index].buffer; hmc_index 357 drivers/misc/ibmvmc.c u8 hmc_index) hmc_index 363 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) { hmc_index 365 drivers/misc/ibmvmc.c hmc_index); hmc_index 369 drivers/misc/ibmvmc.c buffer = hmcs[hmc_index].buffer; hmc_index 408 drivers/misc/ibmvmc.c static void ibmvmc_count_hmc_buffers(u8 hmc_index, unsigned int *valid, hmc_index 415 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) hmc_index 423 drivers/misc/ibmvmc.c buffer = hmcs[hmc_index].buffer; hmc_index 424 drivers/misc/ibmvmc.c spin_lock_irqsave(&hmcs[hmc_index].lock, flags); hmc_index 434 drivers/misc/ibmvmc.c spin_unlock_irqrestore(&hmcs[hmc_index].lock, flags); hmc_index 580 drivers/misc/ibmvmc.c crq_msg.hmc_index = hmc->index; hmc_index 624 drivers/misc/ibmvmc.c crq_msg.hmc_index = hmc->index; hmc_index 694 drivers/misc/ibmvmc.c u8 hmc_index, u16 buffer_id) hmc_index 705 drivers/misc/ibmvmc.c crq_msg.hmc_index = hmc_index; hmc_index 735 drivers/misc/ibmvmc.c u8 hmc_index, u16 buffer_id) hmc_index 746 drivers/misc/ibmvmc.c crq_msg.hmc_index = hmc_index; hmc_index 802 drivers/misc/ibmvmc.c crq_msg.hmc_index = hmc->index; hmc_index 1429 drivers/misc/ibmvmc.c u8 hmc_index; hmc_index 1439 drivers/misc/ibmvmc.c hmc_index = crq->hmc_index; hmc_index 1442 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) { hmc_index 1444 drivers/misc/ibmvmc.c hmc_index); hmc_index 1446 drivers/misc/ibmvmc.c hmc_session, hmc_index, buffer_id); hmc_index 1454 drivers/misc/ibmvmc.c hmc_session, hmc_index, buffer_id); hmc_index 1458 drivers/misc/ibmvmc.c spin_lock_irqsave(&hmcs[hmc_index].lock, flags); hmc_index 1459 drivers/misc/ibmvmc.c buffer = &hmcs[hmc_index].buffer[buffer_id]; hmc_index 1464 drivers/misc/ibmvmc.c spin_unlock_irqrestore(&hmcs[hmc_index].lock, flags); hmc_index 1466 drivers/misc/ibmvmc.c hmc_session, hmc_index, buffer_id); hmc_index 1476 drivers/misc/ibmvmc.c spin_unlock_irqrestore(&hmcs[hmc_index].lock, flags); hmc_index 1478 drivers/misc/ibmvmc.c hmc_session, hmc_index, buffer_id); hmc_index 1493 drivers/misc/ibmvmc.c hmc_index, hmc_session, buffer_id, buffer->owner); hmc_index 1497 drivers/misc/ibmvmc.c spin_unlock_irqrestore(&hmcs[hmc_index].lock, flags); hmc_index 1500 drivers/misc/ibmvmc.c hmc_index, buffer_id); hmc_index 1546 drivers/misc/ibmvmc.c u8 hmc_index; hmc_index 1556 drivers/misc/ibmvmc.c hmc_index = crq->hmc_index; hmc_index 1558 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) { hmc_index 1560 drivers/misc/ibmvmc.c hmc_index); hmc_index 1562 drivers/misc/ibmvmc.c hmc_session, hmc_index, buffer_id); hmc_index 1566 drivers/misc/ibmvmc.c spin_lock_irqsave(&hmcs[hmc_index].lock, flags); hmc_index 1567 drivers/misc/ibmvmc.c buffer = ibmvmc_get_free_hmc_buffer(adapter, hmc_index); hmc_index 1570 drivers/misc/ibmvmc.c spin_unlock_irqrestore(&hmcs[hmc_index].lock, flags); hmc_index 1572 drivers/misc/ibmvmc.c hmc_session, hmc_index, hmc_index 1586 drivers/misc/ibmvmc.c spin_unlock_irqrestore(&hmcs[hmc_index].lock, flags); hmc_index 1590 drivers/misc/ibmvmc.c hmc_index, buffer_id); hmc_index 1601 drivers/misc/ibmvmc.c u8 hmc_index; hmc_index 1616 drivers/misc/ibmvmc.c hmc_index = crq->hmc_index; hmc_index 1620 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) { hmc_index 1622 drivers/misc/ibmvmc.c hmc_index); hmc_index 1624 drivers/misc/ibmvmc.c hmc_session, hmc_index, buffer_id); hmc_index 1632 drivers/misc/ibmvmc.c hmc_session, hmc_index, buffer_id); hmc_index 1636 drivers/misc/ibmvmc.c hmc = &hmcs[hmc_index]; hmc_index 1665 drivers/misc/ibmvmc.c (unsigned int)hmc->queue_head, (unsigned int)hmc_index); hmc_index 1738 drivers/misc/ibmvmc.c unsigned char hmc_index; hmc_index 1740 drivers/misc/ibmvmc.c hmc_index = crq->hmc_index; hmc_index 1745 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) hmc_index 1748 drivers/misc/ibmvmc.c if (hmcs[hmc_index].session != crq->hmc_session) { hmc_index 1750 drivers/misc/ibmvmc.c hmcs[hmc_index].session, crq->hmc_session); hmc_index 1859 drivers/misc/ibmvmc.c unsigned char hmc_index; hmc_index 1862 drivers/misc/ibmvmc.c hmc_index = crq->hmc_index; hmc_index 1863 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) { hmc_index 1872 drivers/misc/ibmvmc.c ibmvmc_return_hmc(&hmcs[hmc_index], false); hmc_index 1876 drivers/misc/ibmvmc.c if (hmcs[hmc_index].state == ibmhmc_state_opening) { hmc_index 1881 drivers/misc/ibmvmc.c hmcs[hmc_index].state = ibmhmc_state_failed; hmc_index 1883 drivers/misc/ibmvmc.c ibmvmc_free_hmc_buffer(&hmcs[hmc_index], hmc_index 1884 drivers/misc/ibmvmc.c &hmcs[hmc_index].buffer[buffer_id]); hmc_index 1885 drivers/misc/ibmvmc.c hmcs[hmc_index].state = ibmhmc_state_ready; hmc_index 1890 drivers/misc/ibmvmc.c hmcs[hmc_index].state); hmc_index 1909 drivers/misc/ibmvmc.c unsigned char hmc_index; hmc_index 1911 drivers/misc/ibmvmc.c hmc_index = crq->hmc_index; hmc_index 1912 drivers/misc/ibmvmc.c if (hmc_index > ibmvmc.max_hmc_index) { hmc_index 1924 drivers/misc/ibmvmc.c ibmvmc_return_hmc(&hmcs[hmc_index], false); hmc_index 136 drivers/misc/ibmvmc.h u8 hmc_index; /* A unique HMC Idx would be used if multiple management