Lines Matching refs:retbuf
1746 struct copychunk_ioctl_rsp *retbuf = NULL; in smb2_copychunk_range() local
1789 kfree(retbuf); in smb2_copychunk_range()
1790 retbuf = NULL; in smb2_copychunk_range()
1794 CIFSMaxBufSize, (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1802 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range()
1810 if (le32_to_cpu(retbuf->TotalBytesWritten) > in smb2_copychunk_range()
1816 if (le32_to_cpu(retbuf->ChunksWritten) != 1) { in smb2_copychunk_range()
1823 bytes_written = le32_to_cpu(retbuf->TotalBytesWritten); in smb2_copychunk_range()
1830 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1831 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1838 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1839 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1840 le32_to_cpu(retbuf->TotalBytesWritten)); in smb2_copychunk_range()
1853 if (le32_to_cpu(retbuf->ChunkBytesWritten) < in smb2_copychunk_range()
1856 le32_to_cpu(retbuf->ChunkBytesWritten); in smb2_copychunk_range()
1868 kfree(retbuf); in smb2_copychunk_range()
2090 char *retbuf = NULL; in smb3_enum_snapshots() local
2123 (char **)&retbuf, in smb3_enum_snapshots()
2130 if (ret_data_len && (ioc_buf != NULL) && (retbuf != NULL)) { in smb3_enum_snapshots()
2135 kfree(retbuf); in smb3_enum_snapshots()
2160 if (copy_to_user(ioc_buf, retbuf, ret_data_len)) in smb3_enum_snapshots()
2164 kfree(retbuf); in smb3_enum_snapshots()