• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.sbin/fstyp/

Lines Matching refs:volume

66  * Per-volume storage limit: 52 bits		4096 TB
84 #define HAMMER_OFF_VOL_MASK 0x0FF0000000000000ULL /* volume portion */
106 * Reserved space for (future) header junk after the volume header.
117 * and volume number in addition to the offset. Most offsets are required
146 * zone 1 (z,v,o): raw volume relative (offset 0 is the volume header)
148 * zone 3 (z,o): undo/redo fifo - fixed zone-2 offset array in volume header
154 * zone 15: unavailable, usually the offset is beyond volume size
157 * Maximum HAMMER filesystem capacity from volume aspect
158 * 2^8(max volumes) * 2^52(max volume size) = 2^60 = 1EB (long offset)
170 * volume#0 layout
172 * | volume header (1928 bytes)
200 * volume#N layout (0<N<256)
202 * | volume header (1928 bytes)
213 * | ... (unused until volume#(N-1) runs out of space)
380 * zone:1 raw volume (no blockmap)
382 * zone:3 undomap (direct layer2 array in volume header)
409 * The freemap uses the upper 8 bits of layer-1 to identify the volume,
508 * HAMMER UNDO parameters. The UNDO fifo is mapped directly in the volume
546 * undo sequence space without having to rely on information from the volume
552 * (1) The volume header no longer needs to be synchronized for most
694 * device contains a volume header followed by however many buffers fit
695 * into the volume.
697 * One of the volumes making up a HAMMER filesystem is the root volume.
698 * The root volume is always volume #0 which is the first block device path
699 * specified by newfs_hammer(8). All HAMMER volumes have a volume header,
700 * however the root volume may be the only volume that has valid values for
707 * vol_buf_beg - offset of the first buffer in volume
708 * vol_buf_end - offset of volume EOF (on buffer boundary)
718 * volume to generate an actual I/O offset within the block device.
730 * initialize or add a new HAMMER volume.
748 int64_t vol_buf_beg; /* offset of the first buffer in volume */
749 int64_t vol_buf_end; /* offset of volume EOF (on buffer boundary) */
756 int32_t vol_no; /* volume number within filesystem */
761 uint32_t vol_flags; /* volume flags */
762 uint32_t vol_rootvol; /* the root volume number (must be 0) */
768 * volume making up a HAMMER filesytem, but only the root volume
796 #define HAMMER_VOLF_NEEDFLUSH 0x0004 /* volume needs flush */
820 #define hammer_xlate_to_phys(volume, zone2_offset) \
821 ((volume)->vol_buf_beg + HAMMER_OFF_SHORT_ENCODE(zone2_offset))
829 #define hammer_xlate_to_undo(volume, zone3_offset) \
830 ((volume)->vol0_undo_array[HAMMER_UNDO_INDEX(zone3_offset)] + \
834 * Effective per-volume filesystem capacity including big-blocks for layer1/2
836 #define HAMMER_VOL_BUF_SIZE(volume) \
837 ((volume)->vol_buf_end - (volume)->vol_buf_beg)