fsinf 133 fs/cifs/ioctl.c struct smb_mnt_fs_info *fsinf; fsinf 135 fs/cifs/ioctl.c fsinf = kzalloc(sizeof(struct smb_mnt_fs_info), GFP_KERNEL); fsinf 136 fs/cifs/ioctl.c if (fsinf == NULL) fsinf 139 fs/cifs/ioctl.c fsinf->version = 1; fsinf 140 fs/cifs/ioctl.c fsinf->protocol_id = tcon->ses->server->vals->protocol_id; fsinf 141 fs/cifs/ioctl.c fsinf->device_characteristics = fsinf 143 fs/cifs/ioctl.c fsinf->device_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); fsinf 144 fs/cifs/ioctl.c fsinf->fs_attributes = le32_to_cpu(tcon->fsAttrInfo.Attributes); fsinf 145 fs/cifs/ioctl.c fsinf->max_path_component = fsinf 147 fs/cifs/ioctl.c fsinf->vol_serial_number = tcon->vol_serial_number; fsinf 148 fs/cifs/ioctl.c fsinf->vol_create_time = le64_to_cpu(tcon->vol_create_time); fsinf 149 fs/cifs/ioctl.c fsinf->share_flags = tcon->share_flags; fsinf 150 fs/cifs/ioctl.c fsinf->share_caps = le32_to_cpu(tcon->capabilities); fsinf 151 fs/cifs/ioctl.c fsinf->sector_flags = tcon->ss_flags; fsinf 152 fs/cifs/ioctl.c fsinf->optimal_sector_size = tcon->perf_sector_size; fsinf 153 fs/cifs/ioctl.c fsinf->max_bytes_chunk = tcon->max_bytes_chunk; fsinf 154 fs/cifs/ioctl.c fsinf->maximal_access = tcon->maximal_access; fsinf 155 fs/cifs/ioctl.c fsinf->cifs_posix_caps = le64_to_cpu(tcon->fsUnixInfo.Capability); fsinf 157 fs/cifs/ioctl.c if (copy_to_user(arg, fsinf, sizeof(struct smb_mnt_fs_info))) fsinf 160 fs/cifs/ioctl.c kfree(fsinf);