code wiki / _hdl_build / nx_file_install_session_gate_20260910.nx

nx_file_install_session_gate_20260910.nx

buildroot/runtime/_hdl_build/nx_file_install_session_gate_20260910.nx

18895 B189 linesdepth 18pulls 86 transitivereach 0 importersview sourcekind tooltopic file
docsdependenciesstructsconstsfunctions

about

Private real-filesystem session qualification; caller supplies a fresh scratch directory.

dependencies 2 imports · 0 importers

nx_mgmt_api.nx nx_gate_verdict.nx nx_file_install_session_gate_2

imports: nx_mgmt_api.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 tm_mounted 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 ↻ sg_path tm_hex_value ma_organ_arg_hex sg_hash tm_app sg_file nx_uas_server_keys_load_or sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close _uas_hex_dec _uas_nib nx_csprng_fill sys_mmap ↻ nx_csprng_urandom_path sys_openat_rd ↻ sys_read ↻

structs

none

consts

none

functions

4func sg_file(path:*u8,text:*u8)->i64
called by 2: tm_mountedmain
9func sg_path(root:*u8,name:*u8)->*u8
called by 2: tm_mountedmain
13func sg_same(path:*u8,digest:*u8)->i64
called by 2: tm_mountedmain
16func sg_hash(path:*u8,budget:i64,out:*u8)->i64
called by 2: tm_mountedmain
22func tg_identity(path:*u8)->i64
33func tm_app(out:*u8,at:i64,text:*u8)->i64 { let n:i64=fi_len(text);fi_copy(out+at,text,n);return at+n }
called by 1: tm_mounted
34func tm_hex_value(text:*u8)->*u8 { let out:*u8=sys_mmap(32);var i:i64=0;while i<32 { out[i]=(ma_organ_arg_hex(text[i*2] as i64)*16+ma_organ_arg_hex(text[i*2+1] as i64)) as u8;i=i+1 };return out }
called by 1: tm_mounted calls 1: ma_organ_arg_hex
35func tm_hex(out:*u8,at:i64,d:*u8)->i64 { let h:*u8="0123456789abcdef";var i:i64=0;while i<32 { let b:i64=d[i] as i64;out[at+i*2]=h[b>>4];out[at+i*2+1]=h[b&15];i=i+1 };return at+64 }
called by 1: tm_mounted
36func tm_token(resp:*u8,n:i64,out:*u8)->i64
called by 1: tm_mounted calls 1: ma_find
40func tm_mounted(root:*u8)->i64
124func main(argc:i64,argv:*i64)->i64