| # buf0 = VFS_PAGE_SIZE, files[key.ino] = mkfile(m1, md0, m2, content0), 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, key = datakey(m, pageno), datakey(m, pageno) ∈ pcache, key.data? ∧ # buf = VFS_PAGE_SIZE ∧ key.ino ∈ files ∧ (¬ boolvar → key.part ∈ content0 ∧ buf = content0[key.part]) |
# buf0 = VFS_PAGE_SIZE, files[m] = mkfile(m0, md, # links(m, dirs), content), files[key.ino] = mkfile(m1, md0, m2, content0), pcache[key] = mkpentry(boolvar, buf), afs-cons(dirs, files), pcache-cons(pcache, dirs, files), synced(dirs, icache, pcache), m ∈ files, pageno ∈ content, key ∈ pcache, 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: ⊦ key ≠ key0 → (key ∈ pcache[key0, pe] ↔ key ∈ pcache); (s)% ⊦ key ≠ key0 → pcache[key0, pe][key] = pcache[key]; (s)