MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / truncate

Method truncate

fs/subfs.cpp:194–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 return underlayfs->access(path, mode);
193 }
194 virtual int truncate(const char *path, off_t length) override
195 {
196 PathCat __(this, path);
197 return underlayfs->truncate(path, length);
198 }
199 virtual int syncfs() override
200 {
201 return underlayfs->syncfs();

Callers 10

OVERRIDE_ASYNCMethod · 0.45
xmp_truncateFunction · 0.45
evictMethod · 0.45
dirEvictionMethod · 0.45
evictMethod · 0.45
evictionMethod · 0.45
evictIdleEntryMethod · 0.45
truncate_iovMethod · 0.45
volume_submit_ioFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36