| valid-file-inode(inode, dirs, files), pageno = inode.size / VFS_PAGE_SIZE, buf-opt.some?, # buf-opt.buf = VFS_PAGE_SIZE, icache-cons(icache, dirs, files), dcache-cons(dcache, dirs, files), pcache-cons(pcache, dirs, files), afs-cons(dirs, files), synced(dirs, icache, pcache), asynced → synced(files, icache, pcache) ⊦ ⟪cache_truncate#(n, pageno; buf-opt, inode, asynced0, err, dirs, files, asynced1, icache, pcache)⟫ ( icache-cons(icache, dirs, files) ∧ dcache-cons(dcache, dirs, files) ∧ pcache-cons(pcache, dirs, files) ∧ afs-cons(dirs, files) ∧ synced(dirs, icache, pcache) ∧ (asynced → synced(files, icache, pcache))) |