get_sysfs_attr_as_uint64_uncached
Description:
Look up the sysfs attribute with name
on this and convert it to an unsigned 64-bit integer using
ascii_strtoull.
This function does blocking I/O, and updates the sysfs attributes cache.
Before version 238 the uncached getters would not strip trailing newlines.
Parameters:
this |
A Device. |
name |
Name of the sysfs attribute. |
Returns:
The value of the sysfs attribute or 0 if there is no such attribute. |