Lines Matching refs:peer_req
1376 struct drbd_peer_request *peer_req) in drbd_send_ack() argument
1379 cpu_to_be64(peer_req->i.sector), in drbd_send_ack()
1380 cpu_to_be32(peer_req->i.size), in drbd_send_ack()
1381 peer_req->block_id); in drbd_send_ack()
1396 struct drbd_peer_request *peer_req) in drbd_send_rs_deallocated() argument
1405 p->sector = cpu_to_be64(peer_req->i.sector); in drbd_send_rs_deallocated()
1406 p->blksize = cpu_to_be32(peer_req->i.size); in drbd_send_rs_deallocated()
1615 struct drbd_peer_request *peer_req) in _drbd_send_zc_ee() argument
1617 struct page *page = peer_req->pages; in _drbd_send_zc_ee()
1618 unsigned len = peer_req->i.size; in _drbd_send_zc_ee()
1747 struct drbd_peer_request *peer_req) in drbd_send_block() argument
1763 p->sector = cpu_to_be64(peer_req->i.sector); in drbd_send_block()
1764 p->block_id = peer_req->block_id; in drbd_send_block()
1768 drbd_csum_ee(peer_device->connection->integrity_tfm, peer_req, p + 1); in drbd_send_block()
1769 …peer_device->connection, device->vnr, sock, cmd, sizeof(*p) + digest_size, NULL, peer_req->i.size); in drbd_send_block()
1771 err = _drbd_send_zc_ee(peer_device, peer_req); in drbd_send_block()