Searched refs:dp_flags (Results 1 – 3 of 3) sorted by relevance
1685 unsigned int dp_flags = 0; in drbd_send_dblock() local1699 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio); in drbd_send_dblock()1702 dp_flags |= DP_MAY_SET_IN_SYNC; in drbd_send_dblock()1705 dp_flags |= DP_SEND_RECEIVE_ACK; in drbd_send_dblock()1709 || (dp_flags & DP_MAY_SET_IN_SYNC)) in drbd_send_dblock()1710 dp_flags |= DP_SEND_WRITE_ACK; in drbd_send_dblock()1712 p->dp_flags = cpu_to_be32(dp_flags); in drbd_send_dblock()1714 if (dp_flags & DP_DISCARD) { in drbd_send_dblock()1720 if (dp_flags & DP_WSAME) { in drbd_send_dblock()1805 p->dp_flags = 0; in drbd_send_block()
137 u32 dp_flags; member
2538 u32 dp_flags; in receive_Data() local2575 dp_flags = be32_to_cpu(p->dp_flags); in receive_Data()2576 op = wire_flags_to_bio_op(dp_flags); in receive_Data()2577 op_flags = wire_flags_to_bio_flags(dp_flags); in receive_Data()2584 D_ASSERT(device, dp_flags & DP_FLUSH); in receive_Data()2587 if (dp_flags & DP_MAY_SET_IN_SYNC) in receive_Data()2602 dp_flags |= DP_SEND_WRITE_ACK; in receive_Data()2605 dp_flags |= DP_SEND_RECEIVE_ACK; in receive_Data()2611 if (dp_flags & DP_SEND_WRITE_ACK) { in receive_Data()2618 if (dp_flags & DP_SEND_RECEIVE_ACK) { in receive_Data()[all …]