v9fs_vfs_getattr(9)
okay bestie, this is <v9fs_vfs_getattr(9)> from the Kernel API Manual β the page about retrieving file metadata, and it's giving main character energy β¨π
π NAME π
v9fs_vfs_getattr β retrieve file metadata. That's the assignment, and it ate. π
β¨ SYNOPSIS β¨
int v9fs_vfs_getattr (struct mnt_idmap *idmap , const struct path *path
, struct kstat *stat , u32 request_mask , unsigned int flags );
πΈ ARGUMENTS πΈ
idmapβ idmap of the mount. That's the whole vibe for this one π«Άpathβ Object to query. The thing you're asking about, bestie πstatβ metadata structure to populate. Fill it in, slay πrequest_maskβ Mask ofSTATX_xxxflags indicating the caller's interests. So it's literally the caller saying what they care about πflagsβAT_STATX_xxxsetting. Yep, that setting, no cap βοΈ
π¦ SEE ALSO π¦
Kernel file ./fs/9p/vfs_inode.c is right here in the mix, plus the whole reference friend group:
unixmode2p9mode(9)p9mode2perm(9)p9mode2unixmode(9)v9fs_uflags2omode(9)v9fs_blank_wstat(9)v9fs_alloc_inode(9)v9fs_free_inode(9)v9fs_evict_inode(9)v9fs_at_to_dotl_flags(9)v9fs_dec_count(9)v9fs_remove(9)v9fs_create(9)v9fs_vfs_create(9)v9fs_vfs_mkdir(9)v9fs_vfs_lookup(9)v9fs_vfs_unlink(9)v9fs_vfs_rmdir(9)v9fs_vfs_rename(9)v9fs_vfs_setattr(9)v9fs_stat2inode(9)v9fs_vfs_get_link(9)v9fs_vfs_mkspecial(9)v9fs_vfs_symlink(9)v9fs_vfs_link(9)v9fs_vfs_mknod(9)
okay that's the whole page, bestie π«Ά source/version: ./fs/9p Β· date: October 2026 Β· title: v9fs_vfs_getattr(9) β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms