parport_get_port(9)
π parport_get_port(9) π
hiii bestie, welcome to the Kernel API Manual π
this page is all about parport_get_port, and it's lowkey iconic for one specific job: keeping a port pointer alive. no cap.
β¨ NAME β¨
parport_get_port β increment a port's reference count
πΈ SYNOPSIS πΈ
struct parport * parport_get_port (struct parport *port );
π ARGUMENTS π
portβ the port. that's it, that's the whole argument, bestie π«Ά
π DESCRIPTION π
okay so here's the vibe: this call bumps the reference count so that a struct parport pointer stays valid until the matching parport_put_port call. literally its whole main character job is making sure that pointer doesn't ghost you before you're done with it πβ¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/parport/share.c __parport_register_driver(9)parport_unregister_driver(9)parport_put_port(9)parport_register_port(9)parport_announce_port(9)parport_remove_port(9)parport_register_dev_model(9)parport_unregister_device(9)parport_find_number(9)parport_find_base(9)parport_claim(9)parport_claim_or_block(9)parport_release(9)
that's the whole page, bestie π source/version is ./drivers/parport, dated October 2026 β mwah, bye ππ¦
π¦ 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