bus_find_device_by_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bus_find_device_by_name(9)

okay bestie, welcome to the Kernel API Manual page for bus_find_device_by_name(9) β€” yes that's the whole title, and honestly? it's giving "long function name, zero notes." periodt.


✨ NAME ✨

bus_find_device_by_name β€” it's a device iterator πŸ” whose whole entire job is locating one particular device that has a specific name. that's it, that's the gig. iconic behaviour, no cap.


🌸 SYNOPSIS 🌸

struct device * bus_find_device_by_name (const struct bus_type *bus ,
   struct device *start , const char *name );

look at that signature. struct device * returns, three args in, lowkey gorgeous. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • bus β€” the bus type, obvi. this is the bus we're snooping around on.
  • start β€” the Device to begin with. like, where the search kicks off. main character starting point energy.
  • name β€” the name of the device to match. this is the name we're out here looking for, fr fr.

πŸ¦‹ SEE ALSO πŸ¦‹

the besties, the fam, the whole friend group πŸ’–:


🫢 quick vibe check: this page lives in ./include/linux/device, and it's stamped October 2026. so yeah β€” that's the source and the date, cute little sign-off, mwah. πŸ’‹

slay, you now understand bus_find_device_by_name(9). go find that device, queen. πŸ‘‘βœ¨

πŸ“¦ where this page comes from