vidtv_psi_eit_event_assign(9)
π vidtv_psi_eit_event_assign β the Kernel API Manual tea ββ¨
okay so bestie, welcome to the Kernel API Manual page for vidtv_psi_eit_event_assign π this one's short and sweet but she's important, iykyk π
πΈ NAME πΈ
vidtv_psi_eit_event_assign β literally assigns the event loop to the EIT, that's the whole job π
β¨ SYNOPSIS β¨
void vidtv_psi_eit_event_assign (struct vidtv_psi_table_eit *eit ,
struct vidtv_psi_table_eit_event *e );
π«Ά ARGUMENTS π«Ά
eitβ the EIT you're assigning to. she's the one taking ownership, main character energy πeβ the event loop. the little guy being handed over π¦
π DESCRIPTION π
okay so here's the vibe check π₯ this function frees the previous event loop in the table first (yes, she cleans up after herself, we love a responsible icon π) and then it assigns ownership of the stream loop to the table.
and what does "ownership" mean here? literally that the table will free this stream loop when a call to its destroy function is made π so like, the table is now responsible for the stream loop's whole life. no take-backsies. periodt β¨
heads up bestie: once ownership transfers, the table is the one who frees it on destroy β so don't go freeing it yourself too or that's a double-free situation and we do NOT want that energy π
π SEE ALSO π
like a whole friend group honestly, go say hi to all of them π the kernel file is ./drivers/media/test-drivers/vidtv/vidtv_psi.h and then:
struct psi_write_args(9)βstruct desc_write_args(9)βstruct crc32_write_args(9)βstruct header_write_args(9)βvidtv_psi_sdt_service_assign(9)πvidtv_psi_desc_assign(9)πvidtv_pmt_desc_assign(9)πvidtv_sdt_desc_assign(9)πvidtv_psi_pat_program_assign(9)πvidtv_psi_pmt_stream_assign(9)πvidtv_psi_pmt_create_sec_for_each_pat_entry(9)πvidtv_psi_pmt_get_pid(9)πvidtv_psi_pat_table_update_sec_len(9)πvidtv_psi_pmt_table_update_sec_len(9)πvidtv_psi_sdt_table_update_sec_len(9)πstruct vidtv_psi_pat_write_args(9)βvidtv_psi_pat_write_into(9)πstruct vidtv_psi_sdt_write_args(9)βvidtv_psi_sdt_write_into(9)πstruct vidtv_psi_pmt_write_args(9)βvidtv_psi_pmt_write_into(9)πvidtv_psi_find_pmt_sec(9)πstruct vidtv_psi_table_transport(9)βstruct vidtv_psi_table_nit(9)βstruct vidtv_psi_nit_write_args(9)βvidtv_psi_nit_write_into(9)πstruct vidtv_psi_eit_write_args(9)βvidtv_psi_eit_write_into(9)πvidtv_psi_eit_table_update_sec_len(9)π
and that's the whole page bestie, slay ππ
this came from ./drivers/media/test-drivers/v... and it's dated October 2026, so yeah β go forth and assign those event loops responsibly, ily π«Άβ¨π
π¦ 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