Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A Dvfs.h69 struct ksmbd_kstat { struct
137 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat);
141 struct ksmbd_kstat *ksmbd_kstat);
H A 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()
H A Dvfs.c1656 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_init_kstat() argument
1659 struct kstat *kstat = ksmbd_kstat->kstat; in ksmbd_vfs_init_kstat()
1663 info->CreationTime = cpu_to_le64(ksmbd_kstat->create_time); in ksmbd_vfs_init_kstat()
1671 if (ksmbd_kstat->file_attributes & FILE_ATTRIBUTE_DIRECTORY_LE) { in ksmbd_vfs_init_kstat()
1678 info->ExtFileAttributes = ksmbd_kstat->file_attributes; in ksmbd_vfs_init_kstat()
1686 struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_fill_dentry_attrs() argument
1696 rc = vfs_getattr(&path, ksmbd_kstat->kstat, in ksmbd_vfs_fill_dentry_attrs()
1702 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in ksmbd_vfs_fill_dentry_attrs()
1703 ksmbd_kstat->create_time = time; in ksmbd_vfs_fill_dentry_attrs()
1709 if (S_ISDIR(ksmbd_kstat->kstat->mode)) in ksmbd_vfs_fill_dentry_attrs()
[all …]
H A Dsmb_common.h432 struct ksmbd_kstat;
441 struct ksmbd_kstat *));
H A Dsmb2pdu.c3844 struct ksmbd_kstat *ksmbd_kstat) in smb2_populate_readdir_entry() argument
3876 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3886 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3902 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3942 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3946 dinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3960 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3963 fibdinfo->UniqueId = cpu_to_le64(ksmbd_kstat->kstat->ino); in smb2_populate_readdir_entry()
3980 posix_info->CreationTime = cpu_to_le64(ksmbd_kstat->create_time); in smb2_populate_readdir_entry()
3981 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in smb2_populate_readdir_entry()
[all …]