1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * GRUB -- GRand Unified Bootloader
4 * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.
7 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
8 * Use is subject to license terms.
11 #ifndef _SYS_DMU_OBJSET_H
12 #define _SYS_DMU_OBJSET_H
16 #define OBJSET_PHYS_SIZE 2048
17 #define OBJSET_PHYS_SIZE_V14 1024
19 typedef struct objset_phys {
20 dnode_phys_t os_meta_dnode;
21 zil_header_t os_zil_header;
24 char os_pad[OBJSET_PHYS_SIZE - sizeof(dnode_phys_t)*3 -
25 sizeof(zil_header_t) - sizeof(uint64_t)*2];
26 dnode_phys_t os_userused_dnode;
27 dnode_phys_t os_groupused_dnode;
30 #endif /* _SYS_DMU_OBJSET_H */