Lines Matching refs:buffer_id
581 crq_msg.var2.buffer_id = cpu_to_be16(buffer->id); in ibmvmc_send_open()
694 u8 hmc_index, u16 buffer_id) in ibmvmc_send_add_buffer_resp() argument
706 crq_msg.var2.buffer_id = cpu_to_be16(buffer_id); in ibmvmc_send_add_buffer_resp()
735 u8 hmc_index, u16 buffer_id) in ibmvmc_send_rem_buffer_resp() argument
747 crq_msg.var2.buffer_id = cpu_to_be16(buffer_id); in ibmvmc_send_rem_buffer_resp()
803 crq_msg.var2.buffer_id = cpu_to_be16(buffer->id); in ibmvmc_send_msg()
1431 u16 buffer_id; in ibmvmc_add_buffer() local
1440 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_add_buffer()
1446 hmc_session, hmc_index, buffer_id); in ibmvmc_add_buffer()
1450 if (buffer_id >= ibmvmc.max_buffer_pool_size) { in ibmvmc_add_buffer()
1452 buffer_id); in ibmvmc_add_buffer()
1454 hmc_session, hmc_index, buffer_id); in ibmvmc_add_buffer()
1459 buffer = &hmcs[hmc_index].buffer[buffer_id]; in ibmvmc_add_buffer()
1463 (unsigned long)buffer_id); in ibmvmc_add_buffer()
1466 hmc_session, hmc_index, buffer_id); in ibmvmc_add_buffer()
1478 hmc_session, hmc_index, buffer_id); in ibmvmc_add_buffer()
1489 buffer->id = buffer_id; in ibmvmc_add_buffer()
1493 hmc_index, hmc_session, buffer_id, buffer->owner); in ibmvmc_add_buffer()
1500 hmc_index, buffer_id); in ibmvmc_add_buffer()
1548 u16 buffer_id = 0; in ibmvmc_rem_buffer() local
1562 hmc_session, hmc_index, buffer_id); in ibmvmc_rem_buffer()
1577 buffer_id = buffer->id; in ibmvmc_rem_buffer()
1588 dev_dbg(adapter->dev, "rem_buffer: removed buffer 0x%x.\n", buffer_id); in ibmvmc_rem_buffer()
1590 hmc_index, buffer_id); in ibmvmc_rem_buffer()
1603 u16 buffer_id; in ibmvmc_recv_msg() local
1617 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_recv_msg()
1624 hmc_session, hmc_index, buffer_id); in ibmvmc_recv_msg()
1628 if (buffer_id >= ibmvmc.max_buffer_pool_size) { in ibmvmc_recv_msg()
1630 buffer_id); in ibmvmc_recv_msg()
1632 hmc_session, hmc_index, buffer_id); in ibmvmc_recv_msg()
1647 buffer = &hmc->buffer[buffer_id]; in ibmvmc_recv_msg()
1664 (unsigned int)msg_len, (unsigned int)buffer_id, in ibmvmc_recv_msg()
1678 hmc->queue_outbound_msgs[hmc->queue_head] = buffer_id; in ibmvmc_recv_msg()
1860 unsigned short buffer_id; in ibmvmc_process_open_resp() local
1877 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_process_open_resp()
1878 if (buffer_id >= ibmvmc.max_buffer_pool_size) { in ibmvmc_process_open_resp()
1880 buffer_id); in ibmvmc_process_open_resp()
1884 &hmcs[hmc_index].buffer[buffer_id]); in ibmvmc_process_open_resp()