Lines Matching full:segment
5 #include "segment.h"
38 /* Offset and size definitions for cache segment control */
80 struct pcache_segment segment; member
365 return (pos->cache_seg->segment.data + pos->seg_off); in cache_pos_addr()
408 * cache_seg_is_ctrl_seg - Checks if a cache segment is a cache ctrl segment.
409 * @cache_seg_id: ID of the cache segment.
411 * Returns true if the cache segment ID corresponds to a cache ctrl segment.
413 * Note: We extend the segment control of the first cache segment
414 * (cache segment ID 0) to serve as the cache control (pcache_cache_ctrl)
416 * cache segment is the one storing the pcache_cache_ctrl information.
512 * cache_seg_remain - Computes remaining space in a cache segment.
515 * Returns the amount of remaining space in the segment data starting from
521 struct pcache_segment *segment; in cache_seg_remain() local
525 segment = &cache_seg->segment; in cache_seg_remain()
526 seg_remain = segment->data_size - pos->seg_off; in cache_seg_remain()
536 * less than the generation of its segment; otherwise returns false.
538 * When the GC (garbage collection) thread identifies a segment
539 * as reclaimable, it increments the segment's generation (gen). However,