Home
last modified time | relevance | path

Searched refs:ksmbd_kstat (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/fs/smb/server/
Dvfs.h68 struct ksmbd_kstat { struct
136 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat);
140 struct ksmbd_kstat *ksmbd_kstat);
Dvfs.c1660 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_init_kstat() argument
1663 struct kstat *kstat = ksmbd_kstat->kstat; in ksmbd_vfs_init_kstat()
1667 info->CreationTime = cpu_to_le64(ksmbd_kstat->create_time); in ksmbd_vfs_init_kstat()
1675 if (ksmbd_kstat->file_attributes & FILE_ATTRIBUTE_DIRECTORY_LE) { in ksmbd_vfs_init_kstat()
1682 info->ExtFileAttributes = ksmbd_kstat->file_attributes; in ksmbd_vfs_init_kstat()
1690 struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_fill_dentry_attrs() argument
1700 rc = vfs_getattr(&path, ksmbd_kstat->kstat, in ksmbd_vfs_fill_dentry_attrs()
1706 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in ksmbd_vfs_fill_dentry_attrs()
1707 ksmbd_kstat->create_time = time; in ksmbd_vfs_fill_dentry_attrs()
1713 if (S_ISDIR(ksmbd_kstat->kstat->mode)) in ksmbd_vfs_fill_dentry_attrs()
[all …]
Dsmb_common.c435 struct ksmbd_kstat *)) in ksmbd_populate_dot_dotdot_entries() argument
443 struct ksmbd_kstat ksmbd_kstat; in ksmbd_populate_dot_dotdot_entries() local
463 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()
Dsmb_common.h432 struct ksmbd_kstat;
441 struct ksmbd_kstat *));
Dsmb2pdu.c3840 struct ksmbd_kstat *ksmbd_kstat) in smb2_populate_readdir_entry() argument
3872 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3882 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3898 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3938 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3942 dinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3956 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3959 fibdinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3976 posix_info->CreationTime = cpu_to_le64(ksmbd_kstat->create_time); in smb2_populate_readdir_entry()
3977 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in smb2_populate_readdir_entry()
[all …]