Searched refs:s_packet (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Ddiag.c1510 struct snoop_packet *s_packet = NULL; snoop_recv_handler() local
1546 s_packet = allocate_snoop_packet(header_size, snoop_recv_handler()
1550 if (unlikely(s_packet == NULL)) { snoop_recv_handler()
1560 memcpy(s_packet->data, &md, md_len); snoop_recv_handler()
1565 memcpy(s_packet->data + md_len, hdr, header_size); snoop_recv_handler()
1568 kfree(s_packet); snoop_recv_handler()
1580 memcpy(s_packet->data + header_size + md_len, data, snoop_recv_handler()
1583 s_packet->total_len = tlen + md_len; snoop_recv_handler()
1584 snoop_list_add_tail(s_packet, ppd->dd); snoop_recv_handler()
1642 struct snoop_packet *s_packet = NULL; snoop_send_pio_handler() local
1667 s_packet = allocate_snoop_packet(hdr_len, tlen - hdr_len, md_len); snoop_send_pio_handler()
1669 if (unlikely(s_packet == NULL)) { snoop_send_pio_handler()
1674 s_packet->total_len = tlen + md_len; snoop_send_pio_handler()
1686 memcpy(s_packet->data, &md, md_len); snoop_send_pio_handler()
1693 memcpy(s_packet->data + md_len, hdr, hdr_len); snoop_send_pio_handler()
1697 kfree(s_packet); snoop_send_pio_handler()
1702 data = s_packet->data + hdr_len + md_len; snoop_send_pio_handler()
1754 kfree(s_packet); snoop_send_pio_handler()
1758 snoop_list_add_tail(s_packet, ppd->dd); snoop_send_pio_handler()
1782 kfree(s_packet); snoop_send_pio_handler()
1801 struct snoop_packet *s_packet = NULL; snoop_inline_pio_send() local
1837 s_packet = allocate_snoop_packet(packet_len, 0, md_len); snoop_inline_pio_send()
1839 if (unlikely(s_packet == NULL)) { snoop_inline_pio_send()
1844 s_packet->total_len = packet_len + md_len; snoop_inline_pio_send()
1852 memcpy(s_packet->data, &md, md_len); snoop_inline_pio_send()
1856 memcpy(s_packet->data + md_len, from, packet_len); snoop_inline_pio_send()
1858 snoop_list_add_tail(s_packet, dd); snoop_inline_pio_send()

Completed in 63 milliseconds