| # buf = VFS_PAGE_SIZE, pcache[datakey(m, pageno), mkpentry(true, buf)][key] = mkpentry(boolvar, buf0), files[key.ino] = mkfile(m0, md, m1, content), afs-cons(dirs, files), pcache-cons(pcache, dirs, files), synced(dirs, icache, pcache), key ∈ pcache[datakey(m, pageno), mkpentry(true, buf)], m ∈ files ⊦ key.data? ∧ # buf0 = VFS_PAGE_SIZE ∧ key.ino ∈ files ∧ (¬ boolvar → key.part ∈ content ∧ buf0 = content[key.part]) |
# buf = VFS_PAGE_SIZE, files[key.ino] = mkfile(m0, md, m1, content), pcache[datakey(m, pageno), mkpentry(true, buf)][key] = mkpentry(boolvar, buf0), afs-cons(dirs, files), pcache-cons(pcache, dirs, files), synced(dirs, icache, pcache), m ∈ files, key ∈ pcache[datakey(m, pageno), mkpentry(true, buf)] ⊦ key = datakey(m, pageno), key.data? ∧ # buf0 = VFS_PAGE_SIZE ∧ key.ino ∈ files ∧ (¬ boolvar → key.part ∈ content ∧ buf0 = content[key.part])
Used simplifier rules: ⊦ pcache[key, pe][key] = pe; (s)%⊦ mkpentry(boolvar, buf) = mkpentry(boolvar0, buf0) ↔ (boolvar ↔ boolvar0) ∧ buf = buf0; (ws)% ⊦ datakey(m, m0).ino = m; (s)% ⊦ key ∈ pcache[key, pe]; (s)% ⊦ datakey(m, m0).data?; (s) Used formulas: key = datakey(m, pageno)