code wiki / (root) / nx_actlog_writer_gate.nx

nx_actlog_writer_gate.nx

buildroot/runtime/nx_actlog_writer_gate.nx

7685 B133 linesdepth 9pulls 35 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

Exercise the actual shared journal writer on one exclusive caller-owned /tmp file. license_tier: ORIGINAL; expect_exit: 0

dependencies 3 imports · 0 importers

nx_tools_api.nx nx_gatekit_lib.nx nx_gate_verdict.nx nx_actlog_writer_gate.nx

imports: nx_tools_api.nxnx_gatekit_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gv_puts sys_write aw_path gk_len gv_ctr sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts ↻ gv_check gv_puts ↻ gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_puts ↻ gv_num ↻ gv_journal sys_openat_append

structs

none

consts

6const AW_OLD_ROW_CAP: i64 = 768 // verified former writer allocation; regression fixture dimension
7const AW_FILE_MODE: i64 = 0x180
8const AW_I64_MIN: i64 = 0-9223372036854775807-1
9const AW_DIGIT_GUARD: i64 = 35

functions

11func aw_number(v: i64, expected: *u8) -> i64
called by 1: main calls 3: ta_catngk_lenaw_same
28func aw_same(a: *u8, n: i64, b: *u8, bn: i64) -> i64
called by 2: aw_numbermain
34func aw_path(path: *u8) -> i64
called by 1: main calls 1: gk_len
52func main(argc: i64, argv: *i64) -> i64