| # links(m, cache_dirs) = 0, (∅)[m] = mkientry(boolvar1, mkinode(m7, md3, boolvar0, m8, m9, m10)), cache_icache[ino] = mkientry(boolvar, mkinode(m2, md, false, m3, m4, m5)), cache_files[m] = mkfile(m0, md0, 0, content), cache_files[ino] = mkfile(m6, md2, # links(ino, cache_dirs), content1), evict(m, cache_pcache)[datakey(ino, n)] = mkpentry(boolvar2, buf), 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), datakey(ino, n) ∈ evict(m, cache_pcache), n ∈ content1, ino ∈ cache_icache, ino ∈ cache_files, m ∈ cache_files, cache_sync → synced(cache_files, cache_icache, cache_pcache), ∀ key. key ∈ cache_pcache → key.data? ⊦ content1[n] = buf, m = ROOT_INO, datakey(ino, n) ∈ cache_pcache, m ∈ cache_dirs, m ∈ cache_icache |
⊦ ino ≠ ino0 → (datakey(ino, pageno) ∈ evict(ino0, pcache) ↔ datakey(ino, pageno) ∈ pcache)
Used terms: cache_pcache, m, n, ino