| VFS_PAGE_SIZE = n3 + (n0 + n2) % VFS_PAGE_SIZE, err = ESUCCESS, min(n1 - n0 + n2, n3) ≠ 0, write-inv(n0, n1, inode, buf1, n2, dirs, files0, files1), n0 + n2 ≤ n1 ⊦ [afs_check_commit#(dirs, files1; err; asynced0); if err = ESUCCESS then {buf0 := copy(buf1, n2, getpage((n0 + n2) / VFS_PAGE_SIZE, files1[inode.ino].content), (n0 + n2) % VFS_PAGE_SIZE, min(n1 - n0 + n2, n3)); afs_writepage#(inode, (n0 + n2) / VFS_PAGE_SIZE, buf0, dirs; err, files1; asynced0)}; n := min(n1 - n0 + n2, n3); if err = ESUCCESS then n2 := n2 + n] write-inv(n0, n1, inode, buf1, n2, dirs, files0, files1) |
VFS_PAGE_SIZE = n3 + (n0 + n2) % VFS_PAGE_SIZE, err = ESUCCESS, files = files1, write-inv(n0, n1, inode, buf1, n2, dirs, files0, files1), n0 + n2 ≤ n1 ⊦ [fail_or_success#(; ; err); choose bv with true in asynced := bv; if err = ESUCCESS then {buf0 := copy(buf1, n2, getpage((n0 + n2) / VFS_PAGE_SIZE, files1[inode.ino].content), (n0 + n2) % VFS_PAGE_SIZE, min(n1 - n0 + n2, n3)); afs_writepage#(inode, (n0 + n2) / VFS_PAGE_SIZE, buf0, dirs; err, files1; asynced0)}; n := min(n1 - n0 + n2, n3); if err = ESUCCESS then n2 := n2 + n] write-inv(n0, n1, inode, buf1, n2, dirs, files0, files1), min(n1 - n0 + n2, n3) = 0
Used simplifier rules: afs_check_commit#(DIRS, FILES; ERR; ASYNCED) {fail_or_success#(; ; ERR); choose bv with true in ASYNCED := bv};