nx_seg_store.nx
buildroot/runtime/nx_seg_store.nx
about
dependencies 1 imports · 469 importers
diagram shows first 10 each side; +0 more imports, +459 more importers in the complete lists below.
imports: nx_syscalls.nx
imported by: _gallery_serve_ref.nx_galx_bulk_ingest.nx_galx_ingest_gate.nx_galx_prod_ingest.nx_galx_serve_setup.nx_ixprof.nx_queue_load_gate_authored.nx_ss_compact_cap_gate.nx_wiki_archive_gate.nx_wiki_search_gate.nxnx_accept_lib.nxnx_account_admin_exceed_gate.nxnx_acct_admin_handoff.nxnx_activities.nxnx_activities_gate.nxnx_ad_feedback_gate.nxnx_ad_intake.nxnx_ad_ivt_gate.nxnx_ad_store.nxnx_ad_store_seed.nxnx_ads.nxnx_adversarial_sov.nxnx_aid.nxnx_aid_federation.nxnx_aid_federation_gate.nxnx_aid_gate.nxnx_algo_registry.nxnx_algo_registry_migrate.nxnx_algo_retire.nxnx_analyst_store.nxnx_app_store.nxnx_arch_board.nxnx_archcensus.nxnx_ask_lib.nxnx_asset_catalog.nxnx_asset_catalog_gate.nxnx_asset_record.nxnx_asset_record_gate.nxnx_asset_signals.nxnx_asset_signals_gate.nxnx_asset_status_gate.nxnx_atlas_discover.nxnx_atlas_discover_gate.nxnx_atlas_gapscan.nxnx_atlas_gapscan_gate.nxnx_audio_census.nxnx_autofix_cascade_gate.nxnx_autofix_ensemble.nxnx_backlog_feeder.nxnx_battery_grade.nxnx_bench_ingest.nxnx_bills_store.nxnx_blocklist_store.nxnx_browser_census.nxnx_browser_profile_store.nxnx_build_reg_sov.nxnx_cap_gap_sov.nxnx_cap_harvest.nxnx_cap_provision_gate.nxnx_capability_no_regression.nxnx_carflip_deal.nxnx_census_load.nxnx_chart_migrate.nxnx_chat_demo_api.nxnx_chat_demo_unicode_t59.nxnx_chat_store.nxnx_chat_unicode_store_t60.nxnx_ciaaw_gate.nxnx_ciaaw_ingest.nxnx_ciq_analyst.nxnx_ciq_field_clinical.nxnx_ciq_field_connect.nxnx_ciq_field_games.nxnx_ciq_field_imagegen.nxnx_ciq_field_maintenance.nxnx_ciq_field_omniforge.nxnx_ciq_publish.nxnx_ciq_quadrant.nxnx_ciq_sclass_gate.nxnx_ciq_visual.nxnx_clawf_route.nxnx_clean_market.nxnx_clean_market_gate.nxnx_climbout_progress.nxnx_coach_curriculum_lib.nxnx_coach_exceed.nxnx_coach_rubric.nxnx_coach_serve.nxnx_codata_gate.nxnx_codata_ingest.nxnx_collision_watchdog_gate.nxnx_commitbench.nxnx_common_tasks.nxnx_companion_gate.nxnx_comparewatch_census.nxnx_conductor_recall_gate.nxnx_conductor_registry.nxnx_consol_apply.nxnx_consol_apply_gate.nxnx_consol_apply_mc.nx +369 more (shown cap 100 declared)
structs
| none |
consts
| 29 | const SS_MAGIC_16777619: i64 = 16777619 |
| 30 | const SS_MAGIC_65536: i64 = 65536 |
| 31 | const SS_MAGIC_1048576: i64 = 1048576 |
| 32 | const SS_MAGIC_4096: i64 = 4096 |
| 37 | const SS_MADV_WILLNEED: i64 = 3 |
| 38 | const SS_MAGIC_1024: i64 = 1024 |
| 39 | const SS_MAGIC_1039: i64 = 1039 |
| 40 | const SS_MAGIC_1040: i64 = 1040 |
| 41 | const SS_MAGIC_1071: i64 = 1071 |
| 42 | const SS_MAGIC_1072: i64 = 1072 |
| 43 | const SS_MAGIC_1279: i64 = 1279 |
| 44 | const SS_MAGIC_12352: i64 = 12352 |
| 45 | const SS_MAGIC_12543: i64 = 12543 |
| 46 | const SS_MAGIC_3040: i64 = 3040 |
| 47 | const SS_MAGIC_13312: i64 = 13312 |
| 48 | const SS_MAGIC_19903: i64 = 19903 |
| 49 | const SS_MAGIC_3400: i64 = 3400 |
| 50 | const SS_MAGIC_19968: i64 = 19968 |
| 51 | const SS_MAGIC_40959: i64 = 40959 |
| 52 | const SS_MAGIC_44032: i64 = 44032 |
| 53 | const SS_MAGIC_55215: i64 = 55215 |
| 54 | const SS_MAGIC_63744: i64 = 63744 |
| 55 | const SS_MAGIC_64255: i64 = 64255 |
| 56 | const SS_MAGIC_1469598103934665603: i64 = 1469598103934665603 |
| 57 | const SS_MAGIC_1099511628211: i64 = 1099511628211 |
| 105 | const SS_READALL_PAD: i64 = 64 |
| 149 | const SS_ERR_DURABILITY: i64 = -10 |
| 211 | const SS_SR_SLOTS: i64 = 40 // max mappings one builder records (build_terms makes 25; head-room named) |
| 212 | const SS_SR_STRIDE: i64 = 2 // (ptr, len) per slot |
| 318 | const SS_KEYS_REFUSE_KEY: i64 = 0 - 2 // a record's key length runs past the writer buffer |
| 319 | const SS_KEYS_REFUSE_VALUE: i64 = 0 - 3 // a record's value length runs past the writer buffer |
| 534 | const SS_LOWER_A: i64 = 97 |
| 535 | const SS_LOWER_Z: i64 = 122 |
| 536 | const SS_UPPER_A: i64 = 65 |
| 537 | const SS_UPPER_Z: i64 = 90 |
| 538 | const SS_DIG_0: i64 = 48 |
| 539 | const SS_DIG_9: i64 = 57 |
| 540 | const SS_UNDERSCORE: i64 = 95 |
| 541 | const SS_SP: i64 = 32 |
| 542 | const SS_IDENT_MIN: i64 = 2 // a collapsed anchor shorter than this is noise (an underscore beside one letter) |
| 591 | const SS_DEF_PREFIX: *u8 = "def" |
| 1100 | const SS_IMP_K: i64 = 512 |
| 1374 | const SS_SEGID_PTRBAND_LO: i64 = 10000000000000 |
| 1375 | const SS_SEGID_PTRBAND_HI: i64 = 140737488355328 |
| 1408 | const SS_LOCK_EX: i64 = 2 |
| 1409 | const SS_LOCK_UN: i64 = 8 |
| 1410 | const SS_LOCK_NB: i64 = 4 // flock LOCK_NB -- ORed with LOCK_EX to poll instead of block |
| 1411 | const SS_LOCK_SLEEP_MS: i64 = 50 // backoff between attempts |
| 1412 | const SS_LOCK_TRIES: i64 = 2400 // 2400 x 50ms = 120s ceiling. RAISED FROM 30s BY MEASUREMENT: nx_segrace_gate stresses 7 processes doing fsync-per-commit on one plane, and at 30s FOUR writers were refused while merely QUEUED (not wedged) on a disk at IO load ~15. A bound must exceed legitimate worst-case contention or it manufactures the failure it exists to report; 120s still bounds the hang, and the >10min stall this was built for is still caught. |
| 1413 | const SS_LOCKMODE: i64 = 420 |
| 1414 | const SS_LOCKPATHCAP: i64 = 512 |
| 1587 | const SS_CAS_ANY: i64 = 0 - 2 |
| 1588 | const SS_ERR_STALE: i64 = 0 - 9 |
| 1724 | const SS_MANIFEST_LEGACY_CAP: i64 = 256 |
| 1725 | const SS_VER_SLOTS: i64 = 260 // per-key version buffer allocation (kinds/ptrs/lens/srcs slots) |
| 1726 | const SS_VER_WINDOW: i64 = 256 // versions of ONE key a scan retains; on overflow the OLDEST slides out |
| 1781 | const SS_MF_MAGIC: i64 = 0x53534D46 |
| 2054 | const SS_IDX_U32: i64 = 4 |
| 2055 | const SS_IDX_HEADER: i64 = SS_IDX_U32 * 2 |
| 2056 | const SS_IDX_ENTRY_FIXED: i64 = 1 + SS_IDX_U32 * 3 |
| 2133 | const SS3_SLOT_NAMES: i64 = 7 |
| 2134 | const SS3_SLOT_TSEG: i64 = 8 |
| 2135 | const SS3_SLOT_TEO: i64 = 9 |
| 2136 | const SS3_SLOT_CAP: i64 = 10 |
| 2137 | const SS3_SLOT_INS: i64 = 11 |
| 2138 | const SS3_SLOT_MODE: i64 = 12 |
| 2149 | const SS3_SLOT_AUX: i64 = 13 |
| 2150 | const SS_AUXW: i64 = 8 |
| 2151 | const SS_TSAMPLE: i64 = 64 |
| 2152 | const SS_TPREFIX: i64 = 7 |
| 2153 | const SS3_MODE_FULL: i64 = 0 |
| 2154 | const SS3_MODE_INCR: i64 = 1 |
| 2155 | const SS3_STATBUF: i64 = 160 |
| 2156 | const SS3_ST_SIZE_OFF: i64 = 48 |
| 2157 | const SS3_ANN_CAP: i64 = 256 |
| 2158 | const SS3_PATHCAP: i64 = 512 |
| 2159 | const SS3_KEYMAX: i64 = 500 |
| 2164 | const SS3_LOAD_NUM: i64 = 3 |
| 2165 | const SS3_LOAD_DEN: i64 = 4 |
| 2210 | const SS_AUX_DOCN: i64 = 4 |
| 2456 | const SSL_EMPTY: i64 = 0 |
| 2459 | const SSL_TOMB: i64 = 0 - 1 |
| 3421 | const SSC_SLOTS: i64 = 16 |
| 3422 | const SSC_W: i64 = 4 |
| 3424 | const SSC_RETIRE: i64 = 32 |
| 3433 | const SSC_ST_HIT: i64 = 0 |
| 3434 | const SSC_ST_REOPEN: i64 = 1 |
| 3435 | const SSC_ST_NEWSLOT: i64 = 2 |
| 3436 | const SSC_ST_FALLBACK: i64 = 3 // slots exhausted -> per-call open (now retired, formerly leaked) |
| 3437 | const SSC_ST_DROP: i64 = 4 // retire ring full -> pointer dropped (the documented bounded leak) |
| 3438 | const SSC_ST_SLOTS: i64 = 8 |
| 4583 | const SS_CUR_SLOTS: i64 = 8 |
functions
| 59 | func ss_len(s: *u8) -> i64 |
| 65 | func ss_cat(dst: *u8, off: i64, s: *u8) -> i64 |
| 72 | func ss_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 85 | func ss_w32(p: *u8, off: i64, v: i64) -> i64 |
| 93 | func ss_r32(p: *u8, off: i64) -> i64 |
| 106 | func ss_readall(path: *u8, szout: *i64) -> *u8 called by 107: xp_parseag_migratemainmainmaincm_migrate+101 calls 5: sys_openat_rdsys_lseeksys_mmapsys_readsys_close |
| 125 | func ss_freeall(buf: *u8, len: i64) -> i64 |
| 139 | func ss_loadfile(path: *u8, szout: *i64, usemmap: i64) -> *u8 called by 7: dss_tf_postingsdss_search_off_divol_ingestsib_oness_load_aux2ss3_load_range+1 calls 2: sys_map_filess_readall |
| 151 | func ss_writefile(path: *u8, bytes: *u8, n: i64) -> i64 |
| 170 | func ss_syncdir(prefix: *u8) -> i64 |
| 213 | func ss_sr_new() -> *i64 { let l: *i64 = sys_mmap(8 * (1 + SS_SR_SLOTS * SS_SR_STRIDE)) as *i64; l[0] = 0; return l } |
| 214 | func ss_sr_map(l: *i64, n: i64) -> *u8 |
| 225 | func ss_sr_release(l: *i64) -> i64 |
| 233 | func ss_begin_cap(cap: i64) -> *i64 |
| 241 | func ss_begin() -> *i64 |
| 245 | func ss_add(w: *i64, kind: i64, key: *u8, val: *u8, vlen: i64) -> i64 |
| 250 | func ss_add2(w: *i64, kind: i64, key: *u8, kl: i64, val: *u8, vlen: i64) -> i64 |
| 267 | func ss_segname(prefix: *u8, segid: i64, tmp: i64, out: *u8) -> i64 |
| 285 | func ss_khash(k: *u8, kl: i64) -> i64 |
| 295 | func ss_kcmp(a: *u8, al: i64, b: *u8, bl: i64) -> i64 |
| 316 | func ss_keyblob_cap(w: *i64) -> i64 { return w[1] * 3 + SS_MAGIC_65536 } |
| 320 | func ss_build_keys(w: *i64, kout: *u8) -> i64 |
| 464 | func ss_crashwrite(prefix: *u8, w: *i64, segid: i64) -> i64 |
| 482 | func ss_vw(p: *u8, off: i64, v: i64) -> i64 |
| 496 | func ss_vr(p: *u8, pos: *i64) -> i64 |
| 513 | func ss_tok_table(tbl: *u8) -> i64 |
| 543 | func ss_is_ident_byte(c: i64) -> i64 |
| 550 | func ss_ident_anchors(src: *u8, n: i64, out: *u8, cap: i64) -> i64 |
| 574 | func ss_ident_collapse(term: *u8, out: *u8, cap: i64) -> i64 called by 1: es_query |
| 592 | func ss_def_token(name: *u8, nlen: i64, out: *u8, cap: i64) -> i64 |
| 609 | func ss_fold_cp(cp: i64) -> i64 |
| 626 | func ss_u8cp(b: *u8, sz: i64, i: i64) -> i64 |
| 651 | func ss_fold_word_cp(cp: i64) -> i64 |
| 662 | func ss_is_cjk(cp: i64) -> i64 |
| 676 | func ss_tok_next2(b: *u8, sz: i64, pos: *i64, tout: *u8, tbl: *u8) -> i64 |
| 763 | func ss_tok_next(b: *u8, sz: i64, pos: *i64, tout: *u8) -> i64 |
| 770 | func ss_tok_has(b: *u8, sz: i64, term: *u8) -> i64 |
| 794 | func ss_fnv(s: *u8) -> i64 |
| 819 | func ss_build_terms(w: *i64, tblob: *u8, pblob: *u8, qblob: *u8, louts: *i64) -> i64 called by 2: mainss_write_seg calls 10: ss_sr_newss_sr_mapss_tok_tabless_r32ss_sr_releasess_tok_next2+4 |
| 1105 | func ss_imp_thresh(tfs: *i64, n: i64, k: i64, outs: *i64) -> i64 |
| 1134 | func ss_build_imp(tb: *u8, tsz: i64, pb: *u8, psz: i64, qb: *u8, qsz: i64, wblob: *u8) -> i64 |
| 1207 | func ss_auxname(prefix: *u8, segid: i64, ext: *u8, tmp: i64, out: *u8) -> i64 |
| 1227 | func ss_write_seg(prefix: *u8, w: *i64, segid: i64) -> i64 |
| 1312 | func ss_load_aux(prefix: *u8, segname: *u8, outs: *i64) -> i64 |
| 1315 | func ss_load_aux2(prefix: *u8, segname: *u8, outs: *i64, usemmap: i64) -> i64 |
| 1378 | func ss_segid_ok(v: i64) -> i64 |
| 1418 | func ss_plane_lock(prefix: *u8) -> i64 |
| 1482 | func ss_name_eq(a: *u8, b: *u8) -> i64 |
| 1489 | func ss_plane_unlock(fd: i64) -> i64 called by 6: mainss_commit_casss_commitss_commit_deferredss_compactss_compact_cap calls 2: sys_flocksys_close |
| 1503 | func ss_max_segid(prefix: *u8) -> i64 called by 19: ca_append_bodycs_store_forwardiiv_recordmainmainpr_register+13 calls 4: sys_mmapss_catss_readallss_segid_ok |
| 1533 | func ss_commit_body(prefix: *u8, w: *i64, segid: i64) -> i64 called by 2: ss_commit_casss_commit calls 10: ss_segid_oksys_mmapss_catss_catnsys_writess_write_seg+4 |
| 1589 | func ss_commit_cas(prefix: *u8, w: *i64, segid: i64, expect_max: i64) -> i64 |
| 1610 | func ss_commit(prefix: *u8, w: *i64, segid: i64) -> i64 called by 270: mainmainbuild_storemainmainmain+264 calls 5: ss_segid_okss_commit_bodyss_plane_lockss_max_segidss_plane_unlock |
| 1651 | func ss_commit_deferred_body(prefix: *u8, w: *i64, segid: i64) -> i64 |
| 1694 | func ss_sync_now(prefix: *u8) -> i64 |
| 1708 | func ss_commit_deferred(prefix: *u8, w: *i64, segid: i64) -> i64 |
| 1733 | func ss_manifest_file(prefix: *u8, fname: *u8, segs: *i64) -> i64 |
| 1762 | func ss_manifest(prefix: *u8, segs: *i64) -> i64 called by 22: gs_grid_bodyg_segcountads_seg_nextmainei_next_segidfd_seg_next+16 calls 1: ss_manifest_file |
| 1782 | func ss_manifest_file_dyn(prefix: *u8, fname: *u8, out_segs: *i64) -> i64 |
| 1832 | func ss_manifest_free(segs: *i64, n: i64) -> i64 |
| 1843 | func ss_manifest_dyn(prefix: *u8, out_segs: *i64) -> i64 |
| 1853 | func ss_next_segid(prefix: *u8) -> i64 called by 79: nx_app_store_putab_store_putak_commitas_seg_nextbl_put_pfxca_append_body+73 calls 1: ss_max_segid |
| 1865 | func ss_next_segid_oracle(prefix: *u8) -> i64 |
| 1903 | func ss_manifest_file_cap(prefix: *u8, fname: *u8, segs: *i64, cap: i64) -> i64 |
| 1931 | func ss_manifest_cap(prefix: *u8, segs: *i64, cap: i64) -> i64 |
| 1939 | func ss_scan_cap(prefix: *u8, key: *u8, kinds: *i64, ptrs: *i64, lens: *i64, cap: i64) -> i64 |
| 1949 | func ss_get_cap(prefix: *u8, key: *u8, ptrout: *i64, lenout: *i64, cap: i64) -> i64 called by 9: count_livecheck_valbr2_get_rawbr2_registerednx_mbox_fetchnx_mbox_exists+3 calls 2: sys_mmapss_scan_cap |
| 1968 | func ss_scan_seglist(prefix: *u8, segs: *i64, ns: i64, key: *u8, kinds: *i64, ptrs: *i64, lens: *i64, srcs: *i64, srcval: i64, cnt0: i64, cap: i64) -> i64 |
| 2023 | func ss_scan(prefix: *u8, key: *u8, kinds: *i64, ptrs: *i64, lens: *i64) -> i64 |
| 2037 | func ss_scan_all(prefix: *u8, key: *u8, kinds: *i64, ptrs: *i64, lens: *i64, srcs: *i64) -> i64 |
| 2057 | func ss_idx_find(b: *u8, sz: i64, key: *u8, voffout: *i64, vlenout: *i64) -> i64 |
| 2096 | func ss_idx_lookup(prefix: *u8, segname: *u8, key: *u8, voffout: *i64, vlenout: *i64) -> i64 |
| 2169 | func ss_aux(h: *i64) -> *i64 |
| 2175 | func ss_aux_row(h: *i64, s: i64) -> *i64 called by 8: mainss_aux_free_rowss_doccount_buildss_tsample_buildss_tsample_windowss_key_of_doc+2 calls 1: ss_aux |
| 2183 | func ss_aux_free_row(h: *i64, s: i64) -> i64 |
| 2194 | func ss_tpack(p: *u8, n: i64) -> i64 |
| 2211 | func ss_is_doc_key(kb: *u8, eo: i64) -> i64 |
| 2226 | func ss_doccount_build(h: *i64, s: i64) -> i64 |
| 2244 | func ss_tsample_build(h: *i64, s: i64) -> i64 |
| 2277 | func ss_tsample_window(h: *i64, s: i64, pk: i64, n: i64, lohi: *i64) -> i64 |
| 2302 | func ss_terms_ordinal_h(h: *i64, s: i64, term: *u8, outs: *i64) -> i64 |
| 2332 | func ss_terms_find_h(h: *i64, s: i64, term: *u8, outs: *i64) -> i64 |
| 2340 | func ss_key_of_doc(h: *i64, s: i64, d: i64, kpout: *i64, klout: *i64) -> i64 |
| 2358 | func ss_close_seg(h: *i64, ns: i64, s: i64) -> i64 |
| 2392 | func ss_close(h: *i64) -> i64 called by 22: dss_open_maybe_cacheddss_spell_suggestmainmainhe_ent_counthe_ent_get+16 calls 3: ss_close_segsys_munmapss_manifest_free |
| 2433 | func ss_open(prefix: *u8) -> *i64 |
| 2461 | func ssl_pow2(n: i64) -> i64 |
| 2467 | func ssl_total_keys(h: *i64, ns: i64) -> i64 |
| 2479 | func ssl_key_eq(h: *i64, seg: i64, eo: i64, kb2: *u8, eo2: i64) -> i64 |
| 2492 | func ssl_hash_entry(kb: *u8, eo: i64) -> i64 |
| 2506 | func ssl_hash_i32(v: i64) -> i64 |
| 2519 | func ssl_build(h: *i64, ns: i64, tbl_seg: *i64, tbl_eo: *i64, cap: i64) -> i64 |
| 2556 | func ssl_lookup(h: *i64, tbl_seg: *i64, tbl_eo: *i64, cap: i64, kb: *u8, eo: i64) -> i64 |
| 2580 | func ss_open_trace(v: i64) -> i64 { ss_trace = v; return 0 } called by 1: main |
| 2581 | func ss_tr(lbl: *u8, us: i64) -> i64 |
| 2607 | func ss_open_seg_absent(segname: *u8) -> i64 |
| 2641 | func ss3_streq(a: *u8, b: *u8) -> i64 called by 1: ss3_admit |
| 2648 | func ss_open_mode(h: *i64) -> i64 called by 1: main |
| 2654 | func ss_open_segname(h: *i64, s: i64) -> *u8 |
| 2663 | func ss_open_table(h: *i64, outs: *i64) -> i64 |
| 2680 | func ss3_ann(kind: *u8, k1: *u8, v1: i64, k2: *u8, v2: i64, k3: *u8, v3: i64, reason: *u8, us: i64) -> i64 |
| 2702 | func ss3_docs_size(prefix: *u8, segname: *u8) -> i64 |
| 2722 | func ss3_admit(prefix: *u8, segs: *i64, ns: i64, prev: *i64, reuse: *i64, t0: i64) -> i64 |
| 2759 | func ss3_move(h: *i64, ns: i64, prev: *i64, reuse: *i64, remap: *i64) -> i64 |
| 2804 | func ss3_remap_table(tseg: *i64, cap: i64, remap: *i64, pn: i64) -> i64 called by 1: ss_open3 |
| 2819 | func ssl_total_keys_range(h: *i64, a: i64, b: i64) -> i64 calls 1: ss_r32 |
| 2830 | func ssl_total_keys_mask(h: *i64, ns: i64, newmask: *i64) -> i64 |
| 2846 | func ss3_clear_mark(h: *i64, ns: i64, oseg: i64, oeo: i64, dhk: *i64, dhv: *i64, dhc: *i64) -> i64 |
| 2904 | func ss3_insert_new(h: *i64, ns: i64, newmask: *i64, tseg: *i64, teo: *i64, cap: i64, outs: *i64) -> i64 |
| 2964 | func ss3_tomb_count(tseg: *i64, cap: i64) -> i64 called by 1: ss_open3 |
| 2972 | func ss3_load_range(prefix: *u8, segs: *i64, h: *i64, a: i64, b: i64, usemmap: i64, dp: *u8, dszp: *i64, aouts: *i64) -> i64 |
| 2998 | func ss_open2(prefix: *u8, usemmap: i64) -> *i64 |
| 3003 | func ss_open_incr(prefix: *u8, usemmap: i64, prev: *i64) -> *i64 |
| 3006 | func ss_open3(prefix: *u8, usemmap: i64, prev: *i64, retain: i64) -> *i64 |
| 3443 | func ssc_init() -> i64 |
| 3453 | func ss_cache_stat(idx: i64) -> i64 |
| 3477 | func ssc_retire_handle(h: i64) -> i64 called by 1: ss_open_cached |
| 3493 | func ss_cache_reap() -> i64 |
| 3509 | func ss_cache_retired() -> i64 |
| 3513 | func ssc_streq(a: *u8, b: *u8) -> i64 called by 1: ss_open_cached |
| 3524 | func ssc_sig_of(prefix: *u8, sig: *i64) -> i64 |
| 3544 | func ss_open_cached(prefix: *u8) -> *i64 |
| 3626 | func ssl_hash_raw(key: *u8, kl: i64) -> i64 called by 1: ss_hlocate |
| 3646 | func ss_hlocate(h: *i64, key: *u8, kl: i64, outs: *i64) -> i64 |
| 3678 | func ss_hget(h: *i64, key: *u8, ptrout: *i64, lenout: *i64) -> i64 called by 173: qlg_latest_hasrev_existsah_hasag_migrateag_gateag_count+167 calls 5: sys_mmapss_lenss_hlocatess_r32ss_idx_find |
| 3718 | func ss_terms_find(tb: *u8, tsz: i64, term: *u8, outs: *i64) -> i64 |
| 3752 | func ss_term(h: *i64, term: *u8, kpout: *i64, klout: *i64, max: i64) -> i64 called by 10: dss_search_off_divmainterm_countmainmainmain+4 calls 4: ss_terms_find_hss_vrss_key_of_docss_r32 |
| 3807 | func ss_term_and(h: *i64, terms: *i64, nterms: i64, kpout: *i64, klout: *i64, max: i64) -> i64 |
| 3902 | func ss_term_dcount(h: *i64, term: *u8) -> i64 called by 6: dym_considerdym_suggestmainmaindss_correct_rawdss_search_off_div calls 1: ss_terms_find_h |
| 3923 | func ss_term_count(h: *i64, s: i64) -> i64 |
| 3930 | func ss_term_at(h: *i64, s: i64, idx: i64, tp_out: *i64, tl_out: *i64, dc_out: *i64) -> i64 |
| 3954 | func ss_term_lb(h: *i64, s: i64, pfx: *u8, pfxlen: i64) -> i64 |
| 4000 | func ss_doc_count_walk(h: *i64) -> i64 |
| 4031 | func ss_doc_count(h: *i64) -> i64 called by 8: dym_suggestmainmainmaindss_spell_suggestdss_search_off_div+2 calls 2: ss_aux_rowss_doc_count_walk |
| 4047 | func ss_terms_ordinal(tb: *u8, tsz: i64, term: *u8, outs: *i64) -> i64 |
| 4075 | func ss_q_positions(qb: *u8, qsz: i64, ord: i64, rank: i64, posout: *i64, maxpos: i64) -> i64 |
| 4139 | func ss_term_top_mask(prefix: *u8, h: *i64, mask: *u8, term: *u8, kpout: *i64, klout: *i64, tfout: *i64, max: i64, satout: *i64) -> i64 called by 1: ss_term_top calls 9: sys_mmapss_manifest_dynss_catss_terms_ordinal_hss_loadfiless_r32+3 |
| 4344 | func ss_term_top(prefix: *u8, h: *i64, term: *u8, kpout: *i64, klout: *i64, tfout: *i64, max: i64, satout: *i64) -> i64 |
| 4353 | func ss_phrase(prefix: *u8, h: *i64, terms: *i64, nterms: i64, kpout: *i64, klout: *i64, max: i64, exactout: *i64) -> i64 called by 3: dss_search_off_divg_phrase2main calls 8: sys_mmapss_manifest_dynss_terms_ordinal_hss_vrss_catss_readall+2 |
| 4510 | func ss_get_idx(prefix: *u8, key: *u8, ptrout: *i64, lenout: *i64) -> i64 |
| 4515 | func ss_get_idx_required(prefix: *u8, key: *u8, ptrout: *i64, lenout: *i64) -> i64 |
| 4518 | func ss_get_idx_mode(prefix: *u8, key: *u8, ptrout: *i64, lenout: *i64, allow_scan: i64) -> i64 called by 2: ss_get_idxss_get_idx_required calls 6: sys_mmapss_manifest_dynss_idx_lookupss_getss_catss_readall |
| 4556 | func ss_get(prefix: *u8, key: *u8, ptrout: *i64, lenout: *i64) -> i64 |
| 4585 | func ss_cur_open(prefix: *u8) -> *i64 |
| 4599 | func ss_cur_next(prefix: *u8, st: *i64, |
| 4689 | func ss_verify_merged(prefix: *u8, segid: i64, tkp: *i64, tkl: *i64, tkind: *i64, tvp: *i64, tvl: *i64, nk: i64, hidx: *i64, hcap: i64) -> i64 called by 3: ss_compactss_compact_capssv_fired calls 7: sys_mmapss_catss_catnss_readallss_r32ss_khash+1 |
| 4737 | func ss_compact(prefix: *u8, segid: i64) -> i64 { // THE COMPACTOR IS THE MOST DESTRUCTIVE WRITER ON THE PLANE, so it takes the same lock. called by 8: cs_purgemainmainmainmaing_compactor+2 calls 22: ss_plane_locksys_mmapss_manifest_dynss_plane_unlockss_catss_readall+16 |
| 4942 | func ss_compact_cap(prefix: *u8, segid: i64, cap: i64) -> i64 called by 5: mainmainmainmainmain calls 21: ss_plane_locksys_mmapss_manifest_capss_plane_unlockss_catss_readall+15 |