| # buf0 = VFS_PAGE_SIZE, files[m] = mkfile(m0, md, # links(m, dirs), content), pcache[datakey(m, pageno), mkpentry(false, content[pageno])][key] = mkpentry(boolvar, buf), afs-cons(dirs, files), pcache-cons(pcache, dirs, files), synced(dirs, icache, pcache), pageno ∈ content, m ∈ files, key ∈ pcache[datakey(m, pageno), mkpentry(false, content[pageno])], asynced2 → synced(files, icache, pcache) ⊦ content[pageno] = zeropage, datakey(m, pageno) ∈ pcache, key.data? ∧ # buf = VFS_PAGE_SIZE ∧ key.ino ∈ files ∧ (¬ boolvar → key.part ∈ files[key.ino].content ∧ buf = files[key.ino].content[key.part]) |
# buf0 = VFS_PAGE_SIZE, pcache[datakey(m, pageno), mkpentry(false, content[pageno])][key] = mkpentry(boolvar, buf), files[m] = mkfile(m0, md, # links(m, dirs), content), files[key.ino] = mkfile(m1, md0, m2, content0), afs-cons(dirs, files), pcache-cons(pcache, dirs, files), synced(dirs, icache, pcache), key ∈ pcache[datakey(m, pageno), mkpentry(false, content[pageno])], m ∈ files, pageno ∈ content, asynced2 → synced(files, icache, pcache) ⊦ content[pageno] = zeropage, datakey(m, pageno) ∈ pcache, key.data? ∧ # buf = VFS_PAGE_SIZE ∧ key.ino ∈ files ∧ (¬ boolvar → key.part ∈ content0 ∧ buf = content0[key.part])
Used simplifier rules: ⊦ ((m = af.size ∧ md = af.meta) ∧ m0 = af.nlink) ∧ content = af.content ↔ af = mkfile(m, md, m0, content); (elim) Used terms: files[key.ino], m1, md0, m2, content0