Page MenuHomeFreeBSD

stand: Change disk_parsedev() API
ClosedPublic

Authored by imp on Nov 10 2022, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 13, 5:01 PM
Unknown Object (File)
Tue, May 5, 11:16 PM
Unknown Object (File)
Thu, Apr 30, 11:09 AM
Unknown Object (File)
Apr 26 2026, 7:16 AM
Unknown Object (File)
Apr 19 2026, 12:06 PM
Unknown Object (File)
Apr 19 2026, 7:31 AM
Unknown Object (File)
Apr 18 2026, 6:03 AM
Unknown Object (File)
Apr 17 2026, 11:18 PM
Subscribers

Details

Summary

Change the first argument to disk_parsedev() to be a pointer to a struct
devdesc *. This now gets filled in with a malloc'd structure that's
returned to the caller that the caller is repsonsible for freeing. Most
places in the tree passed in a malloc'd pointer anyway, and this moves
knowledge of disk_devdesc more firmly into the disk.[ch] code.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable