Searched refs:dp_flags (Results 1 – 3 of 3) sorted by relevance
1686 unsigned int dp_flags = 0; in drbd_send_dblock() local1700 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio); in drbd_send_dblock()1703 dp_flags |= DP_MAY_SET_IN_SYNC; in drbd_send_dblock()1706 dp_flags |= DP_SEND_RECEIVE_ACK; in drbd_send_dblock()1710 || (dp_flags & DP_MAY_SET_IN_SYNC)) in drbd_send_dblock()1711 dp_flags |= DP_SEND_WRITE_ACK; in drbd_send_dblock()1713 p->dp_flags = cpu_to_be32(dp_flags); in drbd_send_dblock()1715 if (dp_flags & (DP_DISCARD|DP_ZEROES)) { in drbd_send_dblock()1716 enum drbd_packet cmd = (dp_flags & DP_ZEROES) ? P_ZEROES : P_TRIM; in drbd_send_dblock()1722 if (dp_flags & DP_WSAME) { in drbd_send_dblock()[all …]
149 u32 dp_flags; member
2596 u32 dp_flags; in receive_Data() local2633 dp_flags = be32_to_cpu(p->dp_flags); in receive_Data()2634 op = wire_flags_to_bio_op(dp_flags); in receive_Data()2635 op_flags = wire_flags_to_bio_flags(dp_flags); in receive_Data()2649 if (dp_flags & DP_DISCARD) in receive_Data()2653 D_ASSERT(device, dp_flags & DP_FLUSH); in receive_Data()2656 if (dp_flags & DP_MAY_SET_IN_SYNC) in receive_Data()2671 dp_flags |= DP_SEND_WRITE_ACK; in receive_Data()2674 dp_flags |= DP_SEND_RECEIVE_ACK; in receive_Data()2680 if (dp_flags & DP_SEND_WRITE_ACK) { in receive_Data()[all …]