Return the huge page size for a device. returns nullptr if device does not refer to a huge page filesystem.
Declared in <folly/io/HugePages.h>
HugePageSize const*
getHugePageSizeForDevice(dev_t device);
The huge page size for the device, or nullptr if none.
| Name | Description |
|---|---|
| device | The device to look up. |