| files0[ino0] = mkfile(m, md0, # links(ino0, dirs), content0), n0 < VFS_PAGE_SIZE, afs-cons(dirs, files0), ino0 ∈ files0 ⊦ [asynced := ?] ((content0 upto (m0 * VFS_PAGE_SIZE + n0)).stream from m0 * VFS_PAGE_SIZE + n0 = σ⊥), n0 ≠ 0 ∧ m0 ∈ content0 |
⊦ n = n0 * VFS_PAGE_SIZE + n1 ∧ n1 ≠ 0 ∧ n1 < VFS_PAGE_SIZE → (content upto n).stream = (content.stream to (n0 + 1) * VFS_PAGE_SIZE) + σ⊥
files0[ino0] = mkfile(m, md0, # links(ino0, dirs), content0), n0 < VFS_PAGE_SIZE, afs-cons(dirs, files0), ino0 ∈ files0 ⊦ [asynced := ?] ((content0 upto (m0 * VFS_PAGE_SIZE + n0)).stream from m0 * VFS_PAGE_SIZE + n0 = σ⊥), n0 ≠ 0 ∧ m0 ∈ content0, (m0 * VFS_PAGE_SIZE + n0 = m0 * VFS_PAGE_SIZE + n0 ∧ n0 ≠ 0 ∧ n0 < VFS_PAGE_SIZE) ∧ (true ↔ finp(content0.stream) → ⌜(m0 + 1) * VFS_PAGE_SIZE⌝ < # content0.stream ∨ ⌜(m0 + 1) * VFS_PAGE_SIZE⌝ = # content0.stream)
m0 * VFS_PAGE_SIZE + n0 = m0 * VFS_PAGE_SIZE + n0, files0[ino0] = mkfile(m, md0, # links(ino0, dirs), content0), n0 < VFS_PAGE_SIZE, afs-cons(dirs, files0), ino0 ∈ files0 ⊦ [asynced := ?] ((content0.stream to (m0 + 1) * VFS_PAGE_SIZE) + σ⊥ from m0 * VFS_PAGE_SIZE + n0 = σ⊥), n0 = 0, n0 ≠ 0 ∧ m0 ∈ content0
Used terms: m0, n0, m0 * VFS_PAGE_SIZE + n0, content0