| VFS_PAGE_SIZE = n1 + m2 % VFS_PAGE_SIZE, cache_files[ino] = mkfile(m8, md, # links(ino, cache_dirs), content0), ((cache_files ⊕ cache_pcache0) ⊕ cache_icache)[m1] = mkfile(m4, md2, # links(m1, cache_dirs), content), cache_files[m1] = mkfile(m3, md1, # links(m1, cache_dirs), content1), (∅)[ino] = mkientry(boolvar0, mkinode(m0, md0, boolvar, m5, m6, m7)), fill(content1[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n1) = fill(content[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n1), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache0) ⊕ cache_icache), afs-cons(cache_dirs, cache_files), dcache-cons(cache_dcache, cache_dirs, cache_files), icache-cons(cache_icache, cache_dirs, cache_files), pcache-cons(cache_pcache0, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache0), ino ∈ cache_files, m1 ∈ cache_files, m2 / VFS_PAGE_SIZE ∈ content, m2 / VFS_PAGE_SIZE ∈ content1, VFS_PAGE_SIZE ≤ # content[m2 / VFS_PAGE_SIZE], m2 ≤ m, cache_sync → synced(cache_files, cache_icache, cache_pcache0), ∀ key. key ∈ cache_pcache0 → key.data? ⊦ m2 % VFS_PAGE_SIZE = 0, ino = m1, datakey(m1, m2 / VFS_PAGE_SIZE) ∈ cache_pcache0, ino ∈ cache_icache, m8 = m8 ∧ md = md ∧ # links(ino, cache_dirs) = # links(ino, cache_dirs) ∧ content0 ⊕ mkcontent(ino, cache_pcache0) = content0 ⊕ mkcontent (ino, truncate(m1, m2, cache_pcache0) [datakey(m1, m2 / VFS_PAGE_SIZE), mkpentry(false, fill(content[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n1)) ]) |
VFS_PAGE_SIZE = n1 + m2 % VFS_PAGE_SIZE, (∅)[ino] = mkientry(boolvar0, mkinode(m0, md0, boolvar, m5, m6, m7)), cache_files[m1] = mkfile(m3, md1, # links(m1, cache_dirs), content1), ((cache_files ⊕ cache_pcache0) ⊕ cache_icache)[m1] = mkfile(m4, md2, # links(m1, cache_dirs), content), cache_files[ino] = mkfile(m8, md, # links(ino, cache_dirs), content0), fill(content1[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n1) = fill(content[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n1), afs-cons(cache_dirs, cache_files), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache0) ⊕ cache_icache), dcache-cons(cache_dcache, cache_dirs, cache_files), icache-cons(cache_icache, cache_dirs, cache_files), pcache-cons(cache_pcache0, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache0), m2 / VFS_PAGE_SIZE ∈ content1, m2 / VFS_PAGE_SIZE ∈ content, m1 ∈ cache_files, ino ∈ cache_files, m2 ≤ m, VFS_PAGE_SIZE ≤ # content[m2 / VFS_PAGE_SIZE], cache_sync → synced(cache_files, cache_icache, cache_pcache0), ∀ key. key ∈ cache_pcache0 → key.data? ⊦ m2 % VFS_PAGE_SIZE = 0, ino = m1, content0 ⊕ mkcontent(ino, cache_pcache0) = content0 ⊕ mkcontent (ino, truncate(m1, m2, cache_pcache0) [datakey(m1, m2 / VFS_PAGE_SIZE), mkpentry(false, fill(content[m2 / VFS_PAGE_SIZE], zero, m2 % VFS_PAGE_SIZE, n1)) ]), ino ∈ cache_icache, datakey(m1, m2 / VFS_PAGE_SIZE) ∈ cache_pcache0