MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rman_set_mapping

Function rman_set_mapping

freebsd/kern/subr_rman.c:914–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912}
913
914void
915rman_set_mapping(struct resource *r, struct resource_map *map)
916{
917
918 KASSERT(rman_get_size(r) == map->r_size,
919 ("rman_set_mapping: size mismatch"));
920 rman_set_bustag(r, map->r_bustag);
921 rman_set_bushandle(r, map->r_bushandle);
922 rman_set_virtual(r, map->r_vaddr);
923}
924
925void
926rman_get_mapping(struct resource *r, struct resource_map *map)

Callers 1

nexus_activate_resourceFunction · 0.85

Calls 4

rman_get_sizeFunction · 0.85
rman_set_bustagFunction · 0.85
rman_set_bushandleFunction · 0.85
rman_set_virtualFunction · 0.85

Tested by

no test coverage detected