Searched refs:io_rsp (Results 1 – 2 of 2) sorted by relevance
2706 TRANSACT_IOCTL_RSP *io_rsp = NULL; in cifs_query_reparse_point() local2735 (void **)&io_req, (void **)&io_rsp); in cifs_query_reparse_point()2759 (struct smb_hdr *)io_rsp, &io_rsp_len, 0); in cifs_query_reparse_point()2763 data_offset = le32_to_cpu(io_rsp->DataOffset); in cifs_query_reparse_point()2764 data_count = le32_to_cpu(io_rsp->DataCount); in cifs_query_reparse_point()2765 if (get_bcc(&io_rsp->hdr) < 2 || data_offset > 512 || in cifs_query_reparse_point()2771 end = 2 + get_bcc(&io_rsp->hdr) + (__u8 *)&io_rsp->ByteCount; in cifs_query_reparse_point()2772 start = (__u8 *)&io_rsp->hdr.Protocol + data_offset; in cifs_query_reparse_point()2778 data_count = le16_to_cpu(io_rsp->ByteCount); in cifs_query_reparse_point()2788 rsp->iov_base = io_rsp; in cifs_query_reparse_point()
1516 struct smb2_ioctl_rsp *io_rsp = NULL; in smb2_ioctl_query_info() local1689 io_rsp = (struct smb2_ioctl_rsp *)rsp_iov[1].iov_base; in smb2_ioctl_query_info()1690 if (le32_to_cpu(io_rsp->OutputCount) < qi.input_buffer_length) in smb2_ioctl_query_info()1691 qi.input_buffer_length = le32_to_cpu(io_rsp->OutputCount); in smb2_ioctl_query_info()1693 le32_to_cpu(io_rsp->OutputOffset) + qi.input_buffer_length in smb2_ioctl_query_info()1707 (const void *)io_rsp + le32_to_cpu(io_rsp->OutputOffset), in smb2_ioctl_query_info()