devres_find(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to devres_find(9) from the Kernel API Manual β€” it’s literally the Find device resource girlie and she is serving πŸ’…βœ¨


🌸 SYNOPSIS 🌸

void * devres_find (struct device *dev , dr_release_t release ,
       dr_match_t match , void *match_data );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the Device to lookup resource from 🫢
  • release β€” Look for resources associated with this release function πŸ’œ
  • match β€” Match function (optional) ✨
  • match_data β€” Data for the match function πŸ“

πŸ’– DESCRIPTION πŸ’–

So the tea is: this finds the latest devres of dev which is associated with release and for which match returns 1 πŸ”₯. If match is NULL, it’s considered to match all β€” no cap, she’s inclusive like that πŸ’….

πŸ¦‹ RETURN πŸ¦‹

Pointer to found devres, and NULL if not found. That’s the whole return vibe, bestie 😭✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/base/devres.c β€” and the whole squad is here:

okay bye bestie 🫢 β€” this cutie comes from ./drivers/base, dated October 2026, and the footer vibe is devres_find(9) β€” periodt πŸŒˆπŸ’–

πŸ“¦ where this page comes from