| # buf = VFS_PAGE_SIZE, files[m] = mkfile(m0, md, m1, content), afs-cons(dirs, files), m ∈ files ⊦ ⟨fail#(; ; err)⟩ true, ⟨if pageno ∈ content then buf := content[pageno] else buf := zeropage; err := ESUCCESS⟩ true |
# buf = VFS_PAGE_SIZE, files[m] = mkfile(m0, md, # links(m, dirs), content), afs-cons(dirs, files), m ∈ files ⊦ ⟨if pageno ∈ content then buf := content[pageno] else buf := zeropage; err := ESUCCESS⟩ true, ⟨fail#(; ; err)⟩ true
Used simplifier rules: afs-cons-file-nlink: ⊦ afs-cons(dirs, files) ∧ ino ∈ files ∧ files[ino] = mkfile(m, md, n, content) → # links(ino, dirs) = n; (forward) from specification afs-base