Searched refs:ksmbd_kstat (Results 1 – 5 of 5) sorted by relevance
65 struct ksmbd_kstat { struct133 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat);137 struct ksmbd_kstat *ksmbd_kstat);
302 struct ksmbd_kstat *)) in ksmbd_populate_dot_dotdot_entries() argument310 struct ksmbd_kstat ksmbd_kstat; in ksmbd_populate_dot_dotdot_entries() local327 ksmbd_kstat.kstat = &kstat; in ksmbd_populate_dot_dotdot_entries()331 &ksmbd_kstat); in ksmbd_populate_dot_dotdot_entries()332 rc = fn(conn, info_level, d_info, &ksmbd_kstat); in ksmbd_populate_dot_dotdot_entries()
1612 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_init_kstat() argument1615 struct kstat *kstat = ksmbd_kstat->kstat; in ksmbd_vfs_init_kstat()1619 info->CreationTime = cpu_to_le64(ksmbd_kstat->create_time); in ksmbd_vfs_init_kstat()1634 info->ExtFileAttributes = ksmbd_kstat->file_attributes; in ksmbd_vfs_init_kstat()1642 struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_fill_dentry_attrs() argument1649 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in ksmbd_vfs_fill_dentry_attrs()1650 ksmbd_kstat->create_time = time; in ksmbd_vfs_fill_dentry_attrs()1656 if (S_ISDIR(ksmbd_kstat->kstat->mode)) in ksmbd_vfs_fill_dentry_attrs()1659 ksmbd_kstat->file_attributes = FILE_ATTRIBUTE_ARCHIVE_LE; in ksmbd_vfs_fill_dentry_attrs()1667 ksmbd_kstat->file_attributes = cpu_to_le32(da.attr); in ksmbd_vfs_fill_dentry_attrs()[all …]
445 struct ksmbd_kstat;454 struct ksmbd_kstat *));
3405 struct ksmbd_kstat *ksmbd_kstat) in smb2_populate_readdir_entry() argument3437 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()3507 dinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); 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()3555 S_ISDIR(ksmbd_kstat->kstat->mode) ? in smb2_populate_readdir_entry()3613 struct ksmbd_kstat ksmbd_kstat; in process_query_dir_entries() local3642 ksmbd_kstat.kstat = &kstat; in process_query_dir_entries()3647 &ksmbd_kstat); in process_query_dir_entries()[all …]
Completed in 23 milliseconds