mei_me_cl_by_uuid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 mei_me_cl_by_uuid β€” Kernel API Manual, bestie edition 🌸

okay so we're in the mei_me_cl_by_uuid(9) page, live from the Kernel API Manual, and it's genuinely a tiny little function that does one extremely specific thing. Let's get into it πŸ’…


✨ NAME ✨

mei_me_cl_by_uuid β€” locate me client by uuid increases ref count

(no cap, that's the whole name line: find an me client by its uuid, and bump the ref count while you're at it 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

struct mei_me_client * mei_me_cl_by_uuid (struct mei_device *dev , const
       uuid_le *uuid );

look at her go. returns a struct mei_me_client *, takes two args, that's it, that's the whole vibe ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” mei device
  • uuid β€” me client uuid

two lil inputs, both literally required, the device and the uuid you're hunting for πŸ”


πŸ’– RETURN πŸ’–

me client or NULL if not found

so like. you either get your client back or you get NULL and you have to deal with that emotionally 😭 always check, bestie, fr fr.


πŸ”₯ DESCRIPTION πŸ”₯

Locking: dev->me_clients_rwsem

that's the entire description, and honestly? iconic. the one fact you actually need: this thing takes dev->me_clients_rwsem. know your lock, respect your lock, periodt πŸ‘‘


🌈 SEE ALSO 🌈

the kernel file is ./drivers/misc/mei/client.c β€” that's where the whole family lives, and the family is huge, so buckle up, we're listing every single one πŸ’€

🌸 the me-cl ones

🧚 the io/cb ones

πŸ“ the cl lifecycle ones

πŸ’œ the flow-control + vtag ones

πŸ‘‘ the rd-completed + notify ones

🌟 the read/write/complete ones

πŸŽ€ the dma ones


genuinely that's all of them β€” don't skip a single one of these cross-refs, some of them are literally the sibling functions of this exact lookup (looking at you __mei_me_cl_by_uuid(9) and mei_me_cl_by_uuid_id(9) πŸ‘€), so they're worth a read.

that's the page!! short, sweet, one lock, one return value πŸ’– mwah.

β€” with love, from ./drivers/misc/mei, dated October 2026, and forever filed under mei_me_cl_by_uuid(9) 🫢✨

πŸ“¦ where this page comes from