Lines Matching refs:cpu_to_be32
1656 p->rate = cpu_to_be32(sc->rate);
1688 p->protocol = cpu_to_be32(mdev->net_conf->wire_protocol);
1689 p->after_sb_0p = cpu_to_be32(mdev->net_conf->after_sb_0p);
1690 p->after_sb_1p = cpu_to_be32(mdev->net_conf->after_sb_1p);
1691 p->after_sb_2p = cpu_to_be32(mdev->net_conf->after_sb_2p);
1692 p->two_primaries = cpu_to_be32(mdev->net_conf->two_primaries);
1706 p->conn_flags = cpu_to_be32(cf);
1784 p.max_segment_size = cpu_to_be32(queue_max_segment_size(mdev->rq_queue));
1809 p.state = cpu_to_be32(mdev->state.i); /* Within the send mutex */
1828 p.mask = cpu_to_be32(mask.i);
1829 p.val = cpu_to_be32(val.i);
1839 p.retcode = cpu_to_be32(retcode);
2052 p.set_size = cpu_to_be32(set_size);
2080 p.seq_num = cpu_to_be32(atomic_add_return(1, &mdev->packet_seq));
2096 return _drbd_send_ack(mdev, cmd, dp->sector, cpu_to_be32(data_size),
2117 cpu_to_be32(e->size),
2128 cpu_to_be32(blksize),
2140 p.blksize = cpu_to_be32(size);
2157 p.blksize = cpu_to_be32(size);
2180 p.blksize = cpu_to_be32(size);
2338 p.seq_num = cpu_to_be32(req->seq_num =
2359 p.dp_flags = cpu_to_be32(dp_flags);
3274 buffer->flags = cpu_to_be32(mdev->ldev->md.flags);
3275 buffer->magic = cpu_to_be32(DRBD_MD_MAGIC);
3277 buffer->md_size_sect = cpu_to_be32(mdev->ldev->md.md_size_sect);
3278 buffer->al_offset = cpu_to_be32(mdev->ldev->md.al_offset);
3279 buffer->al_nr_extents = cpu_to_be32(mdev->act_log->nr_elements);
3280 buffer->bm_bytes_per_bit = cpu_to_be32(BM_BLOCK_SIZE);
3283 buffer->bm_offset = cpu_to_be32(mdev->ldev->md.bm_offset);