omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / gpu / nvidia / driver / coverage.tsv
| 1 | # Every C function of CUDApp nvrm/ and m16/ at 84b524cadaaa8bc9b556adfaea9d6dd2e0d67a66 and where its logic lives. |
| 2 | # WHERE: an Omega unit path in this tree, device shell (ioctl, mmap, clock, barrier, byte copy), |
| 3 | # test program, or still C: decision logic, not yet ported. |
| 4 | # Generated; do not edit. Counts: cut -f4 coverage.tsv | grep -v "^#" | sort | uniq -c |
| 5 | FILE NAME LINE WHERE NOTE |
| 6 | nvrm/lifecycle_gates.c gate_result 37 test program |
| 7 | nvrm/lifecycle_gates.c now_ms 43 test program |
| 8 | nvrm/lifecycle_gates.c gate_free_churn 57 test program |
| 9 | nvrm/lifecycle_gates.c gate_free_unmaps 105 test program |
| 10 | nvrm/lifecycle_gates.c gate_idempotent_and_stale 138 test program |
| 11 | nvrm/lifecycle_gates.c gate_alloc_after_free_reuses_va 172 test program |
| 12 | nvrm/lifecycle_gates.c gate_injected_free_failure 196 test program |
| 13 | nvrm/lifecycle_gates.c gate_corrupt_table_refusal 219 test program |
| 14 | nvrm/lifecycle_gates.c gate_allocation_overflow 235 test program |
| 15 | nvrm/lifecycle_gates.c gate_wait_ge_serial 251 test program |
| 16 | nvrm/lifecycle_gates.c gate_gpu_submit_after_churn 283 test program |
| 17 | nvrm/lifecycle_gates.c gate_channel_no_memory_retried 330 test program |
| 18 | nvrm/lifecycle_gates.c gate_channel_no_memory_bounded 347 test program |
| 19 | nvrm/lifecycle_gates.c gate_extra_channel_contexts 370 test program |
| 20 | nvrm/lifecycle_gates.c main 397 test program |
| 21 | nvrm/live_marker_test.c map_page 15 test program |
| 22 | nvrm/live_marker_test.c main 28 test program |
| 23 | nvrm/macro_boundary_test.c main 11 test program |
| 24 | nvrm/native_test.c signed_result 7 test program |
| 25 | nvrm/native_test.c main 8 test program |
| 26 | nvrm/nvrm.c rm_wire 65 gpu/nvidia/native/nvrm/wire_pack.om the request bytes come from the Omega unit; the C copies them |
| 27 | nvrm/nvrm.c uvm_wire 78 gpu/nvidia/native/nvrm/uvm_wire.om with uvm_map_wire.om for the map request |
| 28 | nvrm/nvrm.c select_classes 157 gpu/nvidia/driver/card.om drv_marshal (gated), drv_select |
| 29 | nvrm/nvrm.c omega_gpu_live_marker 186 device shell hands out the context.om mapping token |
| 30 | nvrm/nvrm.c fail 202 device shell formats and stores the message text; the gate compares message codes |
| 31 | nvrm/nvrm.c meminfo_kb 215 gpu/nvidia/driver/diag.om gated |
| 32 | nvrm/nvrm.c fail_alloc_context 239 gpu/nvidia/driver/diag.om gated |
| 33 | nvrm/nvrm.c buddy_free_blocks_ge 249 gpu/nvidia/driver/diag.om gated |
| 34 | nvrm/nvrm.c fail_channel_no_memory 283 gpu/nvidia/driver/diag.om gated |
| 35 | nvrm/nvrm.c nv_ioctl 294 device shell ioctl |
| 36 | nvrm/nvrm.c rm_alloc 300 device shell ioctl around wire.om bytes |
| 37 | nvrm/nvrm.c rm_free 338 device shell ioctl around wire.om bytes |
| 38 | nvrm/nvrm.c uvm_free_checked 362 device shell injected-failure flag and the UVM_FREE ioctl |
| 39 | nvrm/nvrm.c dma_unmap_checked 378 device shell ioctl around wire.om bytes |
| 40 | nvrm/nvrm.c rm_control 398 device shell ioctl around wire.om bytes |
| 41 | nvrm/nvrm.c uvm 417 device shell ioctl around uvm_wire.om bytes |
| 42 | nvrm/nvrm.c open_dev_fd 435 device shell open and the fd registration ioctl |
| 43 | nvrm/nvrm.c map_to_cpu 452 device shell mmap |
| 44 | nvrm/nvrm.c acquire_va_slot 484 gpu/nvidia/native/nvrm/alloc_scalar.om slot successor; the atomic stays in the shell |
| 45 | nvrm/nvrm.c recycle_va_slot 516 gpu/nvidia/native/nvrm/alloc.om the atomic stays in the shell |
| 46 | nvrm/nvrm.c va_slot_cover 535 gpu/nvidia/native/nvrm/policy.om vcover; the compare-exchange stays in the shell |
| 47 | nvrm/nvrm.c card_index 550 gpu/nvidia/driver/card.om drv_card (gated) |
| 48 | nvrm/nvrm.c nvrm_open 567 gpu/nvidia/driver/client.om cn_open, cn_open_card, cn_open_vas (seq gated); the commands are dx_ effects (DEVICE.md) |
| 49 | nvrm/nvrm.c va_release 756 gpu/nvidia/native/nvrm/alloc.om C reference branch of the decision alloc.om makes |
| 50 | nvrm/nvrm.c va_take 796 gpu/nvidia/native/nvrm/alloc.om C reference branch of the decision alloc.om makes |
| 51 | nvrm/nvrm.c va_release 851 gpu/nvidia/native/nvrm/alloc.om shell around the Omega unit |
| 52 | nvrm/nvrm.c va_take 864 gpu/nvidia/native/nvrm/alloc.om shell around the Omega unit |
| 53 | nvrm/nvrm.c uvm_map 875 device shell ioctls around wire.om and uvm_map_wire.om bytes |
| 54 | nvrm/nvrm.c quarantine_allocation 929 gpu/nvidia/driver/client.om cn_quar (seq gated) |
| 55 | nvrm/nvrm.c nvrm_alloc 942 gpu/nvidia/driver/nvrm.om entry point; its checks are alloc_with_cacheability's |
| 56 | nvrm/nvrm.c nvrm_alloc_gpu_uncached 950 gpu/nvidia/driver/nvrm.om entry point; its checks are alloc_with_cacheability's |
| 57 | nvrm/nvrm.c nvrm_alloc_vram 954 gpu/nvidia/driver/nvrm.om drv_vramok (gated) |
| 58 | nvrm/nvrm.c nvrm_vram_info 960 gpu/nvidia/driver/nvrm.om drv_vinfo (gated); heap request bytes heap_wire.om; the ioctl is the shell |
| 59 | nvrm/nvrm.c alloc_with_cacheability 996 gpu/nvidia/driver/client.om cn_alloc (seq gated, with FIX-1); size, table and VA checks are nvrm.om drv_asize and drv_livefull |
| 60 | nvrm/nvrm.c copy_live 1087 gpu/nvidia/driver/nvrm.om drv_span, drv_lrow, drv_copy (gated) |
| 61 | nvrm/nvrm.c nvrm_copy_to 1097 gpu/nvidia/driver/nvrm.om drv_copy (gated); the byte copy is the shell |
| 62 | nvrm/nvrm.c nvrm_copy_from 1106 gpu/nvidia/driver/nvrm.om drv_copy (gated); the byte copy is the shell |
| 63 | nvrm/nvrm.c nvrm_free 1118 gpu/nvidia/driver/client.om cn_free, cn_find (seq gated) |
| 64 | nvrm/nvrm.c chan_extra 1191 gpu/nvidia/driver/client.om cn_chx (seq gated) |
| 65 | nvrm/nvrm.c chan_extra_destroy 1261 gpu/nvidia/driver/client.om cn_chxd (seq gated) |
| 66 | nvrm/nvrm.c channel_retry_decision 1298 gpu/nvidia/native/nvrm/policy.om retry |
| 67 | nvrm/nvrm.c nvrm_channel 1303 gpu/nvidia/driver/client.om cn_channel 0 (seq gated through m16_native_create_channel) |
| 68 | nvrm/nvrm.c nvrm_channel_n 1305 gpu/nvidia/driver/client.om cn_channel (seq gated); admission and retry are policy.om |
| 69 | nvrm/nvrm.c nvrm_channel_destroy 1421 gpu/nvidia/driver/client.om cn_chdestroy (seq gated) |
| 70 | nvrm/nvrm.c nvrm_gp_entry 1471 gpu/nvidia/native/nvrm/policy.om gpentry |
| 71 | nvrm/nvrm.c nvrm_userd_gpput 1475 device shell address of GPPut in the mapping |
| 72 | nvrm/nvrm.c validate_ampere_push 1481 gpu/nvidia/native/nvrm/alloc_push.om with the amp_runtime policy |
| 73 | nvrm/nvrm.c nvrm_publish 1516 gpu/nvidia/native/nvrm/context.om GP entry publish through the context |
| 74 | nvrm/nvrm.c nvrm_doorbell 1536 gpu/nvidia/native/nvrm/context.om doorbell through the context |
| 75 | nvrm/nvrm.c nvrm_enqueue 1549 gpu/nvidia/driver/client.om cn_enqueue (seq gated); span and full checks are policy.om |
| 76 | nvrm/nvrm.c nvrm_retire 1564 gpu/nvidia/driver/card.om drv_retire (gated) |
| 77 | nvrm/nvrm.c nvrm_ring 1568 gpu/nvidia/driver/client.om cn_ring (seq gated); the doorbell write is a dx_ effect |
| 78 | nvrm/nvrm.c nvrm_submit 1572 gpu/nvidia/driver/client.om cn_nsubmit (seq gated) |
| 79 | nvrm/nvrm.c nvrm_chan_submit 1579 gpu/nvidia/driver/client.om cn_submit (seq gated); span and full checks are policy.om |
| 80 | nvrm/nvrm.c nvrm_chan_retire 1597 gpu/nvidia/driver/nvrm.om drv_chan with card.om drv_retire (gated) |
| 81 | nvrm/nvrm.c nvrm_chan_put 1603 gpu/nvidia/driver/nvrm.om drv_chan (gated) |
| 82 | nvrm/nvrm.c nvrm_close 1609 gpu/nvidia/driver/client.om cn_close, cn_fdclose (seq gated) |
| 83 | nvrm/policy_test.c eq 11 test program |
| 84 | nvrm/policy_test.c eq4 18 test program |
| 85 | nvrm/policy_test.c main 28 test program |
| 86 | nvrm/submission_visibility_gates.c run_sequence 22 test program |
| 87 | nvrm/submission_visibility_gates.c main 83 test program |
| 88 | nvrm/submit_test.c map_fifo 15 test program |
| 89 | nvrm/submit_test.c fresh 25 test program |
| 90 | nvrm/submit_test.c main 31 test program |
| 91 | nvrm/uvm_wire_test.c check 10 test program |
| 92 | nvrm/uvm_wire_test.c main 18 test program |
| 93 | nvrm/wire_test.c check 12 test program |
| 94 | nvrm/wire_test.c main 38 test program |
| 95 | nvrm/cpu_barrier.h nvrm_cpu_barrier 18 device shell barrier and relax instructions |
| 96 | nvrm/cpu_barrier.h nvrm_cpu_relax 31 device shell barrier and relax instructions |
| 97 | nvrm/native_client.h nvrm_native_ok 12 device shell status and result of a context call |
| 98 | nvrm/native_client.h nvrm_mapping_context 17 gpu/nvidia/native/nvrm/context.om context creation |
| 99 | nvrm/native_client.h nvrm_live_token 27 gpu/nvidia/native/nvrm/context.om mapping lookup |
| 100 | nvrm/native_client.h nvrm_file_open 44 device shell open, close, ioctl and mmap |
| 101 | nvrm/native_client.h nvrm_file_close 53 device shell open, close, ioctl and mmap |
| 102 | nvrm/native_client.h nvrm_rm_ioctl 62 device shell open, close, ioctl and mmap |
| 103 | nvrm/native_client.h nvrm_uvm_ioctl 78 device shell open, close, ioctl and mmap |
| 104 | nvrm/native_client.h nvrm_cpu_reserve 102 device shell open, close, ioctl and mmap |
| 105 | nvrm/native_client.h nvrm_cpu_map 118 device shell open, close, ioctl and mmap |
| 106 | nvrm/native_client.h nvrm_cpu_drop 160 device shell open, close, ioctl and mmap |
| 107 | nvrm/native_client.h nvrm_mapping_transfer 187 gpu/nvidia/native/nvrm/context.om mapping ownership |
| 108 | nvrm/native_client.h nvrm_mapping_finish 198 gpu/nvidia/native/nvrm/context.om mapping teardown |
| 109 | nvrm/native_ioctl_fixture.h fixture_sigsys 18 test program |
| 110 | nvrm/native_ioctl_fixture.h fixture_prepare 44 test program |
| 111 | nvrm/native_ioctl_fixture.h fixture_child 59 test program |
| 112 | nvrm/native_ioctl_fixture.h fixture_run 108 test program |
| 113 | nvrm/native_ioctl_fixture.h fixture_cleanup_sigsys 124 test program |
| 114 | nvrm/native_ioctl_fixture.h fixture_cleanup_child 144 test program |
| 115 | nvrm/native_ioctl_fixture.h fixture_cleanup_run 176 test program |
| 116 | nvrm/nvrm.h nvrm_mthd 197 gpu/nvidia/native/nvrm/alloc_scalar.om method encoding (mode 1) |
| 117 | nvrm/nvrm_policy.h nvrm_om_call 37 device shell calls the Omega policy unit |
| 118 | nvrm/nvrm_policy.h nvrm_c_nrstat 45 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 119 | nvrm/nvrm_policy.h nvrm_c_hnext 51 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 120 | nvrm/nvrm_policy.h nvrm_c_vunits 58 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 121 | nvrm/nvrm_policy.h nvrm_c_vcover 65 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 122 | nvrm/nvrm_policy.h nvrm_c_palign 78 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 123 | nvrm/nvrm_policy.h nvrm_c_pspan 86 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 124 | nvrm/nvrm_policy.h nvrm_c_pfull 96 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 125 | nvrm/nvrm_policy.h nvrm_c_chadm 103 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 126 | nvrm/nvrm_policy.h nvrm_c_retry 111 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 127 | nvrm/nvrm_policy.h nvrm_c_mthd 118 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 128 | nvrm/nvrm_policy.h nvrm_c_gpentry 124 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 129 | nvrm/nvrm_policy.h nvrm_om_nrstat 130 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 130 | nvrm/nvrm_policy.h nvrm_om_hnext 136 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 131 | nvrm/nvrm_policy.h nvrm_om_vunits 142 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 132 | nvrm/nvrm_policy.h nvrm_om_vcover 148 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 133 | nvrm/nvrm_policy.h nvrm_om_palign 154 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 134 | nvrm/nvrm_policy.h nvrm_om_pspan 160 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 135 | nvrm/nvrm_policy.h nvrm_om_pfull 166 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 136 | nvrm/nvrm_policy.h nvrm_om_chadm 172 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 137 | nvrm/nvrm_policy.h nvrm_om_retry 179 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 138 | nvrm/nvrm_policy.h nvrm_om_mthd 185 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 139 | nvrm/nvrm_policy.h nvrm_om_gpentry 191 gpu/nvidia/native/nvrm/policy.om nvrm_c_* are the C reference of the same decisions |
| 140 | nvrm/nvrm_struct.h ns_pack 11 gpu/nvidia/native/nvrm/struct.om struct packing |
| 141 | nvrm/nvrm_struct.h ns_get 17 gpu/nvidia/native/nvrm/struct.om struct packing |
| 142 | m16/m16_concurrent.c fence 66 test program |
| 143 | m16/m16_concurrent.c build_release_flushed 73 test program |
| 144 | m16/m16_concurrent.c print_report 82 test program |
| 145 | m16/m16_concurrent.c print_simple 95 test program |
| 146 | m16/m16_concurrent.c wait_marker 101 test program |
| 147 | m16/m16_concurrent.c main 127 test program |
| 148 | m16/m16_gpu_wait.c real_now_ns 12 device shell clock |
| 149 | m16/m16_gpu_wait.c real_barrier 19 device shell barrier |
| 150 | m16/m16_gpu_wait.c real_relax 36 device shell relax |
| 151 | m16/m16_gpu_wait.c m16_gpu_wait_result_name 45 gpu/nvidia/driver/m16.om gated |
| 152 | m16/m16_gpu_wait.c m16_gpu_wait_kind_name 56 gpu/nvidia/driver/m16.om gated |
| 153 | m16/m16_gpu_wait.c wait_om 63 gpu/nvidia/om/engine/eng.om the wait machine |
| 154 | m16/m16_gpu_wait.c wait_core 197 gpu/nvidia/om/engine/eng.om C branch of the eng.om wait machine; this gate does not check it |
| 155 | m16/m16_gpu_wait.c m16_gpu_wait_fixed 285 gpu/nvidia/om/engine/eng.om entry point of the wait machine |
| 156 | m16/m16_gpu_wait.c m16_gpu_wait_sequence 290 gpu/nvidia/om/engine/eng.om entry point of the wait machine |
| 157 | m16/m16_gpu_wait.c m16_gpu_wait_failure_class 295 gpu/nvidia/om/engine/eng.om fcls (gated against the C branch) |
| 158 | m16/m16_native.c m16_native_open 21 gpu/nvidia/driver/client.om cn_m16open (seq gated) |
| 159 | m16/m16_native.c m16_native_alloc_memory 29 gpu/nvidia/driver/m16.om drv_slot (gated) |
| 160 | m16/m16_native.c m16_native_free_memory 42 gpu/nvidia/driver/client.om cn_m16free (seq gated) |
| 161 | m16/m16_native.c m16_native_create_channel 51 gpu/nvidia/driver/client.om cn_m16chan (seq gated) |
| 162 | m16/m16_native.c m16_native_build_release 60 gpu/nvidia/om/engine/eng.om the release packet |
| 163 | m16/m16_native.c m16_native_enqueue_methods 88 gpu/nvidia/driver/m16.om drv_enqok (gated); the copy is the shell |
| 164 | m16/m16_native.c m16_native_ring_doorbell 96 gpu/nvidia/driver/client.om cn_ring (seq gated) |
| 165 | m16/m16_native.c m16_native_submit_methods 100 device shell enqueue then ring |
| 166 | m16/m16_native.c now_ns 106 device shell clock |
| 167 | m16/m16_native.c m16_native_wait_marker 112 gpu/nvidia/driver/m16.om drv_wait_ge (gated) |
| 168 | m16/m16_native.c m16_native_wait_marker_ge 116 gpu/nvidia/driver/m16.om drv_wait_ge (gated); its null-pointer refusal is still C (Omega takes a mapping, not a pointer) |
| 169 | m16/m16_native.c m16_native_close 129 gpu/nvidia/driver/client.om cn_m16close (seq gated) |
| 170 | m16/m16_requalify.c check_proc_maps 32 gpu/nvidia/driver/m16.om drv_maps (gated) |
| 171 | m16/m16_requalify.c main 48 test program |