Page MenuHomeFreeBSD

kboot: space_avail -- how much space exists from 'start' to end of segment
ClosedPublic

Authored by imp on Feb 1 2023, 6:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 8:13 AM
Unknown Object (File)
Thu, Dec 11, 11:20 AM
Unknown Object (File)
Nov 28 2025, 11:49 PM
Unknown Object (File)
Nov 27 2025, 9:28 AM
Unknown Object (File)
Nov 26 2025, 1:50 PM
Unknown Object (File)
Nov 26 2025, 9:24 AM
Unknown Object (File)
Nov 24 2025, 2:42 AM
Unknown Object (File)
Nov 23 2025, 9:47 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49464
Build 46354: arc lint + arc unit

Event Timeline

rebase / refactor / redo

nr_seg is int, but it can not get to negative, can it?

This revision is now accepted and ready to land.Feb 2 2023, 2:14 PM

nr_seg is int, but it can not get to negative, can it?

Correct. It's never negative. We'll have dozens maybe hundreds, at most of segments, so it will never wrap.