| sb.main + # lpt = # avol, avol[sb.log] = mapped(buf1), avol[sb.orph] = mapped(buf0), avol[0] = mapped(buf), disk-layout(sb, # lpt), ebm-vol-inv(avol), is-encoded(sb, buf), is-encoded(lpt, lebs(avol, sb.lpt, lptlebs(# lpt, LEB_SIZE))), is-encoded(log, buf1), is-encoded-pad(orphans, sb.orphsize, buf0), mapped-full?(avol, sb.lpt, lptlebs(# lpt, LEB_SIZE)), logoff ≠ LEB_SIZE → # buf1 = logoff ⊦ ⟪persistence_io_get_volume_size#(sb, avol; ; n)⟫ true |
sb.main + # lpt = # avol, avol[0] = mapped(buf), avol[sb.orph] = mapped(buf0), avol[sb.log] = mapped(buf1), disk-layout(sb, # lpt), ebm-vol-inv(avol), is-encoded(log, buf1), is-encoded(lpt, lebs(avol, sb.lpt, lptlebs(# lpt, LEB_SIZE))), is-encoded(sb, buf), is-encoded-pad(orphans, sb.orphsize, buf0), mapped-full?(avol, sb.lpt, lptlebs(# lpt, LEB_SIZE)), logoff ≠ LEB_SIZE → # buf1 = logoff ⊦ ⟪ebm_avol_get_volume_size#(avol; ; n); n := n - sb.main⟫ true
Used simplifier rules: get-volume-size: ⊦ ;