| # buf = VFS_PAGE_SIZE, pcache1[key] = mkpentry(boolvar0, buf1), pcache[datakey(m, n)] = mkpentry(true, buf), files0[m] = mkfile(m0, md, # links(m, dirs), content1), files1[m] = mkfile(m0, md, # links(m, dirs), content), pcache[datakey(m, n), mkpentry(false, buf)][key] = mkpentry(boolvar, buf0), n * VFS_PAGE_SIZE < m2, afs-cons(dirs, files1[m, mkfile(m0, md, # links(m, dirs), content[n, buf])]), afs-cons(dirs, files1), afs-cons(dirs, files0), pcache-cons(pcache1, dirs, files0), pcache-cons(pcache, dirs, files1), m ∈ files0, m ∈ files1, datakey(m, n) ∈ pcache, ∀ key. (key ∈ pcache ↔ key ∈ pcache1) ∧ pcache[key].page = pcache1[key].page ∧ (pcache[key].dirty → pcache1[key].dirty), ∀ pageno. (pageno < n ⊃ (pageno ∈ content ↔ pageno ∈ content1 ⊕ mkcontent(m, pcache1)) ∧ content[pageno] = (content1 ⊕ mkcontent(m, pcache1))[pageno] ;(pageno ∈ content ↔ pageno ∈ content1) ∧ content[pageno] = content1[pageno] ) ⊦ key ∈ pcache[datakey(m, n), mkpentry(false, buf)] ↔ key ∈ pcache1 |
# buf = VFS_PAGE_SIZE, pcache[datakey(m, n), mkpentry(false, buf)][key] = mkpentry(boolvar, buf0), files1[m] = mkfile(m0, md, # links(m, dirs), content), files0[m] = mkfile(m0, md, # links(m, dirs), content1), pcache[datakey(m, n)] = mkpentry(true, buf), pcache1[key] = mkpentry(boolvar0, buf1), key = datakey(m, n), n * VFS_PAGE_SIZE < m2, afs-cons(dirs, files0), afs-cons(dirs, files1), afs-cons(dirs, files1[m, mkfile(m0, md, # links(m, dirs), content[n, buf])]), pcache-cons(pcache, dirs, files1), pcache-cons(pcache1, dirs, files0), datakey(m, n) ∈ pcache, m ∈ files1, m ∈ files0, ∀ pageno. (pageno < n ⊃ (pageno ∈ content ↔ pageno ∈ content1 ⊕ mkcontent(m, pcache1)) ∧ content[pageno] = (content1 ⊕ mkcontent(m, pcache1))[pageno] ;(pageno ∈ content ↔ pageno ∈ content1) ∧ content[pageno] = content1[pageno] ), ∀ key. (key ∈ pcache ↔ key ∈ pcache1) ∧ pcache[key].page = pcache1[key].page ∧ (pcache[key].dirty → pcache1[key].dirty) ⊦ key ∈ pcache[datakey(m, n), mkpentry(false, buf)] ↔ key ∈ pcache1
# buf = VFS_PAGE_SIZE, pcache[datakey(m, n), mkpentry(false, buf)][key] = mkpentry(boolvar, buf0), files1[m] = mkfile(m0, md, # links(m, dirs), content), files0[m] = mkfile(m0, md, # links(m, dirs), content1), pcache[datakey(m, n)] = mkpentry(true, buf), pcache1[key] = mkpentry(boolvar0, buf1), n * VFS_PAGE_SIZE < m2, afs-cons(dirs, files0), afs-cons(dirs, files1), afs-cons(dirs, files1[m, mkfile(m0, md, # links(m, dirs), content[n, buf])]), pcache-cons(pcache, dirs, files1), pcache-cons(pcache1, dirs, files0), datakey(m, n) ∈ pcache, m ∈ files1, m ∈ files0, ∀ pageno. (pageno < n ⊃ (pageno ∈ content ↔ pageno ∈ content1 ⊕ mkcontent(m, pcache1)) ∧ content[pageno] = (content1 ⊕ mkcontent(m, pcache1))[pageno] ;(pageno ∈ content ↔ pageno ∈ content1) ∧ content[pageno] = content1[pageno] ), ∀ key. (key ∈ pcache ↔ key ∈ pcache1) ∧ pcache[key].page = pcache1[key].page ∧ (pcache[key].dirty → pcache1[key].dirty) ⊦ key ∈ pcache[datakey(m, n), mkpentry(false, buf)] ↔ key ∈ pcache1, key = datakey(m, n)
Used formulas: key = datakey(m, n)