| m4 + n1 = m4 / VFS_PAGE_SIZE * VFS_PAGE_SIZE + VFS_PAGE_SIZE, files1[m] = mkfile(m4, md, # links(m, dirs), content0), dirs[m] = mkdir(m6, md2, m7, m8, entries), of[fd] = mkfile(m, mode, m0), m4 = n2 + m4 / VFS_PAGE_SIZE * VFS_PAGE_SIZE, n * VFS_PAGE_SIZE < m4, dom of < ino3, afs-cons(dirs, files1), of-cons (of, dirs, files1[m, mkfile(m4, md, # links(m, dirs), content0[m4 / VFS_PAGE_SIZE, fill(content0[m4 / VFS_PAGE_SIZE], zero, n2, n1)] upto m4)]), of-cons(of, dirs, files1), n ∈ content0[m4 / VFS_PAGE_SIZE, fill(content0[m4 / VFS_PAGE_SIZE], zero, n2, n1)], m ∈ files1, m4 / VFS_PAGE_SIZE ∈ content0, fd ∈ of, ROOT_INO ∈ dirs, n0 ≤ # buf0, n2 + n1 ≤ VFS_PAGE_SIZE ⊦ # content0[m4 / VFS_PAGE_SIZE, fill(content0[m4 / VFS_PAGE_SIZE], zero, n2, n1)][n] = VFS_PAGE_SIZE, n0 = 0, n2 = 0, mode ≠ MODE_W ∧ mode ≠ MODE_RW |
Used simplifier rules: ⊦ n ≠ n0 → content[n0, buf][n] = content[n]; (s)% ⊦ n ≠ n0 → (n ∈ content[n0, buf] ↔ n ∈ content); (s)%⊦ afs-cons(dirs, files) ∧ ino ∈ files ∧ files[ino] = mkfile(m, md, n0, content) ∧ n ∈ content → # content[n] = VFS_PAGE_SIZE; (s)% ⊦ content[n, buf][n] = buf; (s)% ⊦ # fill(buf, d, m, n) = # buf; (s) Used formulas: n = m4 / VFS_PAGE_SIZE