Searched refs:unmap (Results 1 – 5 of 5) sorted by relevance
221 auto unmap = [=](void *ptr) { munmap(ptr, sb.st_size); }; in load_policy() local222 std::unique_ptr<void, decltype(unmap)> map( in load_policy()223 mmap(nullptr, sb.st_size, PROT_READ, MAP_PRIVATE, fileno(fp), 0), unmap); in load_policy()
59 # read / write on /dev/device-mapper to map / unmap devices
62 # read / write on /dev/device-mapper to map / unmap devices
1380 bool unmap = false; in fs_mgr_overlayfs_teardown() local1383 if (EnsureScratchMapped(&scratch_device, &unmap)) { in fs_mgr_overlayfs_teardown()1408 if (unmap) { in fs_mgr_overlayfs_teardown()