| # buf = VFS_PAGE_SIZE, pcache[datakey(m, n)] = mkpentry(true, buf), n * VFS_PAGE_SIZE < m2, datakey(m, n) ∈ pcache, m ∈ files, err0 = ESUCCESS ∨ ⌊err0⌋ ⊦ [fail#(; ; err); asynced := ?; if err = ESUCCESS then afs_check_commit#(dirs, files; err; asynced1); if err = ESUCCESS then {asynced := false; pcache_set_status#(m, n, asynced; err, pcache)}; n := n + 1] (err = ESUCCESS ∨ ⌊err⌋ ) |
# buf = VFS_PAGE_SIZE, pcache[datakey(m, n)] = mkpentry(true, buf), n * VFS_PAGE_SIZE < m2, m ∈ files, datakey(m, n) ∈ pcache, err0 = ESUCCESS ∨ ⌊err0⌋ ⊦ [choose err0 with ⌊err0⌋ in err := err0; asynced := ?; if err = ESUCCESS then afs_check_commit#(dirs, files; err; asynced1); if err = ESUCCESS then {asynced := false; pcache_set_status#(m, n, asynced; err, pcache)}; n := n + 1] (err = ESUCCESS ∨ ⌊err⌋ )
Used simplifier rules: fail#(; ; ERR){choose ERR0 with ⌊ERR0⌋ in ERR := ERR0};