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)
Sat, Jun 22, 2:32 PM
Unknown Object (File)
Thu, Jun 20, 11:31 AM
Unknown Object (File)
Thu, Jun 6, 11:55 AM
Unknown Object (File)
May 13 2024, 10:43 PM
Unknown Object (File)
May 13 2024, 7:52 PM
Unknown Object (File)
May 13 2024, 2:51 PM
Unknown Object (File)
May 13 2024, 1:20 PM
Unknown Object (File)
May 9 2024, 9:14 AM
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