Lines Matching refs:bytes_needed
1492 pasync_ctx->async_entry[cri].wq.bytes_needed = 0; in beiscsi_hdl_purge_handles()
1646 pasync_ctx->async_entry[cri].wq.bytes_needed, in beiscsi_hdl_fwd_pdu()
1661 unsigned int bytes_needed = 0, status = 0; in beiscsi_hdl_gather_pdu() local
1677 bytes_needed = AMAP_GET_BITS(struct amap_pdu_base, in beiscsi_hdl_gather_pdu()
1679 bytes_needed <<= 16; in beiscsi_hdl_gather_pdu()
1680 bytes_needed |= be16_to_cpu(AMAP_GET_BITS(struct amap_pdu_base, in beiscsi_hdl_gather_pdu()
1684 wq->bytes_needed = bytes_needed; in beiscsi_hdl_gather_pdu()
1686 if (!bytes_needed) in beiscsi_hdl_gather_pdu()
1691 if (!wq->hdr_len || !wq->bytes_needed) { in beiscsi_hdl_gather_pdu()
1697 if (wq->bytes_received > wq->bytes_needed) { in beiscsi_hdl_gather_pdu()
1702 if (wq->bytes_received == wq->bytes_needed) in beiscsi_hdl_gather_pdu()
1713 wq->hdr_len, wq->bytes_needed, in beiscsi_hdl_gather_pdu()