Lines Matching refs:peer_req
1369 struct drbd_peer_request *peer_req) in drbd_send_ack() argument
1372 cpu_to_be64(peer_req->i.sector), in drbd_send_ack()
1373 cpu_to_be32(peer_req->i.size), in drbd_send_ack()
1374 peer_req->block_id); in drbd_send_ack()
1389 struct drbd_peer_request *peer_req) in drbd_send_rs_deallocated() argument
1398 p->sector = cpu_to_be64(peer_req->i.sector); in drbd_send_rs_deallocated()
1399 p->blksize = cpu_to_be32(peer_req->i.size); in drbd_send_rs_deallocated()
1612 struct drbd_peer_request *peer_req) in _drbd_send_zc_ee() argument
1614 struct page *page = peer_req->pages; in _drbd_send_zc_ee()
1615 unsigned len = peer_req->i.size; in _drbd_send_zc_ee()
1744 struct drbd_peer_request *peer_req) in drbd_send_block() argument
1760 p->sector = cpu_to_be64(peer_req->i.sector); in drbd_send_block()
1761 p->block_id = peer_req->block_id; in drbd_send_block()
1765 drbd_csum_ee(peer_device->connection->integrity_tfm, peer_req, p + 1); in drbd_send_block()
1766 …peer_device->connection, device->vnr, sock, cmd, sizeof(*p) + digest_size, NULL, peer_req->i.size); in drbd_send_block()
1768 err = _drbd_send_zc_ee(peer_device, peer_req); in drbd_send_block()