Lines Matching refs:retbuf
1793 struct copychunk_ioctl_rsp *retbuf = NULL; in smb2_copychunk_range() local
1831 kfree(retbuf); in smb2_copychunk_range()
1832 retbuf = NULL; in smb2_copychunk_range()
1836 CIFSMaxBufSize, (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1844 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range()
1852 if (le32_to_cpu(retbuf->TotalBytesWritten) > in smb2_copychunk_range()
1858 if (le32_to_cpu(retbuf->ChunksWritten) != 1) { in smb2_copychunk_range()
1865 bytes_written = le32_to_cpu(retbuf->TotalBytesWritten); in smb2_copychunk_range()
1872 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1873 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1883 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1884 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1885 le32_to_cpu(retbuf->TotalBytesWritten)); in smb2_copychunk_range()
1898 if (le32_to_cpu(retbuf->ChunkBytesWritten) < in smb2_copychunk_range()
1901 le32_to_cpu(retbuf->ChunkBytesWritten); in smb2_copychunk_range()
1913 kfree(retbuf); in smb2_copychunk_range()
2146 char *retbuf = NULL; in smb3_enum_snapshots() local
2179 (char **)&retbuf, in smb3_enum_snapshots()
2186 if (ret_data_len && (ioc_buf != NULL) && (retbuf != NULL)) { in smb3_enum_snapshots()
2191 kfree(retbuf); in smb3_enum_snapshots()
2216 if (copy_to_user(ioc_buf, retbuf, ret_data_len)) in smb3_enum_snapshots()
2220 kfree(retbuf); in smb3_enum_snapshots()