pmap_unschedule(9)
π pmap_unschedule β the manual page, but make it cute
okay so bestie, welcome to pmap_unschedule(9) from the Kernel API Manual β¨ this is the literal undo button for pmap_schedule() β like when you post something and immediately hit delete before anyone sees it π no cap.
β¨ NAME β¨
pmap_unschedule β Undo work done by pmap_schedule()
periodt. that's the whole vibe. it cleans up after the scheduling function, like a bestie who helps you take your makeup off at 2am π«Ά
πΈ SYNOPSIS πΈ
void pmap_unschedule (unsigned long *map , int bits_per_period , int
periods_in_map , int num_bits , int interval , int start );
it returns void, meaning it gives you nothing back β no return value, no drama, it just does the thing and leaves π iconic behavior honestly.
π ARGUMENTS π
mapβ Seepmap_schedule. (iykyk β this is the map, and the other page explains it way better than I ever could π)bits_per_periodβ Seepmap_schedule. again, bestie, go read that one β¨periods_in_mapβ Seepmap_schedule. same deal, same energy π¦num_bitsβ the number of bits that was passed to schedule. literally the exact same number you handed over before, don't switch it up on me πintervalβ the interval that was passed to schedule. yes. the same interval. matching set, we love consistency πstartβ the return value frompmap_schedule. this is the important one!! it's literally the little receipt you got back from scheduling, and now you're handing it back in to reverse the purchase π₯
lowkey the theme here is: pass in the same stuff you passed topmap_schedule()(plus its return value asstart) or this whole thing is giving chaos π
π SEE ALSO π
Kernel file: ./drivers/usb/dwc2/hcd_queue.c
and now, the full friend group β all of these are also worth a read, no skips, no scroll-past π§:
dwc2_periodic_channel_available(9)dwc2_check_periodic_bandwidth(9)pmap_schedule(9)dwc2_get_ls_map(9)dwc2_qh_print(9)dwc2_qh_schedule_print(9)dwc2_ls_pmap_schedule(9)dwc2_ls_pmap_unschedule(9)dwc2_hs_pmap_schedule(9)dwc2_hs_pmap_unschedule(9)dwc2_uframe_schedule_split(9)dwc2_uframe_schedule_hs(9)dwc2_uframe_schedule_ls(9)dwc2_uframe_schedule(9)dwc2_uframe_unschedule(9)dwc2_pick_first_frame(9)dwc2_do_reserve(9)dwc2_do_unreserve(9)dwc2_unreserve_timer_fn(9)dwc2_check_max_xfer_size(9)dwc2_schedule_periodic(9)dwc2_deschedule_periodic(9)dwc2_wait_timer_fn(9)dwc2_qh_init(9)dwc2_hcd_qh_create(9)dwc2_hcd_qh_free(9)dwc2_hcd_qh_add(9)dwc2_hcd_qh_unlink(9)dwc2_next_for_periodic_split(9)dwc2_next_periodic_start(9)dwc2_hcd_qtd_init(9)dwc2_hcd_qtd_add(9)
okay that's the whole page bestie, you ate that π this little cutie lives in ./drivers/usb/dwc2, it's stamped October 2026, and it answers to the name pmap_unschedule(9) β go forth and unschedule responsibly πβ
π¦ 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