FreeBSD ZFS
The Zettabyte File System
Data Structures | Data Fields

zap_phys Struct Reference

This structure is followed by padding, and then the embedded pointer table. More...

#include <zap_impl.h>

Collaboration diagram for zap_phys:
Collaboration graph
[legend]

Data Structures

struct  zap_table_phys

Data Fields

uint64_t zap_block_type
 ZBT_HEADER.
uint64_t zap_magic
 ZAP_MAGIC.
struct zap_phys::zap_table_phys zap_ptrtbl
uint64_t zap_freeblk
 the next free block
uint64_t zap_num_leafs
 number of leafs
uint64_t zap_num_entries
 number of entries
uint64_t zap_salt
 salt to stir into hash function
uint64_t zap_normflags
 flags for u8_textprep_str()
uint64_t zap_flags
 zap_flags_t

Detailed Description

This structure is followed by padding, and then the embedded pointer table.

The embedded pointer table takes up second half of the block. It is accessed using the ZAP_EMBEDDED_PTRTBL_ENT() macro.

Note:
If zap_phys_t is modified, zap_byteswap() must be modified.

Definition at line 118 of file zap_impl.h.


Field Documentation

ZBT_HEADER.

Definition at line 119 of file zap_impl.h.

zap_flags_t

Definition at line 135 of file zap_impl.h.

the next free block

Definition at line 130 of file zap_impl.h.

ZAP_MAGIC.

Definition at line 120 of file zap_impl.h.

flags for u8_textprep_str()

Definition at line 134 of file zap_impl.h.

number of entries

Definition at line 132 of file zap_impl.h.

number of leafs

Definition at line 131 of file zap_impl.h.

salt to stir into hash function

Definition at line 133 of file zap_impl.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines