| avol0 = avol, buf = mkbuf(encoding-size(sb, EB_PAGE_SIZE)), ebm-vol-inv(avol), encoding-size(sb, EB_PAGE_SIZE) ≤ LEB_SIZE ⊦ ⟪m := encoding-size(sb, EB_PAGE_SIZE); encode_superblock#(sb, 0, EB_PAGE_SIZE; buf, m; err); if err = ESUCCESS then ebm_avol_change#(0, m, buf; avol; err)⟫ ( (err = ESUCCESS ∨ ⌊err⌋ ) ∧ ebm-vol-inv(avol) ∧ (err = ESUCCESS → id○(avol, avol0, 0) ∧ (∃ buf. is-encoded(sb, buf) ∧ avol[0] = mapped(buf))) ∧ (err ≠ ESUCCESS → avol = avol0)), # avol = 0 |
avol0 = avol, buf = mkbuf(encoding-size(sb, EB_PAGE_SIZE)), m = encoding-size(sb, EB_PAGE_SIZE), ebm-vol-inv(avol), encoding-size(sb, EB_PAGE_SIZE) ≤ LEB_SIZE ⊦ ⟪encode_superblock#(sb, 0, EB_PAGE_SIZE; buf, m; err); if err = ESUCCESS then ebm_avol_change#(0, m, buf; avol; err)⟫ ( (err = ESUCCESS ∨ ⌊err⌋ ) ∧ ebm-vol-inv(avol) ∧ (err = ESUCCESS → id○(avol, avol0, 0) ∧ (∃ buf. is-encoded(sb, buf) ∧ avol[0] = mapped(buf))) ∧ (err ≠ ESUCCESS → avol = avol0)), # avol = 0