Lines Matching refs:retbuf
1698 struct copychunk_ioctl_rsp *retbuf = NULL; in smb2_copychunk_range() local
1732 kfree(retbuf); in smb2_copychunk_range()
1733 retbuf = NULL; in smb2_copychunk_range()
1737 CIFSMaxBufSize, (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1745 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range()
1753 if (le32_to_cpu(retbuf->TotalBytesWritten) > in smb2_copychunk_range()
1759 if (le32_to_cpu(retbuf->ChunksWritten) != 1) { in smb2_copychunk_range()
1766 bytes_written = le32_to_cpu(retbuf->TotalBytesWritten); in smb2_copychunk_range()
1773 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1774 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1781 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1782 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1783 le32_to_cpu(retbuf->TotalBytesWritten)); in smb2_copychunk_range()
1796 if (le32_to_cpu(retbuf->ChunkBytesWritten) < in smb2_copychunk_range()
1799 le32_to_cpu(retbuf->ChunkBytesWritten); in smb2_copychunk_range()
1811 kfree(retbuf); in smb2_copychunk_range()
2033 char *retbuf = NULL; in smb3_enum_snapshots() local
2066 (char **)&retbuf, in smb3_enum_snapshots()
2073 if (ret_data_len && (ioc_buf != NULL) && (retbuf != NULL)) { in smb3_enum_snapshots()
2078 kfree(retbuf); in smb3_enum_snapshots()
2103 if (copy_to_user(ioc_buf, retbuf, ret_data_len)) in smb3_enum_snapshots()
2107 kfree(retbuf); in smb3_enum_snapshots()