ocfs2_find_resv_lhs(9)
π ocfs2_find_resv_lhs π
okay so welcome to the ocfs2_find_resv_lhs(9) page from the Kernel API Manual, bestie β this one is all about finding the window that contains your goal β¨
β¨ NAME β¨
ocfs2_find_resv_lhs β find the window which contains goal π―
πΈ SYNOPSIS πΈ
struct ocfs2_alloc_reservation * ocfs2_find_resv_lhs (struct ocfs2_reservation_map *resmap , unsigned int goal );
π ARGUMENTS π
resmapβ the reservation map to search, iykyk πgoalβ which bit to search for, exactly π
π¦ DESCRIPTION π¦
So here's the vibe: if a window containing that goal is not found, we return the window which comes before goal β yes, it's giving "close enough" energy π
And if the rbtree is empty, or there's no window before goal? You get NULL, periodt π
π SEE ALSO π
Kernel file ./fs/ocfs2/reservations.c β go peek, it's iconic π
that's the whole page, bestie π«Ά β source/version is ./fs/ocfs2, dated October 2026, and the manual tag is ocfs2_find_resv_lhs(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