class_find_device_by_devt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– class_find_device_by_devt(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for class_find_device_by_devt β€” yes, the whole page is giving β€œfind the device you’re looking for” main character energy, and we’re obsessed. πŸ’…


🌸 NAME 🌸

class_find_device_by_devt β€” device iterator for locating a particular device matching the device type.

✨ SYNOPSIS ✨

struct device * class_find_device_by_devt (const struct class *class , dev_t devt );

πŸŽ€ ARGUMENTS πŸŽ€

  • class β€” class type.
  • devt β€” device type of the device to match.

πŸ¦‹ SEE ALSO πŸ¦‹


that’s the whole vibe, bestie. this iconic little page comes from ./include/linux/device, dated October 2026, and it’s literally called class_find_device_by_devt(9) β€” periodt. 🫢✨

πŸ“¦ where this page comes from