| # buf = VFS_PAGE_SIZE, pcache[datakey(m, n)] = mkpentry(true, buf), files0[m] = mkfile(m0, md, m1, content), err = ESUCCESS, (files0 ⊕ pcache) ⊕ icache = (files1 ⊕ pcache0) ⊕ icache, n * VFS_PAGE_SIZE < m2, pcache-cons(pcache0, dirs, files1), m ∈ files0, datakey(m, n) ∈ pcache ⊦ [afs_check_commit#(dirs, files0[m, files0[m].content:= content[n, buf]]; err; asynced1); if err = ESUCCESS then {asynced := false; pcache_set_status#(m, n, asynced; err, pcache)}; n0 := n + 1] ((files1 ⊕ pcache0) ⊕ icache = (files0[m, files0[m].content:= content[n, buf]] ⊕ pcache) ⊕ icache) |
# buf = VFS_PAGE_SIZE, pcache[datakey(m, n)] = mkpentry(true, buf), files0[m] = mkfile(m0, md, m1, content), err = ESUCCESS, (files0 ⊕ pcache) ⊕ icache = (files1 ⊕ pcache0) ⊕ icache, n * VFS_PAGE_SIZE < m2, pcache-cons(pcache0, dirs, files1), m ∈ files0, datakey(m, n) ∈ pcache ⊦ [afs_check_commit#(dirs, files0[m, mkfile(m0, md, m1, content[n, buf])]; err; asynced1); if err = ESUCCESS then {asynced := false; pcache_set_status#(m, n, asynced; err, pcache)}; n0 := n + 1] ((files1 ⊕ pcache0) ⊕ icache = (files0[m, files0[m].content:= content[n, buf]] ⊕ pcache) ⊕ icache)
Used simplifier rules: ⊦ mkfile(m, md, m0, content).content:= content0 = mkfile(m, md, m0, content0); (s)