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.h68 struct ksmbd_kstat { struct
136 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat);
140 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.c1655 void *ksmbd_vfs_init_kstat(char **p, struct ksmbd_kstat *ksmbd_kstat) in ksmbd_vfs_init_kstat() argument
1658 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() argument
1695 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 …]
H A Dsmb_common.h432 struct ksmbd_kstat;
441 struct ksmbd_kstat *));
H A Dsmb2pdu.c3841 struct ksmbd_kstat *ksmbd_kstat) in smb2_populate_readdir_entry() argument
3873 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() local
4083 ksmbd_kstat.kstat = &kstat; in process_query_dir_entries()
4088 &ksmbd_kstat); in process_query_dir_entries()
[all …]