STRUCT REPLAY_ENTRY(9)
π 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:
struct bud_entry(9)set_bud_lprops(9)set_buds_lprops(9)trun_remove_range(9)inode_still_linked(9)apply_replay_entry(9)replay_entries_cmp(9)apply_replay_list(9)destroy_replay_list(9)insert_node(9)insert_dent(9)ubifs_validate_entry(9)is_last_bud(9)authenticate_sleb(9)replay_bud(9)replay_buds(9)destroy_bud_list(9)add_replay_bud(9)validate_ref(9)replay_log_leb(9)take_ihead(9)ubifs_replay_journal(9)
that's the page! source/version ./fs/ubifs, date October 2026, title struct replay_entry(9) β mwah, bye bestie πβ¨
π¦ 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