range_is_subset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, meet range_is_subset(9) from the Kernel API Manual πŸ’– β€” it's literally asking: is the specified inner range a subset of the outer range? πŸ‘‘


✨ SYNOPSIS ✨

the whole vibe is this one-line bop, no cap:

bool range_is_subset (unsigned long outer_start , unsigned long outer_end , unsigned long inner_start , unsigned long inner_end );

πŸŽ€ ARGUMENTS πŸŽ€

  • outer_start β€” the start of the outer range, bestie 🫢
  • outer_end β€” the exclusive end of the outer range, so that endpoint is not included, iykyk ✨
  • inner_start β€” the start of the inner range 🌸
  • inner_end β€” the exclusive end of the inner range, same exclusive-energy, periodt πŸ’…

πŸ’– RETURN πŸ’–

true if [inner_start, inner_end) is a subset of [outer_start, outer_end), otherwise false. πŸ¦‹

that's it, that's the whole vibe check 😭


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./include/linux/mm.h is the main character here, and then there's this whole squad of SEE ALSO besties:


mwah πŸ’‹ β€” this iconic little page lives in ./include/linux, dated October 2026, and it's literally range_is_subset(9). πŸŽ€

πŸ“¦ where this page comes from