mei_cl_dma_unmap(9)
π mei_cl_dma_unmap(9) π
Okay bestie, welcome to the Kernel API Manual β¨ β this is the page for mei_cl_dma_unmap, and yes it's a tiny page, but it's our tiny page and we're gonna treat it with the respect it deserves π
πΈ NAME πΈ
mei_cl_dma_unmap β send client dma unmap request
Like, that's literally the whole job. It sends a dma unmap request for a client. No cap, that's it. π¦
π¦ SYNOPSIS π¦
int mei_cl_dma_unmap (struct mei_cl *cl , const struct file *fp );
She takes two args and returns an int. Simple. Clean. Iconic. π
π ARGUMENTS π
clβ host client π this is the client we're doing the dma unmap thing for.fpβ pointer to file structure π literally a pointer to thefilestructure, keep it handy.
π DESCRIPTION π
Locking: called under "dev->device_lock" lock π
That's it. That's the description. Not me being lazy β the original manpage is genuinely this short, and I refuse to invent lore that isn't there π Just know: if you're calling this, you're already holding dev->device_lock, periodt.
β¨ RETURN β¨
0 on such and error otherwise.
Yes, that's verbatim what the page says β "on such and error otherwise" π€ I'm not gonna "fix" it, I'm just gonna deliver it to you exactly like that, bestie. 0 = good vibes, anything else = error π
π«Ά SEE ALSO π«Ά
Kernel file ./drivers/misc/mei/client.c, plus this whole friend group right here:
mei_me_cl_init(9)mei_me_cl_get(9)mei_me_cl_release(9)mei_me_cl_put(9)__mei_me_cl_del(9)mei_me_cl_del(9)mei_me_cl_add(9)__mei_me_cl_by_uuid(9)mei_me_cl_by_uuid(9)mei_me_cl_by_id(9)__mei_me_cl_by_uuid_id(9)mei_me_cl_by_uuid_id(9)mei_me_cl_rm_by_uuid(9)mei_me_cl_rm_all(9)mei_io_cb_free(9)mei_tx_cb_enqueue(9)mei_tx_cb_dequeue(9)mei_cl_set_read_by_fp(9)mei_io_cb_init(9)mei_io_list_flush_cl(9)mei_io_tx_list_free_cl(9)mei_io_rd_list_free_fp(9)mei_cl_free_pending(9)mei_cl_alloc_cb(9)mei_cl_enqueue_ctrl_wr_cb(9)mei_cl_read_cb(9)mei_cl_flush_queues(9)mei_cl_init(9)mei_cl_allocate(9)mei_cl_link(9)mei_cl_unlink(9)mei_hbuf_acquire(9)mei_cl_wake_all(9)mei_cl_set_disconnected(9)mei_cl_irq_disconnect(9)__mei_cl_disconnect(9)mei_cl_disconnect(9)mei_cl_is_other_connecting(9)mei_cl_send_connect(9)mei_cl_irq_connect(9)mei_cl_connect(9)mei_cl_alloc_linked(9)mei_cl_tx_flow_ctrl_creds(9)mei_cl_tx_flow_ctrl_creds_reduce(9)mei_cl_vtag_alloc(9)mei_cl_fp_by_vtag(9)mei_cl_reset_read_by_vtag(9)mei_cl_read_vtag_add_fc(9)mei_cl_vt_support_check(9)mei_cl_add_rd_completed(9)mei_cl_del_rd_completed(9)mei_cl_notify_fop2req(9)mei_cl_notify_req2fop(9)mei_cl_irq_notify(9)mei_cl_notify_request(9)mei_cl_notify(9)mei_cl_notify_get(9)mei_cl_read_start(9)mei_msg_hdr_init(9)mei_cl_irq_write(9)mei_cl_write(9)mei_cl_complete(9)mei_cl_all_disconnect(9)mei_cl_irq_dma_map(9)mei_cl_irq_dma_unmap(9)mei_cl_dma_alloc_and_map(9)
Like, that's the whole squad π« iykyk π
π« and that's the page!! π«
Cute lil sign-off for the credits stans: this one lives in ./drivers/misc/mei, and the version/date stamp says October 2026 β so yeah, future-coded of it π
β¨ mwah, go unmap some dma bestie π
π¦ 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