nx_atomic_rewrite.nx
buildroot/runtime/nx_atomic_rewrite.nx
about
dependencies 1 imports · 23 importers
diagram shows first 10 each side; +0 more imports, +13 more importers in the complete lists below.
imports: nx_syscalls.nx
imported by: _atomic_rewrite_gate.nxnx_aimode_read.nxnx_aimode_read_gate.nxnx_bundle_ingest.nxnx_bundle_ingest_cli_candidate_t144.nxnx_cast_scene_light_gate_t364.nxnx_fieldfit_lib.nxnx_fieldfit_verified_r3_t333.nxnx_fieldfit_verified_r4_t333.nxnx_gltf_clip_pack_t321.nxnx_gltf_export.nxnx_gltf_export_material_candidate_t340.nxnx_gltf_export_multipart_candidate_t345.nxnx_gltf_fullclip_bounds_gate_t321.nxnx_gltf_fullclip_pose_gate_t321.nxnx_gltf_skin_bounds_pack_t321.nxnx_gltf_skin_geometry_pack_t321.nxnx_ioconfirm_checked_test_20260907.nxnx_ioconfirm_integration_gate.nxnx_mesh2glb_neutral_candidate_t346.nxnx_profile_fit_output_t320.nxnx_profile_region_map_candidate_t366.nxnx_scene_light_recipe_canonical_gate_t364.nx
structs
| none |
consts
| 26 | const K_MAGIC_1024: i64 = 1024 |
| 146 | const AR_CHECK_OPEN: i64 = 0 - 1 |
| 147 | const AR_CHECK_WRITE: i64 = 0 - 2 |
| 148 | const AR_CHECK_RENAME: i64 = 0 - 3 |
| 149 | const AR_CHECK_SYNC: i64 = 0 - 4 |
| 150 | const AR_CHECK_CLOSE: i64 = 0 - 5 |
| 151 | const AR_CHECK_VERIFY: i64 = 0 - 6 |
| 152 | const AR_CHECK_UNCERTAIN: i64 = 0 - 7 |
| 153 | const AR_CHECK_EMPTY: i64 = 0 - 8 |
| 154 | const AR_TMP_SUFFIX_BYTES: i64 = 6 |
| 155 | const AR_NUL_BYTES: i64 = 1 |
| 156 | const AR_PTR_BYTES: i64 = 8 |
functions
| 29 | func ar_len(s: *u8) -> i64 |
| 41 | func ar_tmpname(path: *u8, out: *u8) -> i64 |
| 54 | func ar_syncdir(path: *u8) -> i64 |
| 83 | func atomic_rewrite(path: *u8, bytes: *u8, n: i64) -> i64 |
| 107 | func ar_crashwrite(path: *u8, bytes: *u8, n: i64) -> i64 |
| 130 | func ar_unsafe_inplace(path: *u8, bytes: *u8, n: i64) -> i64 |
| 157 | func ar_same_file(path: *u8, bytes: *u8, n: i64) -> i64 called by 4: mainatomic_rewrite_checkedbix_samebix_same calls 4: sys_mmapsys_read_filesys_munmapsys_free_file |
| 169 | func ar_syncdir_checked(path: *u8) -> i64 |
| 189 | func atomic_rewrite_checked(path: *u8, bytes: *u8, n: i64) -> i64 called by 22: mainmainmainmaingl_write_glb_scalarwrite_glb_material_parts+16 calls 10: ar_lensys_mmapar_tmpnamesys_openat_wrsys_writesys_close+4 |