2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.
5 * SPDX-License-Identifier: GPL-2.0+
8 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9 * Use is subject to license terms.
12 #ifndef _SYS_DMU_OBJSET_H
13 #define _SYS_DMU_OBJSET_H
17 #define OBJSET_PHYS_SIZE 2048
18 #define OBJSET_PHYS_SIZE_V14 1024
20 typedef struct objset_phys {
21 dnode_phys_t os_meta_dnode;
22 zil_header_t os_zil_header;
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;
31 #endif /* _SYS_DMU_OBJSET_H */