dma_resv_iter_is_restarted(9)
β¨ dma_resv_iter_is_restarted β the vibe check for restarts π
okay so bestie, welcome to the Kernel API Manual π β this one is a tiny little helper from dma_resv_iter_is_restarted(9) and honestly it's giving "small function, big feelings."
πΈ NAME πΈ
dma_resv_iter_is_restarted β literally just tests if this is the first fence after a restart. That's it. That's the whole job. iconic behavior fr fr π
π¦ SYNOPSIS π¦
bool dma_resv_iter_is_restarted (struct dma_resv_iter *cursor );
yes, it returns a bool, and yes, there's exactly one argument, we love a low-maintenance king π
π ARGUMENTS π
cursorβ the cursor with the current position. that's your little pointer-bestie telling you where we're at in the iteration rn π
β¨ DESCRIPTION β¨
Return true if this is the first fence in an iteration after a restart. that's the whole tea β β no cap, no extra lore, no hidden plot twists. it's a yes/no moment and this function is the main character answering it π
lowkey the most useful thing here: it's a test, not a mutation. nothing gets changed, nothing gets touched, you just get atrueor afalseand you move on with your life π«Ά
π SEE ALSO π
okay this list is LONG, so buckle up bestie, we're going on a little tour of <pink>every single related symbol</pink> and I'm not skipping a single one because that's not how we do things here π
Kernel file: ./include/linux/dma-resv.h
enum dma_resv_usage(9)dma_resv_usage_rw(9)struct dma_resv(9)struct dma_resv_iter(9)dma_resv_iter_begin(9)dma_resv_iter_end(9)dma_resv_iter_usage(9)dma_resv_for_each_fence_unlocked(9)dma_resv_for_each_fence(9)dma_resv_lock(9)dma_resv_lock_interruptible(9)dma_resv_lock_slow(9)dma_resv_lock_slow_interruptible(9)dma_resv_trylock(9)dma_resv_is_locked(9)dma_resv_locking_ctx(9)dma_resv_unlock(9)
that's seventeen entries and every single one of them ate π₯ go read them, iykyk π§
β the cute little sign-off β
this page lives in <cyan>./include/linux</cyan> (the Kernel API Manual's home base, obviously πΈ) and it was dated <yellow>October 2026</yellow> β yes, future-dated, we're ahead of the timeline bestie β³π
mwah, go check your restarts, ily, bye ππ
π¦ 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