Lines Matching refs:retbuf
1716 struct copychunk_ioctl_rsp *retbuf = NULL; in smb2_copychunk_range() local
1750 kfree(retbuf); in smb2_copychunk_range()
1751 retbuf = NULL; in smb2_copychunk_range()
1755 CIFSMaxBufSize, (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1763 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range()
1771 if (le32_to_cpu(retbuf->TotalBytesWritten) > in smb2_copychunk_range()
1777 if (le32_to_cpu(retbuf->ChunksWritten) != 1) { in smb2_copychunk_range()
1784 bytes_written = le32_to_cpu(retbuf->TotalBytesWritten); in smb2_copychunk_range()
1791 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1792 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1799 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1800 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1801 le32_to_cpu(retbuf->TotalBytesWritten)); in smb2_copychunk_range()
1814 if (le32_to_cpu(retbuf->ChunkBytesWritten) < in smb2_copychunk_range()
1817 le32_to_cpu(retbuf->ChunkBytesWritten); in smb2_copychunk_range()
1829 kfree(retbuf); in smb2_copychunk_range()
2051 char *retbuf = NULL; in smb3_enum_snapshots() local
2084 (char **)&retbuf, in smb3_enum_snapshots()
2091 if (ret_data_len && (ioc_buf != NULL) && (retbuf != NULL)) { in smb3_enum_snapshots()
2096 kfree(retbuf); in smb3_enum_snapshots()
2121 if (copy_to_user(ioc_buf, retbuf, ret_data_len)) in smb3_enum_snapshots()
2125 kfree(retbuf); in smb3_enum_snapshots()