qb
u64 qb, rb;
qb = riscv_iommu_readq(iommu, queue->qbr);
if (logsz > FIELD_GET(RISCV_IOMMU_QUEUE_LOG2SZ_FIELD, qb))
logsz = FIELD_GET(RISCV_IOMMU_QUEUE_LOG2SZ_FIELD, qb);
if (FIELD_GET(RISCV_IOMMU_PPN_FIELD, qb)) {
queue->phys = pfn_to_phys(FIELD_GET(RISCV_IOMMU_PPN_FIELD, qb));
qb = phys_to_ppn(queue->phys) |
riscv_iommu_writeq(iommu, queue->qbr, qb);
if (rb != qb) {
struct qe_init_block *qb = qep->qe_block;
memset(qb, 0, sizeof(struct qe_init_block));
qb->qe_rxd[i].rx_addr = qbufs_dvma + qebuf_offset(rx_buf, i);
qb->qe_rxd[i].rx_flags =
const struct xfs_dqtrx *qb = b;
if (qa->qt_dquot->q_id > qb->qt_dquot->q_id)
if (qa->qt_dquot->q_id < qb->qt_dquot->q_id)
const struct netdev_qstats_get_rsp *qb = b;
if (qa->ifindex != qb->ifindex)
return qa->ifindex - qb->ifindex;
if (qa->queue_type != qb->queue_type)
return qa->queue_type - qb->queue_type;
return qa->queue_id - qb->queue_id;