| # buf0 = VFS_PAGE_SIZE, cache_files[ino] = mkfile(m9, md2, # links(ino, cache_dirs), content0), content[pageno] = (content ⊕ mkcontent(m, cache_pcache))[pageno], cache_files[m] = mkfile(m3, md0, # links(m, cache_dirs), content), cache_icache[m] = mkientry(boolvar0, mkinode(m2, md1, true, m4, m5, m6)), cache_icache[ino] = mkientry(boolvar1, mkinode(m0, md, true, m1, m7, m8)), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache) ⊕ 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_pcache, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache), n ∈ content0 ⊕ mkcontent(ino, cache_pcache), ino ∈ cache_files, m ∈ cache_icache, m ∈ cache_files, pageno ∈ content, ino ∈ cache_icache, datakey(ino, n) ∈ cache_pcache, cache_sync → synced(cache_files, cache_icache, cache_pcache) ⊦ cache_pcache[datakey(ino, n)].page = (content0 ⊕ mkcontent(ino, cache_pcache[datakey(m, pageno), mkpentry(false, content[pageno])]))[n], content[pageno] = zeropage, datakey(m, pageno) ∈ cache_pcache |
# buf0 = VFS_PAGE_SIZE, cache_icache[ino] = mkientry(boolvar1, mkinode(m0, md, true, m1, m7, m8)), cache_icache[m] = mkientry(boolvar0, mkinode(m2, md1, true, m4, m5, m6)), cache_files[m] = mkfile(m3, md0, # links(m, cache_dirs), content), content[pageno] = (content ⊕ mkcontent(m, cache_pcache))[pageno], cache_files[ino] = mkfile(m9, md2, # links(ino, cache_dirs), content0), cache_pcache[datakey(ino, n)] = mkpentry(boolvar, buf), afs-cons(cache_dirs, cache_files), afs-cons(cache_dirs, (cache_files ⊕ cache_pcache) ⊕ cache_icache), dcache-cons(cache_dcache, cache_dirs, cache_files), icache-cons(cache_icache, cache_dirs, cache_files), pcache-cons(cache_pcache, cache_dirs, cache_files), synced(cache_dirs, cache_icache, cache_pcache), datakey(ino, n) ∈ cache_pcache, ino ∈ cache_icache, pageno ∈ content, m ∈ cache_files, m ∈ cache_icache, ino ∈ cache_files, n ∈ content0 ⊕ mkcontent(ino, cache_pcache), cache_sync → synced(cache_files, cache_icache, cache_pcache) ⊦ content[pageno] = zeropage, buf = (content0 ⊕ mkcontent(ino, cache_pcache[datakey(m, pageno), mkpentry(false, content[pageno])]))[n], datakey(m, pageno) ∈ cache_pcache
Used simplifier rules: ⊦ (boolvar ↔ pe.dirty) ∧ buf = pe.page ↔ pe = mkpentry(boolvar, buf); (elim) Used terms: cache_pcache[datakey(ino, n)], boolvar1, buf