Home
last modified time | relevance | path

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

/linux-3.4.99/net/ceph/
Dmessenger.c1739 left = min((int)(data_len - con->in_msg_pos.data_pos), in read_partial_message_pages()
1740 (int)(PAGE_SIZE - con->in_msg_pos.page_pos)); in read_partial_message_pages()
1743 p = kmap(pages[con->in_msg_pos.page]); in read_partial_message_pages()
1744 ret = ceph_tcp_recvmsg(con->sock, p + con->in_msg_pos.page_pos, in read_partial_message_pages()
1749 p + con->in_msg_pos.page_pos, ret); in read_partial_message_pages()
1750 kunmap(pages[con->in_msg_pos.page]); in read_partial_message_pages()
1753 con->in_msg_pos.data_pos += ret; in read_partial_message_pages()
1754 con->in_msg_pos.page_pos += ret; in read_partial_message_pages()
1755 if (con->in_msg_pos.page_pos == PAGE_SIZE) { in read_partial_message_pages()
1756 con->in_msg_pos.page_pos = 0; in read_partial_message_pages()
[all …]
/linux-3.4.99/include/linux/ceph/
Dmessenger.h176 struct ceph_msg_pos in_msg_pos; member