Searched refs:in_hdr (Results 1 – 3 of 3) sorted by relevance
41 struct virtio_scsi_inhdr in_hdr; member70 vbr->req->resid_len = vbr->in_hdr.residual; in blk_done()71 vbr->req->sense_len = vbr->in_hdr.sense_len; in blk_done()72 vbr->req->errors = vbr->in_hdr.errors; in blk_done()145 sg_set_buf(&vblk->sg[num + out + in++], &vbr->in_hdr, in do_req()146 sizeof(vbr->in_hdr)); in do_req()
1506 while (con->in_base_pos < sizeof(con->in_hdr)) { in read_partial_message()1507 left = sizeof(con->in_hdr) - con->in_base_pos; in read_partial_message()1509 (char *)&con->in_hdr + con->in_base_pos, in read_partial_message()1514 if (con->in_base_pos == sizeof(con->in_hdr)) { in read_partial_message()1515 u32 crc = crc32c(0, (void *)&con->in_hdr, in read_partial_message()1516 sizeof(con->in_hdr) - sizeof(con->in_hdr.crc)); in read_partial_message()1517 if (crc != le32_to_cpu(con->in_hdr.crc)) { in read_partial_message()1520 crc, con->in_hdr.crc); in read_partial_message()1525 front_len = le32_to_cpu(con->in_hdr.front_len); in read_partial_message()1528 middle_len = le32_to_cpu(con->in_hdr.middle_len); in read_partial_message()[all …]
197 struct ceph_msg_header in_hdr; member