Home
last modified time | relevance | path

Searched refs:maxAccess (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-mboxd/vpnor/
H A Dpnor_partition.cpp94 size_t maxAccess = offset + len; in clamp() local
96 return std::min(maxAccess, partSize) - offset; in clamp()
101 size_t maxAccess = offset + len; in resize() local
103 if (maxAccess < fileSize) in resize()
107 MSG_DBG("Resizing %s to %zu bytes\n", path.c_str(), maxAccess); in resize()
108 int rc = truncate(path.c_str(), maxAccess); in resize()
/openbmc/hiomapd/vpnor/
H A Dpartition.cpp108 size_t maxAccess = offset + len; in clamp() local
110 return std::min(maxAccess, partSize) - offset; in clamp()