Home
last modified time | relevance | path

Searched refs:r2t_pdu (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dtcp.c62 struct nvme_tcp_r2t_pdu *r2t_pdu; member
442 struct nvme_tcp_r2t_pdu *pdu = cmd->r2t_pdu; in nvmet_setup_r2t_pdu()
665 int left = sizeof(*cmd->r2t_pdu) - cmd->offset + hdgst; in nvmet_try_send_r2t()
674 ret = kernel_sendpage(cmd->queue->sock, virt_to_page(cmd->r2t_pdu), in nvmet_try_send_r2t()
675 offset_in_page(cmd->r2t_pdu) + cmd->offset, left, flags); in nvmet_try_send_r2t()
1310 c->r2t_pdu = page_frag_alloc(&queue->pf_cache, in nvmet_tcp_alloc_cmd()
1311 sizeof(*c->r2t_pdu) + hdgst, GFP_KERNEL | __GFP_ZERO); in nvmet_tcp_alloc_cmd()
1312 if (!c->r2t_pdu) in nvmet_tcp_alloc_cmd()
1331 page_frag_free(c->r2t_pdu); in nvmet_tcp_free_cmd()