Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/x/c/xcp-storage-managers-HEAD/tests/faultinjection/FileSR.py   xcp-storage-managers(Download)
    def _getsize(self):
        st = util.ioretry_stat(lambda: os.statvfs(self.path))
        return st[statvfs.F_BLOCKS] * st[statvfs.F_FRSIZE]
 
    def _getutilisation(self):
        st = util.ioretry_stat(lambda: os.statvfs(self.path))