| # buf0 = VFS_PAGE_SIZE, VFS_PAGE_SIZE = n0 + m2 % VFS_PAGE_SIZE, pcache0[datakey(m3, m7)] = mkpentry(false, content0[m7]), files0[m3] = mkfile(m1, md1, # links(m3, dirs), content0), pcache0[datakey(m3, m2 / VFS_PAGE_SIZE)] = mkpentry(boolvar, buf0), m7 * VFS_PAGE_SIZE < m2, m7 * VFS_PAGE_SIZE < m, afs-cons(dirs, files0[m3, mkfile(m, md, # links(m3, dirs), content0[m2 / VFS_PAGE_SIZE, fill(buf0, zero, m2 % VFS_PAGE_SIZE, n0)] upto m2)]), afs-cons(dirs, files0), synced(dirs, icache, pcache0), m7 ∈ content0, datakey(m3, m2 / VFS_PAGE_SIZE) ∈ pcache0, m3 ∈ files0, datakey(m3, m7) ∈ pcache0, m7 ∈ content0[m2 / VFS_PAGE_SIZE, fill(buf0, zero, m2 % VFS_PAGE_SIZE, n0)], m2 ≤ m, asynced2 → synced(files0, icache, pcache0), ∀ key. key ∈ pcache0 → key.data?, ∀ key0. key0 ∈ pcache0 → key0.data? ∧ # pcache0[key0].page = VFS_PAGE_SIZE ∧ key0.ino ∈ files0 ∧ (¬ pcache0[key0].dirty → key0.part ∈ files0[key0.ino].content ∧ pcache0[key0].page = files0[key0.ino].content[key0.part]) ⊦ m2 % VFS_PAGE_SIZE = 0, content0[m7] = content0[m2 / VFS_PAGE_SIZE, fill(buf0, zero, m2 % VFS_PAGE_SIZE, n0)][m7], datakey(m3, m7) = datakey(m3, m2 / VFS_PAGE_SIZE) |
# buf0 = VFS_PAGE_SIZE, VFS_PAGE_SIZE = n0 + m2 % VFS_PAGE_SIZE, pcache0[datakey(m3, m2 / VFS_PAGE_SIZE)] = mkpentry(boolvar, buf0), files0[m3] = mkfile(m1, md1, # links(m3, dirs), content0), pcache0[datakey(m3, m7)] = mkpentry(false, content0[m7]), m7 * VFS_PAGE_SIZE < m, m7 * VFS_PAGE_SIZE < m2, afs-cons(dirs, files0), afs-cons(dirs, files0[m3, mkfile(m, md, # links(m3, dirs), content0[m2 / VFS_PAGE_SIZE, fill(buf0, zero, m2 % VFS_PAGE_SIZE, n0)] upto m2)]), synced(dirs, icache, pcache0), m7 ∈ content0[m2 / VFS_PAGE_SIZE, fill(buf0, zero, m2 % VFS_PAGE_SIZE, n0)], datakey(m3, m7) ∈ pcache0, m3 ∈ files0, datakey(m3, m2 / VFS_PAGE_SIZE) ∈ pcache0, m7 ∈ content0, m2 ≤ m, asynced2 → synced(files0, icache, pcache0), ∀ key0. key0 ∈ pcache0 → key0.data? ∧ # pcache0[key0].page = VFS_PAGE_SIZE ∧ key0.ino ∈ files0 ∧ (¬ pcache0[key0].dirty → key0.part ∈ files0[key0.ino].content ∧ pcache0[key0].page = files0[key0.ino].content[key0.part]), ∀ key. key ∈ pcache0 → key.data? ⊦ m2 % VFS_PAGE_SIZE = 0, content0[m7] = content0[m2 / VFS_PAGE_SIZE, fill(buf0, zero, m2 % VFS_PAGE_SIZE, n0)][m7], datakey(m3, m7) = datakey(m3, m2 / VFS_PAGE_SIZE), m7 = m2 / VFS_PAGE_SIZE
Used formulas: m7 = m2 / VFS_PAGE_SIZE