| # buf = VFS_PAGE_SIZE, files[key.ino] = mkfile(m0, md, m1, content), pcache[key] = mkpentry(boolvar, buf0), afs-cons(dirs, files), synced(dirs, icache, pcache), m ∈ files, key ∈ pcache, ∀ key0. key0 ∈ pcache → key0.data? ∧ # pcache[key0].page = VFS_PAGE_SIZE ∧ key0.ino ∈ files ∧ (¬ pcache[key0].dirty → key0.part ∈ files[key0.ino].content ∧ pcache[key0].page = files[key0.ino].content[key0.part]) ⊦ key = datakey(m, pageno), key.data? ∧ # buf0 = VFS_PAGE_SIZE ∧ key.ino ∈ files ∧ (¬ boolvar → key.part ∈ content ∧ buf0 = content[key.part]) |
Used simplifier rules: afs-cons-file-nlink: ⊦ afs-cons(dirs, files) ∧ ino ∈ files ∧ files[ino] = mkfile(m, md, n, content) → # links(ino, dirs) = n; (forward) from specification afs-base% ⊦ mkpentry(boolvar, buf).page = buf; (s)% ⊦ mkpentry(boolvar, buf).dirty ↔ boolvar; (s)% ⊦ mkfile(m, md, m0, content).content = content; (s) Used terms: key