Lines Matching refs:retbuf
1069 struct copychunk_ioctl_rsp *retbuf = NULL; in smb2_copychunk_range() local
1107 sizeof(struct copychunk_ioctl), (char **)&retbuf, in smb2_copychunk_range()
1116 if (retbuf->TotalBytesWritten == 0) { in smb2_copychunk_range()
1124 if (le32_to_cpu(retbuf->TotalBytesWritten) > in smb2_copychunk_range()
1130 if (le32_to_cpu(retbuf->ChunksWritten) != 1) { in smb2_copychunk_range()
1137 bytes_written = le32_to_cpu(retbuf->TotalBytesWritten); in smb2_copychunk_range()
1144 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1145 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1152 le32_to_cpu(retbuf->ChunksWritten), in smb2_copychunk_range()
1153 le32_to_cpu(retbuf->ChunkBytesWritten), in smb2_copychunk_range()
1154 le32_to_cpu(retbuf->TotalBytesWritten)); in smb2_copychunk_range()
1167 if (le32_to_cpu(retbuf->ChunkBytesWritten) < in smb2_copychunk_range()
1170 le32_to_cpu(retbuf->ChunkBytesWritten); in smb2_copychunk_range()
1182 kfree(retbuf); in smb2_copychunk_range()
1392 char *retbuf = NULL; in smb3_enum_snapshots() local
1402 (char **)&retbuf, in smb3_enum_snapshots()
1409 if (ret_data_len && (ioc_buf != NULL) && (retbuf != NULL)) { in smb3_enum_snapshots()
1414 kfree(retbuf); in smb3_enum_snapshots()
1439 if (copy_to_user(ioc_buf, retbuf, ret_data_len)) in smb3_enum_snapshots()
1443 kfree(retbuf); in smb3_enum_snapshots()