Home
last modified time | relevance | path

Searched refs:vols (Results 1 – 8 of 8) sorted by relevance

/trafficserver/iocore/cache/
H A DCacheTest.cc437 Vol vols[MAX_VOLS]; in REGRESSION_TEST() local
452 vol_ptrs[i] = vols + i; in REGRESSION_TEST()
453 vols[i].disk = &disk; in REGRESSION_TEST()
454 vols[i].len = DEFAULT_STRIPE_SIZE; in REGRESSION_TEST()
455 …snprintf(buff, sizeof(buff), "/dev/sd%c %" PRIu64 ":%" PRIu64, 'a' + i, DEFAULT_SKIP, vols[i].len)… in REGRESSION_TEST()
456 CryptoContext().hash_immediate(vols[i].hash_id, buff, strlen(buff)); in REGRESSION_TEST()
460 hr1.vols = vol_ptrs; in REGRESSION_TEST()
465 hr2.vols = vol_ptrs; in REGRESSION_TEST()
468 sample = vols + sample_idx; in REGRESSION_TEST()
498 hr1.vols = nullptr; in REGRESSION_TEST()
[all …]
H A DP_CacheHosting.h44 ats_free(vols); in ~CacheHostRecord()
50 Vol **vols = nullptr; member
H A DCacheHosting.cc440 vols = static_cast<Vol **>(ats_malloc(num_vols * sizeof(Vol *))); in Init()
445 vols[counter++] = cachep1->vols[j]; in Init()
566 vols = static_cast<Vol **>(ats_malloc(num_vols * sizeof(Vol *))); in Init()
571 vols[counter++] = cachep->vols[j]; in Init()
1074 ats_free(cp->vols); in ClearCacheVolList()
H A DCache.cc1805 if (DISK_BAD(cp->vols[i]->disk)) { in build_vol_hash_table()
1810 p[map++] = cp->vols[i]; in build_vol_hash_table()
2074 cp->vols[vol_no] = new Vol(); in open()
2076 cp->vols[vol_no]->disk = d; in open()
2077 cp->vols[vol_no]->fd = d->fd; in open()
2078 cp->vols[vol_no]->cache = this; in open()
2079 cp->vols[vol_no]->cache_vol = cp; in open()
2661 for (int p = 0; p < vols; p++) { in cplist_reconfigure()
2956 return res.record->vols[host_hash_table[h]]; in key_to_vol()
2966 return host_rec->vols[hash_table[h]]; in key_to_vol()
[all …]
H A DCacheVol.cc72 vol = rec->vols[0]; in scanVol()
75 if (vol == rec->vols[i]) { in scanVol()
76 vol = rec->vols[i + 1]; in scanVol()
H A DP_CacheVol.h286 Vol **vols = nullptr; member
/trafficserver/doc/developer-guide/cache-architecture/
H A Ddata-structures.en.rst61 .. member:: Vol ** vols
69 :member:`CacheHostRecord::vols`.
412 .. member:: Vol** vols
414 …:class:`Vol` represents a single stripe in the disk. vols contains all the stripes this volume is …
H A Dcache-initialization.en.rst77 stripes to be assigned are in :member:`CacheHostRecord::vols`.
82 …:member:`CacheHostRecord::vols` is the union of all the stripes in the :class:`CacheVol` instances…

Completed in 55 milliseconds