vidtv_psi_pm...date_sec_len(9)
π vidtv_psi_pmt_table_update_sec_len π
okay so this is a page from the Kernel API Manual, bestie β yes, the kernel, we're literally in the kernel rn. sit down, grab a strawberry π, and let me tell you about the girl whose whole job is updating a length field.
β¨ NAME β¨
vidtv_psi_pmt_table_update_sec_len β she recomputes and updates the PMT section length. that's it, that's the whole gig. iconic honestly π
π¦ SYNOPSIS π¦
void vidtv_psi_pmt_table_update_sec_len (struct vidtv_psi_table_pmt *pmt
);
likeβ¦ one argument. one. we love a low-maintenance function π«Ά
π ARGUMENTS π
pmtβ the PMT whose length is to be updated. that's the girl. that's who we're measuring π the whole point of the function is her
πΈ DESCRIPTION πΈ
okay so picture this: she traverses the table and accumulates the length of its components, and then that accumulated length is used to replace the 'section_length' field. lowkey just a lil math field trip where she counts everything and reports back π
and then the vibe check: if section_length > MAX_SECTION_LEN, the operation fails. π so if she counts too big, it's a no. hard no. no cap, the operation just fails.
real talk bestie: MAX_SECTION_LEN is a limit, and exceeding it means failure β not a warning, not a whisper, an actual fail. keep that in mind π
β SEE ALSO β
the friend group, the whole group chat, everybody who's anybody π:
- 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_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_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)
and that's the page!! π¦ ok bye bestie, go update some section lengths, ily, mwah π
source: ./drivers/media/test-drivers/v⦠· October 2026 · vidtv_psi_pm...date_sec_len(9)
π¦ 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