drm_mock_sc...it_scheduled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_mock_sched_job_wait_scheduled

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual name, we're in the big leagues now πŸŽ€ and the star of the show is this little function right here. (The header up top got squished into drm_mock_sc...it_scheduled(9) because terminals are dramatic, but you and me? We know her full name.)


✨ NAME ✨

drm_mock_sched_job_wait_scheduled β€” literally just waits until a job is scheduled. that's it. that's the whole vibe. ⏳


🌸 SYNOPSIS 🌸

bool drm_mock_sched_job_wait_scheduled (struct drm_mock_sched_job *job ,
long timeout );

she returns a bool, no cap. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • job β€” the job you're waiting on. your main character, fr fr.
  • timeout β€” how long you're willing to wait, measured in jiffies. yes jiffies, that's a real unit, iykyk ⏱️✨

πŸ‘‘ RETURN πŸ‘‘

  • true β€” she got scheduled inside the timeout you gave her. slay. πŸ’–
  • false β€” timeout hit and it's giving nothing. 😭

πŸ”₯ SEE ALSO πŸ”₯

bestie this is the whole friend group, go say hi:


ngl the actual source lives at ./drivers/gpu/drm/scheduler/tests, so if you ever get lost, that's the address. πŸ—ΊοΈ

and that's the page, periodt πŸ’…πŸŒˆ β€” huge thank you to the ./drivers/gpu/drm/scheduler/tests crew, dated October 2026, for this absolute icon of a manpage. mwah. πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from