pdcspath_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pdcspath_store(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for pdcspath_store(9) β€” yes, the function that writes a path to stable storage. It’s lowkey kernel-core and we’re obsessed ✨

🌸 NAME 🌸

pdcspath_store β€” this function writes a path to stable storage.

πŸŽ€ SYNOPSIS πŸŽ€

void pdcspath_store (struct pdcspath_entry *entry );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • entry β€” a pointer to an allocated pdcspath_entry. That’s it, that’s the argument, periodt πŸ’…

✨ DESCRIPTION ✨

okay so here’s the tea: pdcspath_store can be used in two ways. You can pass it a preset devpath struct containing an already computed hardware path, or you can pass it a device pointer, from which it’ll find out the corresponding hardware path. Iconic flexibility, ngl 🫢

⚠️ For now we do not handle the case where there’s an error in writing to the Stable Storage area, so you’d better not mess up the data :P

This function expects to be called with entry->rw_lock write-hold πŸ”’ β€” like, that lock situation is not optional, bestie.

🌈 SEE ALSO 🌈


πŸ’– Source/version: ./drivers/parisc Β· date: October 2026 β€” mwah, bestie, that’s the whole vibe! πŸ’–

πŸ“¦ where this page comes from