Page MenuHomeFreeBSD

rman: Add rman_get/set_type
ClosedPublic

Authored by jhb on Feb 27 2024, 7:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 1:02 PM
Unknown Object (File)
Nov 26 2024, 8:43 AM
Unknown Object (File)
Nov 24 2024, 5:34 PM
Unknown Object (File)
Nov 19 2024, 2:49 PM
Unknown Object (File)
Nov 19 2024, 11:54 AM
Unknown Object (File)
Nov 19 2024, 10:19 AM
Unknown Object (File)
Nov 16 2024, 7:07 PM
Unknown Object (File)
Nov 16 2024, 4:29 PM
Subscribers

Details

Summary

This permits associating a resource type (e.g. SYS_RES_MEMORY) with a
struct resource.

I considered adding a new field to struct rman to store the type and
only providing rman_get_type as an accessor. However, changing
'struct rman' is an ABI breakage. I might revisit this in main, but
the current approach is MFC'able.

Diff Detail

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