VIORTC_MSG_WRITE(9)
π VIORTC_MSG_WRITE π
okay bestie, welcome to the VIORTC_MSG_WRITE(9) page β yes that (9) means it's a kernel API thing, we're in the big leagues now, section 9, kernel developer land, very main character energy β¨
πΈ NAME πΈ
VIORTC_MSG_WRITE β it writes a request message field. that's the whole vibe. one job, does it well, slay π
π¦ SYNOPSIS π¦
VIORTC_MSG_WRITE (hdl , dest_member , src_ptr );
literally the macro, the whole macro, and nothing but the macro. look at her go π
π ARGUMENTS π
hdlβ the message handle. your lil ticket to the message, the thing you're working on π«Άdest_memberβ the request message field name. i.e. which field you're writing into, by name π·οΈsrc_ptrβ a pointer to data of compatible type. so like, pointer to the thing you want to shove in there. type has to match, no cap π
β DESCRIPTION β
so what does it actually do? it writes the field in little-endian format. that's it. that's the tea β little-endian, LSB first, the way the kernel likes it π
no secrets, no hidden options, no gotchas in the docs β just a field, written little-endian, periodt π₯
π SEE ALSO π
bestie there is so much to see, buckle up, this is the whole extended universe π
Kernel file ./drivers/virtio/virtio_rtc_driver.c
struct viortc_vq(9)struct viortc_dev(9)struct viortc_msg(9)viortc_class_from_dev(9)viortc_alarms_supported(9)viortc_feed_vq(9)viortc_msg_init(9)viortc_msg_release(9)viortc_do_cb(9)viortc_requestq_hdlr(9)viortc_cb_requestq(9)viortc_alarmq_hdlr(9)viortc_cb_alarmq(9)viortc_get_resp_errno(9)viortc_msg_xfer(9)VIORTC_DECLARE_MSG_HDL_ONSTACK(9)VIORTC_MSG(9)VIORTC_MSG_INIT(9)VIORTC_MSG_READ(9)viortc_read(9)viortc_read_cross(9)viortc_cfg(9)viortc_clock_cap(9)viortc_cross_cap(9)viortc_read_alarm(9)viortc_set_alarm(9)viortc_set_alarm_enabled(9)viortc_init_rtc_class_clock(9)viortc_init_ptp_clock(9)viortc_init_clock(9)viortc_clocks_deinit(9)viortc_clocks_init(9)viortc_populate_vq(9)viortc_alloc_vq_bufs(9)viortc_init_vqs(9)viortc_probe(9)viortc_remove(9)
like, go read them all, i'll wait π (jk i won't, but you should π«Ά)
and that's the page!! mwah π this one lives in ./drivers/virtio, dated October 2026, and it's filed under VIORTC_MSG_WRITE(9) in case you need to find her again. go write some little-endian fields, bestie, i believe in you π§ββοΈβ¨π
π¦ 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