nand_write_p...raw_syndrome(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nand_write_p...raw_syndrome(9) β€” the Kernel API Manual, bestie edition ✨

okay so welcome to the Kernel API Manual, and today's main character is nand_write_page_raw_syndrome β€” a raw page write function that lives in the [INTERN] part of the kernel, so like… internal business, iykyk 🫢


🌸 NAME 🌸

nand_write_page_raw_syndrome β€” [INTERN] raw page write function. that's it, that's the vibe, no cap πŸ’…


✨ SYNOPSIS ✨

int nand_write_page_raw_syndrome (struct nand_chip *chip , const uint8_t
*buf , int oob_required , int page );

she takes four things and returns an int, periodt πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” the nand chip info structure, aka where all the tea about your chip is stored πŸ«–
  • buf β€” the data buffer, your actual bytes, the whole point tbh ✨
  • oob_required β€” this one's a requirement, bestie: you must write chip->oob_poi to OOB 🧚
  • page β€” the page number to write, like which page bestie, be specific πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so here's the thing β€” we need a special oob layout and handling even when ECC isn't checked. like, even when nobody's checking ECC, the oob situation still needs its own little custom treatment. that's the whole entire point of this function 🌈


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/mtd/nand/raw/nand_base.c β€” go read it, she's iconic πŸ“–

and now… the friend group. the whole crew. every single one of them, no skips πŸ’€

like yes that's a lot of names but every single one of them is in the group chat and you will NOT be leaving anyone on read 🫢

and that's the page, bestie πŸŽ€ this one's from ./drivers/mtd/nand/raw, dated October 2026, and the header she's filed under is nand_write_p...raw_syndrome(9) β€” slay, go write some raw pages, ily πŸ’–πŸ¦‹

πŸ“¦ where this page comes from