MCPcopy Create free account
hub / github.com/coreboot/coreboot / rdev_munmap

Function rdev_munmap

src/commonlib/region.c:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66int rdev_munmap(const struct region_device *rd, void *mapping)
67{
68 const struct region_device *rdev;
69
70 rdev = rdev_root(rd);
71
72 if (rdev->ops->munmap == NULL)
73 return -1;
74
75 return rdev->ops->munmap(rdev, mapping);
76}
77
78ssize_t rdev_readat(const struct region_device *rd, void *b, size_t offset,
79 size_t size)

Callers 15

cbfs_load_and_decompressFunction · 0.85
do_allocFunction · 0.85
cbfs_prog_stage_loadFunction · 0.85
find_fmap_directoryFunction · 0.85
fmap_locate_areaFunction · 0.85
fmap_find_region_nameFunction · 0.85
vpd_find_inFunction · 0.85
elog_put_event_bufferFunction · 0.85
elog_debug_dump_bufferFunction · 0.85
elog_is_buffer_clearFunction · 0.85
elog_nv_writeFunction · 0.85
elog_scan_flashFunction · 0.85

Calls 1

rdev_rootFunction · 0.85

Tested by 5

test_rdev_successFunction · 0.68
test_rdev_failureFunction · 0.68
test_rdev_chainFunction · 0.68
test_rdev_double_chainFunction · 0.68
test_mem_rdevFunction · 0.68