vidtv_pmt_desc_assign(9)
π vidtv_pmt_desc_assign β the Kernel API Manual page, bestie edition π
okay so this is a page from the Kernel API Manual π and it's about vidtv_pmt_desc_assign(9). yes it's a long name. yes it's important. stay with me.
β¨ NAME β¨
vidtv_pmt_desc_assign β literally just assigns a descriptor loop at some point in a PMT section. that's it. that's the whole job. no cap. π«Ά
πΈ SYNOPSIS πΈ
void vidtv_pmt_desc_assign (struct vidtv_psi_table_pmt *pmt , struct
vidtv_psi_desc **to , struct vidtv_psi_desc *desc );
three pointers, one function, zero return value. it's giving "i do one thing and i do it well" energy π
π¦ ARGUMENTS π¦
pmtβ the PMT section that will contain the descriptor loop. it's the home, the host, the main character venue πtoβ where in the PMT to assign this descriptor loop to. like, the exact spot. the seat assignment. πͺdescβ the descriptor loop that will be assigned. the thing being moved in. π¦
π DESCRIPTION π
bestie, here's the whole vibe: this will free the loop in to, if any. so like, if there was already something living there, it gets evicted first π. then it assigns ownership of the loop to the table β meaning the table will free this loop when a call to its destroy function is made. so the table is now responsible for it, fr fr. it's a whole custody arrangement π
heads up: the free-in-topart is real, so don't be out here passing atoyou already love and expect it to survive. it won't. π
π SEE ALSO π
- Kernel file
./drivers/media/test-drivers/vidtv/vidtv_psi.h 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_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)vidtv_psi_eit_event_assign(9)
okay that's the whole page, you ate that, go read the rest of the kernel now π₯
sign-off time: this little beauty lives at ./drivers/media/test-drivers/v... and it's dated October 2026 β so yeah, future-coded β¨ mwah ππ§ββοΈ
π¦ 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