STRUCT P9_IATTR_DOTL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct p9_iattr_dotl(9)

okay bestie, welcome to the Kernel API Manual ✨ this one's a lil struct from the 9p world and honestly? she's giving backstage-pass energy πŸŽ€


🌸 NAME 🌸

struct p9_iattr_dotl β€” the P9 inode attribute for setattr πŸ’–

like, the little bundle of "here's what I wanna change about this inode" that gets handed over when you do a setattr. no cap.


✨ SYNOPSIS ✨

struct p9_iattr_dotl {
    u32 valid;
    u32 mode;
    kuid_t uid;
    kgid_t gid;
    u64 size;
    u64 atime_sec;
    u64 atime_nsec;
    u64 mtime_sec;
    u64 mtime_nsec;
 };

look at her. nine fields. immaculate. πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • valid β€” the bitfield that literally tells you which of the other fields are actually valid, same as in struct iattr. it's the vibe check of the whole struct ngl 🫢
  • mode β€” the file permission bits πŸ”
  • uid β€” the user id of the owner, fr fr
  • gid β€” the group id πŸ“
  • size β€” the file size
  • atime_sec β€” last access time, in seconds ⭐
  • atime_nsec β€” last access time, in nanoseconds (yes she's precise like that πŸ’…)
  • mtime_sec β€” last modification time, in seconds
  • mtime_nsec β€” last modification time, in nanoseconds ✨

🌈 SEE ALSO 🌈

go read the kernel file ./include/net/9p/9p.h β€” that's the mothership πŸ›Έ β€” and then these iconic siblings:

  • enum p9_debug_flags(9)
  • enum p9_msg_t(9)
  • enum p9_open_mode_t(9)
  • enum p9_perm_t(9)
  • enum p9_qid_t(9)
  • struct p9_qid(9)
  • struct p9_wstat(9)
  • struct p9_fcall(9)

okay that's the whole page, you ate that πŸ§šπŸ’œ mwah πŸ’‹

signed, sealed, delivered from ./include/net/9p β€” October 2026 β€” and yeah, she's still struct p9_iattr_dotl(9) in the title bar because we respect the header 😌πŸ”₯

πŸ“¦ where this page comes from