Lines Matching refs:cpu_to_le64
273 rsp->SystemTime = cpu_to_le64(ksmbd_systime()); in init_smb2_neg_rsp()
653 rsp_hdr->Id.AsyncId = cpu_to_le64(id); in setup_async_work()
1196 rsp->SystemTime = cpu_to_le64(ksmbd_systime()); in smb2_handle_negotiate()
1650 rsp->hdr.SessionId = cpu_to_le64(sess->id); in smb2_sess_setup()
2123 rsp->CreationTime = cpu_to_le64(0); in create_smb2_pipe()
2124 rsp->LastAccessTime = cpu_to_le64(0); in create_smb2_pipe()
2125 rsp->ChangeTime = cpu_to_le64(0); in create_smb2_pipe()
2126 rsp->AllocationSize = cpu_to_le64(0); in create_smb2_pipe()
2127 rsp->EndofFile = cpu_to_le64(0); in create_smb2_pipe()
2130 rsp->VolatileFileId = cpu_to_le64(id); in create_smb2_pipe()
3145 rsp->CreationTime = cpu_to_le64(fp->create_time); in smb2_open()
3147 rsp->LastAccessTime = cpu_to_le64(time); in smb2_open()
3149 rsp->LastWriteTime = cpu_to_le64(time); in smb2_open()
3151 rsp->ChangeTime = cpu_to_le64(time); in smb2_open()
3153 cpu_to_le64(stat.blocks << 9); in smb2_open()
3154 rsp->EndofFile = S_ISDIR(stat.mode) ? 0 : cpu_to_le64(stat.size); in smb2_open()
3159 rsp->PersistentFileId = cpu_to_le64(fp->persistent_id); in smb2_open()
3160 rsp->VolatileFileId = cpu_to_le64(fp->volatile_id); in smb2_open()
3507 dinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3524 fibdinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3541 posix_info->CreationTime = cpu_to_le64(ksmbd_kstat->create_time); in smb2_populate_readdir_entry()
3543 posix_info->ChangeTime = cpu_to_le64(time); in smb2_populate_readdir_entry()
3545 posix_info->LastAccessTime = cpu_to_le64(time); in smb2_populate_readdir_entry()
3547 posix_info->LastWriteTime = cpu_to_le64(time); in smb2_populate_readdir_entry()
3548 posix_info->EndOfFile = cpu_to_le64(ksmbd_kstat->kstat->size); in smb2_populate_readdir_entry()
3549 posix_info->AllocationSize = cpu_to_le64(ksmbd_kstat->kstat->blocks << 9); in smb2_populate_readdir_entry()
3553 posix_info->Inode = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
4053 sinfo->AllocationSize = cpu_to_le64(4096); in get_standard_info_pipe()
4054 sinfo->EndOfFile = cpu_to_le64(0); in get_standard_info_pipe()
4071 file_info->IndexNumber = cpu_to_le64(num | (1ULL << 63)); in get_internal_info_pipe()
4309 basic_info->CreationTime = cpu_to_le64(fp->create_time); in get_file_basic_info()
4311 basic_info->LastAccessTime = cpu_to_le64(time); in get_file_basic_info()
4313 basic_info->LastWriteTime = cpu_to_le64(time); in get_file_basic_info()
4315 basic_info->ChangeTime = cpu_to_le64(time); in get_file_basic_info()
4353 sinfo->AllocationSize = cpu_to_le64(get_allocation_size(inode, &stat)); in get_file_standard_info()
4354 sinfo->EndOfFile = S_ISDIR(stat.mode) ? 0 : cpu_to_le64(stat.size); in get_file_standard_info()
4408 file_info->CreationTime = cpu_to_le64(fp->create_time); in get_file_all_info()
4410 file_info->LastAccessTime = cpu_to_le64(time); in get_file_all_info()
4412 file_info->LastWriteTime = cpu_to_le64(time); in get_file_all_info()
4414 file_info->ChangeTime = cpu_to_le64(time); in get_file_all_info()
4418 cpu_to_le64(get_allocation_size(inode, &stat)); in get_file_all_info()
4419 file_info->EndOfFile = S_ISDIR(stat.mode) ? 0 : cpu_to_le64(stat.size); in get_file_all_info()
4425 file_info->IndexNumber = cpu_to_le64(stat.ino); in get_file_all_info()
4428 file_info->CurrentByteOffset = cpu_to_le64(fp->filp->f_pos); in get_file_all_info()
4534 file_info->StreamSize = cpu_to_le64(stream_name_len); in get_file_stream_info()
4535 file_info->StreamAllocationSize = cpu_to_le64(stream_name_len); in get_file_stream_info()
4551 file_info->StreamSize = cpu_to_le64(stat.size); in get_file_stream_info()
4552 file_info->StreamAllocationSize = cpu_to_le64(stat.blocks << 9); in get_file_stream_info()
4573 file_info->IndexNumber = cpu_to_le64(stat.ino); in get_file_internal_info()
4598 file_info->CreationTime = cpu_to_le64(fp->create_time); in get_file_network_open_info()
4600 file_info->LastAccessTime = cpu_to_le64(time); in get_file_network_open_info()
4602 file_info->LastWriteTime = cpu_to_le64(time); in get_file_network_open_info()
4604 file_info->ChangeTime = cpu_to_le64(time); in get_file_network_open_info()
4607 cpu_to_le64(get_allocation_size(inode, &stat)); in get_file_network_open_info()
4608 file_info->EndOfFile = S_ISDIR(stat.mode) ? 0 : cpu_to_le64(stat.size); in get_file_network_open_info()
4633 file_info->CurrentByteOffset = cpu_to_le64(fp->filp->f_pos); in get_file_position_info()
4661 file_info->CompressedFileSize = cpu_to_le64(stat.blocks << 9); in get_file_compression_info()
4701 file_info->CreationTime = cpu_to_le64(fp->create_time); in find_file_posix_info()
4703 file_info->LastAccessTime = cpu_to_le64(time); in find_file_posix_info()
4705 file_info->LastWriteTime = cpu_to_le64(time); in find_file_posix_info()
4707 file_info->ChangeTime = cpu_to_le64(time); in find_file_posix_info()
4709 file_info->Inode = cpu_to_le64(inode->i_ino); in find_file_posix_info()
4710 file_info->EndOfFile = cpu_to_le64(inode->i_size); in find_file_posix_info()
4711 file_info->AllocationSize = cpu_to_le64(inode->i_blocks << 9); in find_file_posix_info()
4956 info->TotalAllocationUnits = cpu_to_le64(stfs.f_blocks); in smb2_get_info_filesystem()
4957 info->FreeAllocationUnits = cpu_to_le64(stfs.f_bfree); in smb2_get_info_filesystem()
4970 info->TotalAllocationUnits = cpu_to_le64(stfs.f_blocks); in smb2_get_info_filesystem()
4972 cpu_to_le64(stfs.f_bavail); in smb2_get_info_filesystem()
4974 cpu_to_le64(stfs.f_bfree); in smb2_get_info_filesystem()
5038 info->DefaultQuotaThreshold = cpu_to_le64(SMB2_NO_FID); in smb2_get_info_filesystem()
5039 info->DefaultQuotaLimit = cpu_to_le64(SMB2_NO_FID); in smb2_get_info_filesystem()
5057 info->TotalBlocks = cpu_to_le64(stfs.f_blocks); in smb2_get_info_filesystem()
5058 info->BlocksAvail = cpu_to_le64(stfs.f_bfree); in smb2_get_info_filesystem()
5059 info->UserBlocksAvail = cpu_to_le64(stfs.f_bavail); in smb2_get_info_filesystem()
5060 info->TotalFileNodes = cpu_to_le64(stfs.f_files); in smb2_get_info_filesystem()
5061 info->FreeFileNodes = cpu_to_le64(stfs.f_ffree); in smb2_get_info_filesystem()
5317 cpu_to_le64(inode->i_blocks << 9); in smb2_close()
5318 rsp->EndOfFile = cpu_to_le64(inode->i_size); in smb2_close()
5320 rsp->CreationTime = cpu_to_le64(fp->create_time); in smb2_close()
5322 rsp->LastAccessTime = cpu_to_le64(time); in smb2_close()
5324 rsp->LastWriteTime = cpu_to_le64(time); in smb2_close()
5326 rsp->ChangeTime = cpu_to_le64(time); in smb2_close()
7124 rsp->VolatileFileId = cpu_to_le64(volatile_id); in fsctl_copychunk()
7125 rsp->PersistentFileId = cpu_to_le64(persistent_id); in fsctl_copychunk()
7286 nii_rsp->LinkSpeed = cpu_to_le64(speed); in fsctl_query_iface_info_ioctl()
7335 rsp->PersistentFileId = cpu_to_le64(SMB2_NO_FID); in fsctl_query_iface_info_ioctl()
7336 rsp->VolatileFileId = cpu_to_le64(SMB2_NO_FID); in fsctl_query_iface_info_ioctl()
7612 rsp->PersistentFileId = cpu_to_le64(SMB2_NO_FID); in smb2_ioctl()
7613 rsp->VolatileFileId = cpu_to_le64(SMB2_NO_FID); in smb2_ioctl()
7955 rsp->VolatileFid = cpu_to_le64(volatile_id); in smb20_oplock_break_ack()
7956 rsp->PersistentFid = cpu_to_le64(persistent_id); in smb20_oplock_break_ack()