[Imprint][Data Privacy Statement][E-Mail]

View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Theorem add-log-leb

persistence_io_add_log_leb#(LNUM, SB, PAGESIZE, LEBSIZE; LOGOFF, AVOL; ERR) {if ¬ LOGOFF + PAGESIZE ≤ LEBSIZE then ERR := ECOMMIT else let BUF = mkbuf(PAGESIZE) in {encode_ref_node#(PAGESIZE, rnode(LNUM); BUF; ERR); if ERR = ESUCCESS then {ebm_avol_write#(SB.log, LOGOFF, 0, PAGESIZE, BUF; AVOL; ERR); if ERR = ESUCCESS then LOGOFF := LOGOFF + PAGESIZE else {LOGOFF := LEBSIZE; debug#("persistence-io: failed to add LEB " + LNUM.toString + " to log")}}} }