Searched refs:ksmbd_kstat (Results 1 – 5 of 5) sorted by relevance
68 struct ksmbd_kstat { struct136 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat);140 struct ksmbd_kstat *ksmbd_kstat);
435 struct ksmbd_kstat *)) in ksmbd_populate_dot_dotdot_entries() argument443 struct ksmbd_kstat ksmbd_kstat; in ksmbd_populate_dot_dotdot_entries() local463 ksmbd_kstat.kstat = &kstat; in ksmbd_populate_dot_dotdot_entries()467 &ksmbd_kstat); in ksmbd_populate_dot_dotdot_entries()471 rc = fn(conn, info_level, d_info, &ksmbd_kstat); in ksmbd_populate_dot_dotdot_entries()
1655 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_init_kstat() argument1658 struct kstat *kstat = ksmbd_kstat->kstat; in ksmbd_vfs_init_kstat()1677 info->ExtFileAttributes = ksmbd_kstat->file_attributes; in ksmbd_vfs_init_kstat()1685 struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_fill_dentry_attrs() argument1695 rc = vfs_getattr(&path, ksmbd_kstat->kstat, in ksmbd_vfs_fill_dentry_attrs()1701 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in ksmbd_vfs_fill_dentry_attrs()1702 ksmbd_kstat->create_time = time; in ksmbd_vfs_fill_dentry_attrs()1708 if (S_ISDIR(ksmbd_kstat->kstat->mode)) in ksmbd_vfs_fill_dentry_attrs()1711 ksmbd_kstat->file_attributes = FILE_ATTRIBUTE_ARCHIVE_LE; in ksmbd_vfs_fill_dentry_attrs()1719 ksmbd_kstat->file_attributes = cpu_to_le32(da.attr); in ksmbd_vfs_fill_dentry_attrs()[all …]
432 struct ksmbd_kstat;441 struct ksmbd_kstat *));
3841 struct ksmbd_kstat *ksmbd_kstat) in smb2_populate_readdir_entry() argument3873 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()3943 dinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()3978 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in smb2_populate_readdir_entry()3980 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->atime); in smb2_populate_readdir_entry()3982 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->mtime); in smb2_populate_readdir_entry()3991 S_ISDIR(ksmbd_kstat->kstat->mode) ? in smb2_populate_readdir_entry()4054 struct ksmbd_kstat ksmbd_kstat; in process_query_dir_entries() local4083 ksmbd_kstat.kstat = &kstat; in process_query_dir_entries()4088 &ksmbd_kstat); in process_query_dir_entries()[all …]