Lines Matching refs:ksmbd_kstat
3405 struct ksmbd_kstat *ksmbd_kstat) in smb2_populate_readdir_entry() argument
3437 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3447 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3463 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3503 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3507 dinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3521 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); 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()
3542 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in smb2_populate_readdir_entry()
3544 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->atime); in smb2_populate_readdir_entry()
3546 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->mtime); 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()
3550 posix_info->DeviceId = cpu_to_le32(ksmbd_kstat->kstat->rdev); in smb2_populate_readdir_entry()
3551 posix_info->HardLinks = cpu_to_le32(ksmbd_kstat->kstat->nlink); in smb2_populate_readdir_entry()
3552 posix_info->Mode = cpu_to_le32(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3553 posix_info->Inode = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3555 S_ISDIR(ksmbd_kstat->kstat->mode) ? in smb2_populate_readdir_entry()
3559 id_to_sid(from_kuid_munged(&init_user_ns, ksmbd_kstat->kstat->uid), in smb2_populate_readdir_entry()
3561 id_to_sid(from_kgid_munged(&init_user_ns, ksmbd_kstat->kstat->gid), in smb2_populate_readdir_entry()
3613 struct ksmbd_kstat ksmbd_kstat; in process_query_dir_entries() local
3642 ksmbd_kstat.kstat = &kstat; in process_query_dir_entries()
3647 &ksmbd_kstat); in process_query_dir_entries()
3652 &ksmbd_kstat); in process_query_dir_entries()