uboot/include/zfs/dmu_objset.h
<<
>>
Prefs
   1/*
   2 *  GRUB  --  GRand Unified Bootloader
   3 *  Copyright (C) 1999,2000,2001,2002,2003,2004  Free Software Foundation, Inc.
   4 *
   5 * SPDX-License-Identifier:     GPL-2.0+
   6 */
   7/*
   8 * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   9 * Use is subject to license terms.
  10 */
  11
  12#ifndef _SYS_DMU_OBJSET_H
  13#define _SYS_DMU_OBJSET_H
  14
  15#include <zfs/zil.h>
  16
  17#define OBJSET_PHYS_SIZE        2048
  18#define OBJSET_PHYS_SIZE_V14    1024
  19
  20typedef struct objset_phys {
  21        dnode_phys_t os_meta_dnode;
  22        zil_header_t os_zil_header;
  23        uint64_t os_type;
  24        uint64_t os_flags;
  25        char os_pad[OBJSET_PHYS_SIZE - sizeof(dnode_phys_t)*3 -
  26            sizeof(zil_header_t) - sizeof(uint64_t)*2];
  27        dnode_phys_t os_userused_dnode;
  28        dnode_phys_t os_groupused_dnode;
  29} objset_phys_t;
  30
  31#endif /* _SYS_DMU_OBJSET_H */
  32