| # buf0 = VFS_PAGE_SIZE, buf = buf0, buf1 = buf0, dirs = abs-dirs(fs, ri), err = err1, files = abs-files(fs, ri), inode = mkinode(m, md, boolvar1, m0, m1, m2), fo.inodes?, orphans(fs, ri).inodes?, afs-cons(abs-dirs(fs, ri), abs-files(fs, ri)), file-node-cons(fs, ri), log-cons(log, fs), orphans-cons(fs, ri, orphans(fs, ri)), replay-cons-strong(fs, ri, orphans(fs, ri), fi, fo, log), ri-inj(fi), ri-inj(ri), ubifs-cons(fs, ri, orphans(fs, ri), fi, fo, log), inodekey(m) ∈ ri, ⌊err0⌋ , asynced → boolvar2 ⊦ ⟨{if pageno ∈ files[inode.ino].content then buf := files[inode.ino].content[pageno] else buf := zeropage; err := ESUCCESS} or fail#(; ; err)⟩ ((asynced → boolvar2) ∧ buf1 = buf ∧ err0 = err), fs[ri[inodekey(m)]].directory |
# buf0 = VFS_PAGE_SIZE, buf = buf0, buf1 = buf0, dirs = abs-dirs(fs, ri), err = err1, files = abs-files(fs, ri), inode = mkinode(m, md, boolvar1, m0, m1, m2), orphans(fs, ri).inodes?, fo.inodes?, afs-cons(abs-dirs(fs, ri), abs-files(fs, ri)), file-node-cons(fs, ri), log-cons(log, fs), orphans-cons(fs, ri, orphans(fs, ri)), replay-cons-strong(fs, ri, orphans(fs, ri), fi, fo, log), ri-inj(ri), ri-inj(fi), ubifs-cons(fs, ri, orphans(fs, ri), fi, fo, log), inodekey(m) ∈ ri, ⌊err0⌋ , asynced → boolvar2 ⊦ ⟨fail#(; ; err)⟩ ((asynced → boolvar2) ∧ buf1 = buf ∧ err0 = err), ⟨if pageno ∈ files[inode.ino].content then buf := files[inode.ino].content[pageno] else buf := zeropage; err := ESUCCESS⟩ ((asynced → boolvar2) ∧ buf1 = buf ∧ err0 = err), fs[ri[inodekey(m)]].directory