Lines Matching refs:retbuf
1837 struct copychunk_ioctl_rsp *retbuf = NULL; in smb2_copychunk_range() local
1872 kfree(retbuf); in smb2_copychunk_range()
1873 retbuf = NULL; in smb2_copychunk_range()
1878 (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1886 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range()
1894 if (le32_to_cpu(retbuf->TotalBytesWritten) > in smb2_copychunk_range()
1900 if (le32_to_cpu(retbuf->ChunksWritten) != 1) { in smb2_copychunk_range()
1907 bytes_written = le32_to_cpu(retbuf->TotalBytesWritten); in smb2_copychunk_range()
1914 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1915 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1922 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1923 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1924 le32_to_cpu(retbuf->TotalBytesWritten)); in smb2_copychunk_range()
1937 if (le32_to_cpu(retbuf->ChunkBytesWritten) < in smb2_copychunk_range()
1940 le32_to_cpu(retbuf->ChunkBytesWritten); in smb2_copychunk_range()
1952 kfree(retbuf); in smb2_copychunk_range()
2177 char *retbuf = NULL; in smb3_enum_snapshots() local
2211 (char **)&retbuf, in smb3_enum_snapshots()
2218 if (ret_data_len && (ioc_buf != NULL) && (retbuf != NULL)) { in smb3_enum_snapshots()
2223 kfree(retbuf); in smb3_enum_snapshots()
2248 if (copy_to_user(ioc_buf, retbuf, ret_data_len)) in smb3_enum_snapshots()
2252 kfree(retbuf); in smb3_enum_snapshots()