| afs-cons(dirs, files), ino ∈ files, files[ino] = mkfile(n1 + n0 + n, md, m0, content), VFS_PAGE_SIZE = n2 + (n0 + n) % VFS_PAGE_SIZE, n3 + n ≤ # buf0, # buf0 = # buf1 ⊦ read-inv(n0, n3 + n0 + n, buf0, buf1, n, content) → read-inv (n0, n3 + n0 + n, buf0, copy(getpage((n0 + n) / VFS_PAGE_SIZE, content), (n0 + n) % VFS_PAGE_SIZE, buf1, n, min(n3, n2, n1)), min(n3, n2, n1) + n, content) |
# buf0 = # buf1, VFS_PAGE_SIZE = n2 + (n0 + n) % VFS_PAGE_SIZE, files[ino] = mkfile(n1 + n0 + n, md, m0, content), afs-cons(dirs, files), read-inv(n0, n3 + n0 + n, buf0, buf1, n, content), ino ∈ files, n3 + n ≤ # buf0 ⊦ read-inv (n0, n3 + n0 + n, buf0, copy(getpage((n0 + n) / VFS_PAGE_SIZE, content), (n0 + n) % VFS_PAGE_SIZE, buf1, n, min(n3, n2, n1)), min(n3, n2, n1) + n, content)