nanddev_pos_next_target(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nanddev_pos_next_target(9) πŸ’…

okay so bestie, this one is from the Kernel API Manual and it's short but iconic: it moves a position to the next target/die. ✨

🌸 NAME 🌸

nanddev_pos_next_target β€” move a position to the next target/die πŸ’«

πŸŽ€ SYNOPSIS πŸŽ€

void nanddev_pos_next_target (struct nand_device *nand , struct nand_pos *pos );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • nand β€” NAND device 🫢
  • pos β€” the position to update πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

so the way this works is: it updates pos to point to the start of the next target/die. literally that's the move. πŸ’…

it's useful when you want to iterate over all targets/dies of a NAND device. like a little tour through every target/die, and pos is your itinerary. πŸŽ€

🌈 SEE ALSO 🌈


mwah πŸ’‹ source/version: ./include/linux/mtd Β· dated October 2026 Β· page: nanddev_pos_next_target(9) 🫢

πŸ“¦ where this page comes from