Lines Matching defs:common
1509 mad->common.status = cpu_to_be16(VIOSRP_MAD_SUCCESS);
1511 if (be16_to_cpu(mad->common.length) > sizeof(*info)) {
1512 mad->common.status = cpu_to_be16(VIOSRP_MAD_FAILED);
1521 mad->common.status = cpu_to_be16(VIOSRP_MAD_FAILED);
1526 rc = h_copy_rdma(be16_to_cpu(mad->common.length),
1616 struct mad_capability_common *common;
1623 olen = be16_to_cpu(mad->common.length);
1631 mad->common.status = cpu_to_be16(VIOSRP_MAD_FAILED);
1640 mad->common.status = cpu_to_be16(VIOSRP_MAD_FAILED);
1652 common = (struct mad_capability_common *)&cap->migration;
1656 len, be32_to_cpu(common->cap_type),
1657 be16_to_cpu(common->length));
1659 cap_len = be16_to_cpu(common->length);
1672 switch (common->cap_type) {
1675 common->server_support = 0;
1682 common = (struct mad_capability_common *)
1683 ((char *)common + cap_len);
1686 mad->common.status = cpu_to_be16(status);
1736 vscsi->empty_iu_tag = be64_to_cpu(empty->common.tag);