nx_fio.nx
buildroot/runtime/nx_fio.nx
about
dependencies 2 imports · 48 importers
diagram shows first 10 each side; +0 more imports, +38 more importers in the complete lists below.
imports: nx_syscalls.nxnx_sha256.nx
imported by: nx_accept.nxnx_accept_candidate_t230.nxnx_apistack_idempotency.nxnx_apistack_idempotency_candidate_t190.nxnx_apistack_idempotency_reconcile_candidate_t219.nxnx_body_gen.nxnx_body_gen_skin_candidate_t345.nxnx_body_gen_winding_candidate_t365.nxnx_body_profile_winding_candidate_t366.nxnx_cap_mint.nxnx_cap_mint_candidate_t186.nxnx_claude_harvest.nxnx_claude_harvest_requests_t144.nxnx_compare_receipt_inspect_lib_t138.nxnx_comparestale_dependency_t138.nxnx_comparestale_edge_lib_t139.nxnx_comparestale_lib.nxnx_daemon_gate.nxnx_deploy_stage_candidate_t188.nxnx_deploy_stage_lib.nxnx_evidence_fleet.nxnx_evidence_fleet_t138.nxnx_file_install.nxnx_file_install.pre-toolchain-20260910.nxnx_file_install_session_20260910.nxnx_fileop.pre-intent-20260910.nxnx_fileop_gate.nxnx_fio_region_gate.nxnx_fio_write_gate.nxnx_fsops_gate.nxnx_fsops_lib.nxnx_fsops_lib_combined_t150.nxnx_fsops_lib_dynamic_edit_t145.nxnx_host_router.nxnx_mgmt_api.nxnx_mgmt_api.pre-toolchain-20260910.nxnx_mgmt_api_search_candidate_t330.nxnx_mgmt_api_toolchain_session_20260910.nxnx_mgmt_cap_candidate_t186.nxnx_mgmt_deploy_candidate_t185.nxnx_mgmt_private_response.nxnx_mgmt_private_response_candidate_t189.nxnx_mgmt_upload_gate.nxnx_orchestrate_raci.nxnx_orchestrate_raci_evaluate_t144.nxnx_swcompare_evidence_lib_t138.nxnx_swcompare_lib.nxnx_tls13_app_send_fd.nx
structs
| 15 | struct NxFileWriteResult |
| 97 | struct NxFileReadRegion |
| 179 | struct NxFilePrepareResult |
| 241 | struct NxFilePublishResult |
| 269 | struct NxFileTargetLock |
| 316 | struct NxFileReplaceResult |
consts
| 9 | const FIO_EINTR: i64 = 0 - 4 |
| 10 | const FIO_EIO: i64 = 0 - 5 |
| 11 | const FIO_EINVAL: i64 = 0 - 22 |
| 12 | const FIO_EEXIST: i64 = 0 - 17 |
| 13 | const FIO_EBADMSG: i64 = 0 - 74 // Linux ABI: artifact digest mismatch. |
functions
| 24 | func fio_write_sync_fd(fd: i64, body: *u8, n: i64, result: *NxFileWriteResult) -> i64 |
| 57 | func fio_sync_parent(path: *u8, result: *NxFileWriteResult) -> i64 |
| 86 | func fio_unlink(path: *u8) -> i64 { return __syscall(263, 0 - 100, path as i64, 0, 0, 0, 0) } |
| 89 | func fio_exists(path: *u8) -> i64 |
| 108 | func fio_region_init(r: *NxFileReadRegion) -> i64 |
| 114 | func fio_region_close(r: *NxFileReadRegion) -> i64 |
| 122 | func fio_region_fail(r: *NxFileReadRegion,stage: *u8,code: i64) -> i64 called by 5: fio_region_openfio_region_selectfio_region_nextefs_captureefs_capture calls 1: fio_region_close |
| 127 | func fio_region_open(path: *u8,r: *NxFileReadRegion) -> i64 called by 36: acm_check_releaseacm_check_releasemainmainmainmain+30 calls 4: fio_region_initfio_region_failsys_openat_rdsys_lseek |
| 143 | func fio_region_select(r: *NxFileReadRegion,start: i64,length: i64) -> i64 |
| 153 | func fio_region_next(r: *NxFileReadRegion,out: *u8,cap: i64) -> i64 called by 36: acm_check_releaseacm_check_releasemainmainmainmain+30 calls 3: fio_region_closesys_readfio_region_fail |
| 188 | func fio_prepare_copy(source: *u8,candidate: *u8,mode: i64,buffer: *u8,capacity: i64,out: *NxFilePrepareResult) -> i64 |
| 249 | func fio_publish_candidate(candidate: *u8,live: *u8,out: *NxFilePublishResult) -> i64 |
| 276 | func fio_target_lock_init(lock: *NxFileTargetLock) -> i64 |
| 280 | func fio_target_lock_release(lock: *NxFileTargetLock) -> i64 |
| 291 | func fio_target_lock_acquire(live: *u8,lock: *NxFileTargetLock) -> i64 |
| 326 | func fio_replace_owned(source: *u8,live: *u8,candidate: *u8,backup: *u8,mode: i64,buffer: *u8,capacity: i64,expected_candidate: *u8,expected_live: *u8,out: *NxFileReplaceResult) -> i64 |
| 352 | func fio_replace_init(out: *NxFileReplaceResult) -> i64 |
| 359 | func fio_replace_core(source: *u8,live: *u8,candidate: *u8,backup: *u8,mode: i64,buffer: *u8,capacity: i64,expected_candidate: *u8,expected_live: *u8,out: *NxFileReplaceResult) -> i64 |
| 368 | func fio_replace_with_backup(source: *u8,live: *u8,candidate: *u8,backup: *u8,mode: i64,buffer: *u8,capacity: i64,out: *NxFileReplaceResult) -> i64 |
| 372 | func fio_replace_verified(source: *u8,live: *u8,candidate: *u8,backup: *u8,mode: i64,buffer: *u8,capacity: i64,expected_candidate: *u8,expected_live: *u8,out: *NxFileReplaceResult) -> i64 |
| 385 | func fio_verify_sha256(path: *u8,expected: *u8,buffer: *u8,capacity: i64) -> i64 |