nx_ioae_wiring_v2_20260907.nx
buildroot/runtime/nx_ioae_wiring_v2_20260907.nx
about
TEST ONLY: actual hio budget-entry body; census, width, pool and root boundaries replaced.
This verifies budget plumbing and root arguments, not /proc accuracy or lease durability.
dependencies 1 imports · 1 importers
imports: nx_ioae_lib_test_20260907.nx
imported by: nx_ioae_gate_v2_20260907.nx
structs
| none |
consts
| 4 | const HIO_ADMIT: i64 = 1 |
| 5 | const HIO_DEFER: i64 = 0 |
| 6 | const HIO_UNOBSERVABLE: i64 = 0-1 |
| 7 | const HIO_C_BYTES: i64 = 64 |
| 8 | const HIO_MAXP: i64 = 32 |
| 9 | const HIO_NAMEW: i64 = 64 |
| 10 | const HIO_PATHCAP: i64 = 256 |
| 11 | const HIO_C_TTL: i64 = 7 |
| 12 | const HIO_TTL_DEFAULT: i64 = 900 |
| 13 | const HIO_O_RUNNING: i64 = 0 |
| 14 | const HIO_O_WIDTH: i64 = 1 |
| 15 | const HIO_O_STORM: i64 = 2 |
| 16 | const HIO_O_SLOT: i64 = 3 |
| 17 | const HIO_POOL_NONE: i64 = 0-1 |
| 18 | const HIO_POOL_IO: i64 = 0-2 |
| 19 | const HIO_CONF_LEAF: *u8 = "heavyio.conf" |
| 20 | const HIO_ADMISSION_BYTES: i64 = HIO_C_BYTES + HIO_MAXP*HIO_NAMEW + HIO_PATHCAP |
| 21 | const HIO_BUDGET_PATH_BYTES: i64 = HIO_PATHCAP*2 |
| 109 | const BA_EXIT_DENY: i64 = 3 |
| 110 | const BA_EXIT_QUEUE: i64 = 4 |
| 111 | const BA_HARD_FACTOR: i64 = 2 |
functions
| 26 | func hio_admission_alloc() -> *u8 called by 1: hio_admit_conf_root_budget |
| 31 | func hio_admission_free(p: *u8) -> i64 called by 1: hio_admit_conf_root_budget |
| 44 | func hio_storm_budget() -> i64 { eg_instant_calls = eg_instant_calls+1; return 0 } |
| 45 | func hio_conf_read(path: *u8, cfg: *i64, names: *u8) -> i64 |
| 49 | func hio_running(cfg: *i64, names: *u8) -> i64 { return 0 } called by 1: hio_admit_conf_root_budget |
| 50 | func hio_width(cfg: *i64) -> i64 { return eg_width } called by 1: hio_admit_conf_root_budget |
| 51 | func hio_lease_root(root: *u8, out: *u8) -> i64 { return ioae_join(root,"lease/" as *u8,out) } |
| 52 | func hio_pool_acquire(root: *u8, width: i64, ttl: i64) -> i64 |
| 57 | func hio_root(root: *u8) -> i64 |
| 61 | func hio_decide_pool(width: i64, storm_budget: i64, slot: i64) -> i64 called by 1: hio_admit_conf_root_budget |
| 69 | func hio_admit_conf_root_budget(root: *u8, path: *u8, selected_budget: i64, out: *i64) -> i64 called by 1: hio_admit_budget calls 8: hio_admission_allochio_conf_readhio_runninghio_widthhio_lease_roothio_pool_acquire+2 |
| 94 | func hio_admit_budget(selected_budget: i64, out: *i64) -> i64 |
| 112 | func ba_verdict(avail_mb: i64, floor_mb: i64, load1: i64, max_load: i64, procs_run: i64, ncpu: i64, procs_blk: i64, blocked_max: i64) -> i64 called by 1: main |