Lines Matching refs:retbuf
1587 struct copychunk_ioctl_rsp *retbuf = NULL; in smb2_copychunk_range() local
1626 (char **)&retbuf, &ret_data_len); in smb2_copychunk_range()
1634 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range()
1642 if (le32_to_cpu(retbuf->TotalBytesWritten) > in smb2_copychunk_range()
1648 if (le32_to_cpu(retbuf->ChunksWritten) != 1) { in smb2_copychunk_range()
1655 bytes_written = le32_to_cpu(retbuf->TotalBytesWritten); in smb2_copychunk_range()
1662 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1663 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1670 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1671 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1672 le32_to_cpu(retbuf->TotalBytesWritten)); in smb2_copychunk_range()
1685 if (le32_to_cpu(retbuf->ChunkBytesWritten) < in smb2_copychunk_range()
1688 le32_to_cpu(retbuf->ChunkBytesWritten); in smb2_copychunk_range()
1700 kfree(retbuf); in smb2_copychunk_range()
1913 char *retbuf = NULL; in smb3_enum_snapshots() local
1947 (char **)&retbuf, in smb3_enum_snapshots()
1954 if (ret_data_len && (ioc_buf != NULL) && (retbuf != NULL)) { in smb3_enum_snapshots()
1959 kfree(retbuf); in smb3_enum_snapshots()
1984 if (copy_to_user(ioc_buf, retbuf, ret_data_len)) in smb3_enum_snapshots()
1988 kfree(retbuf); in smb3_enum_snapshots()