MCPcopy Create free account
hub / github.com/apache/trafficserver / dir_segment

Method dir_segment

src/traffic_cache_tool/CacheDefs.h:560–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558 return (CacheDirEntry *)(((char *)this->dir) + (s * this->_buckets) * DIR_DEPTH * SIZEOF_DIR);
559 }
560 inline CacheDirEntry *
561 dir_segment(int s)
562 {
563 return vol_dir_segment(s);
564 }
565
566 Bytes stripe_offset(CacheDirEntry *e); // offset w.r.t the stripe content
567 size_t vol_dirlen();

Callers 10

dir_probeMethod · 0.95
dir_delete_entryMethod · 0.95
walk_bucket_chainMethod · 0.95
dir_free_entryMethod · 0.95
dir_init_segmentMethod · 0.95
init_dirMethod · 0.95
dir_freelist_lengthMethod · 0.95
check_loopMethod · 0.95
dir_checkMethod · 0.95
ScanMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected