| # buf0 = VFS_PAGE_SIZE, files[m] = mkfile(m0, md, # links(m, dirs), content), afs-cons(dirs, files), dcache-cons(dcache, dirs, files), icache-cons(icache, dirs, files), pcache-cons(pcache[datakey(m, pageno), mkpentry(false, content[pageno])], dirs, files), pcache-cons(pcache, dirs, files), synced(dirs, icache, pcache), m ∈ files, pageno ∈ content, asynced2 → synced(files, icache, pcache) ⊦ content[pageno] = zeropage, synced(dirs, icache, pcache[datakey(m, pageno), mkpentry(false, content[pageno])]), datakey(m, pageno) ∈ pcache |
# buf0 = VFS_PAGE_SIZE, files[m] = mkfile(m0, md, # links(m, dirs), content), afs-cons(dirs, files), dcache-cons(dcache, dirs, files), pcache-cons(pcache, dirs, files), pcache-cons(pcache[datakey(m, pageno), mkpentry(false, content[pageno])], dirs, files), synced(dirs, icache, pcache), pageno ∈ content, m ∈ files, asynced2 → synced(files, icache, pcache) ⊦ content[pageno] = zeropage, synced(dirs, icache, pcache[datakey(m, pageno), mkpentry(false, content[pageno])]), datakey(m, pageno) ∈ pcache