STRUCT REPLAY_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct replay_entry(9) πŸŽ€

okay so this is the Kernel API Manual page for struct replay_entry, and bestie, it's giving β€œtiny struct, big replay-list energy.” πŸ’…βœ¨

✨ NAME ✨

struct replay_entry β€” replay list entry. literally the whole name, no notes. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

       struct replay_entry {
           int lnum;
           int offs;
           int len;
           u8 hash[UBIFS_HASH_ARR_SZ];
           unsigned int deletion:1;
           unsigned long long sqnum;
           struct list_head list;
           union ubifs_key key;
           union {
             struct fscrypt_name nm;
             struct {
               loff_t old_size;
               loff_t new_size;
             };
           };
        };

πŸ’… Members πŸ’…

here's every single member, no gatekeeping, we're going through all of them. 🌸

  • lnum β€” logical eraseblock number of the node. iconic little number. πŸ‘‘
  • offs β€” node offset. yes ma'am. πŸŽ€
  • len β€” node length. short king behavior. πŸ’–
  • hash β€” node hash. not suspicious at all. πŸ”₯
  • deletion β€” non-zero if this entry corresponds to a node deletion. dramatic but valid. πŸ’€
  • sqnum β€” node sequence number. keeping the order, fr fr. ⭐
  • list β€” links the replay list. the social butterfly of the struct. πŸ¦‹
  • key β€” node key. unlock the vibes. πŸ”‘
  • {unnamed_union} β€” anonymous. no name, just main character mystery. πŸ™ˆ
  • nm β€” directory entry name. hi bestie. 🌈
  • {unnamed_struct} β€” anonymous. again, nameless and thriving. 🧚
  • old_size β€” truncation old size. the before. πŸ’œ
  • new_size β€” truncation new size. the after. ✨

🌸 Description 🌸

okay so picture this: the replay process first scans all buds and builds the replay list, then it sorts the replay list in nodes sequence number order, and then it inserts all the replay entries to the TNC. that's the flow, bestie β€” no cap. πŸ’«

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./fs/ubifs/replay.c β€” and these references are all invited to the group chat:


that's the page! source/version ./fs/ubifs, date October 2026, title struct replay_entry(9) β€” mwah, bye bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from